C# Class JSIL.Ast.JSVariable

Inheritance: JSIdentifier, IAnnotatedChildren
Show file Open project: sq/JSIL Class Usage Examples

Public Properties

Property Type Description
Function Mono.Cecil.MethodReference
Name string

Protected Properties

Property Type Description
_IsReference bool

Public Methods

Method Description
Dereference ( ) : JSVariable
Equals ( object obj ) : bool
GetActualType ( Mono.Cecil.TypeSystem typeSystem ) : TypeReference
GetHashCode ( ) : int
GetParameter ( ) : JSParameter
JSVariable ( string name, TypeReference type, MethodReference function, JSExpression defaultValue = null ) : System
New ( Mono.Cecil.ParameterReference parameter, MethodReference function ) : JSVariable
New ( string name, TypeReference type, MethodReference function ) : JSVariable
Reference ( ) : JSVariable
ReplaceChild ( JSNode oldChild, JSNode newChild ) : void
ToString ( ) : string

Method Details

Dereference() public method

public Dereference ( ) : JSVariable
return JSVariable

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetActualType() public method

public GetActualType ( Mono.Cecil.TypeSystem typeSystem ) : TypeReference
typeSystem Mono.Cecil.TypeSystem
return Mono.Cecil.TypeReference

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetParameter() public method

public GetParameter ( ) : JSParameter
return JSParameter

JSVariable() public method

public JSVariable ( string name, TypeReference type, MethodReference function, JSExpression defaultValue = null ) : System
name string
type Mono.Cecil.TypeReference
function Mono.Cecil.MethodReference
defaultValue JSExpression
return System

New() public static method

public static New ( Mono.Cecil.ParameterReference parameter, MethodReference function ) : JSVariable
parameter Mono.Cecil.ParameterReference
function Mono.Cecil.MethodReference
return JSVariable

New() public static method

public static New ( string name, TypeReference type, MethodReference function ) : JSVariable
name string
type Mono.Cecil.TypeReference
function Mono.Cecil.MethodReference
return JSVariable

Reference() public method

public Reference ( ) : JSVariable
return JSVariable

ReplaceChild() public method

public ReplaceChild ( JSNode oldChild, JSNode newChild ) : void
oldChild JSNode
newChild JSNode
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

Function public property

public MethodReference,Mono.Cecil Function
return Mono.Cecil.MethodReference

Name public property

public string Name
return string

_IsReference protected property

protected bool _IsReference
return bool