C# Class Rhino.Optimizer.OptFunctionNode

显示文件 Open project: hazzik/Rhino.Net Class Usage Examples

Public Properties

Property Type Description
fnode Rhino.Ast.FunctionNode

Public Methods

Method Description
Get ( ScriptNode scriptOrFn ) : Rhino.Optimizer.OptFunctionNode
Get ( ScriptNode scriptOrFn, int i ) : Rhino.Optimizer.OptFunctionNode
GetDirectTargetIndex ( ) : int
GetParameterNumberContext ( ) : bool
GetVarCount ( ) : int
GetVarIndex ( Node n ) : int
IsNumberVar ( int varIndex ) : bool
IsParameter ( int varIndex ) : bool
IsTargetOfDirectCall ( ) : bool

Private Methods

Method Description
OptFunctionNode ( FunctionNode fnode ) : Rhino
SetDirectTargetIndex ( int directTargetIndex ) : void
SetIsNumberVar ( int varIndex ) : void
SetParameterNumberContext ( bool b ) : void

Method Details

Get() public static method

public static Get ( ScriptNode scriptOrFn ) : Rhino.Optimizer.OptFunctionNode
scriptOrFn Rhino.Ast.ScriptNode
return Rhino.Optimizer.OptFunctionNode

Get() public static method

public static Get ( ScriptNode scriptOrFn, int i ) : Rhino.Optimizer.OptFunctionNode
scriptOrFn Rhino.Ast.ScriptNode
i int
return Rhino.Optimizer.OptFunctionNode

GetDirectTargetIndex() public method

public GetDirectTargetIndex ( ) : int
return int

GetParameterNumberContext() public method

public GetParameterNumberContext ( ) : bool
return bool

GetVarCount() public method

public GetVarCount ( ) : int
return int

GetVarIndex() public method

public GetVarIndex ( Node n ) : int
n Node
return int

IsNumberVar() public method

public IsNumberVar ( int varIndex ) : bool
varIndex int
return bool

IsParameter() public method

public IsParameter ( int varIndex ) : bool
varIndex int
return bool

IsTargetOfDirectCall() public method

public IsTargetOfDirectCall ( ) : bool
return bool

Property Details

fnode public_oe property

public FunctionNode,Rhino.Ast fnode
return Rhino.Ast.FunctionNode