C# Class Rhino.Ast.FunctionCall

AST node for a function call.
AST node for a function call. Node type is Rhino.Token.CALL .

Inheritance: AstNode
Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Protected Properties

Свойство Type Description
NO_ARGS IList
arguments IList
lp int
rp int
target AstNode

Méthodes publiques

Méthode Description
AddArgument ( AstNode arg ) : void

Adds an argument to the list, and sets its parent to this node.

Adds an argument to the list, and sets its parent to this node.

FunctionCall ( ) : System.Collections.Generic
FunctionCall ( int pos ) : System.Collections.Generic
FunctionCall ( int pos, int len ) : System.Collections.Generic
GetArguments ( ) : IList

Returns function argument list

GetLp ( ) : int

Returns left paren position, -1 if missing

GetRp ( ) : int

Returns right paren position, -1 if missing

GetTarget ( ) : AstNode

Returns node evaluating to the function to call

SetArguments ( IList arguments ) : void

Sets function argument list

SetLp ( int lp ) : void

Sets left paren position

SetParens ( int lp, int rp ) : void

Sets both paren positions

SetRp ( int rp ) : void

Sets right paren position

SetTarget ( AstNode target ) : void

Sets node evaluating to the function to call, and sets its parent to this node.

Sets node evaluating to the function to call, and sets its parent to this node.

ToSource ( int depth ) : string
Visit ( NodeVisitor v ) : void

Visits this node, the target object, and the arguments.

Visits this node, the target object, and the arguments.

Method Details

AddArgument() public méthode

Adds an argument to the list, and sets its parent to this node.
Adds an argument to the list, and sets its parent to this node.
/// } if arg is /// null ///
public AddArgument ( AstNode arg ) : void
arg AstNode the argument node to add to the list
Résultat void

FunctionCall() public méthode

public FunctionCall ( ) : System.Collections.Generic
Résultat System.Collections.Generic

FunctionCall() public méthode

public FunctionCall ( int pos ) : System.Collections.Generic
pos int
Résultat System.Collections.Generic

FunctionCall() public méthode

public FunctionCall ( int pos, int len ) : System.Collections.Generic
pos int
len int
Résultat System.Collections.Generic

GetArguments() public méthode

Returns function argument list
public GetArguments ( ) : IList
Résultat IList

GetLp() public méthode

Returns left paren position, -1 if missing
public GetLp ( ) : int
Résultat int

GetRp() public méthode

Returns right paren position, -1 if missing
public GetRp ( ) : int
Résultat int

GetTarget() public méthode

Returns node evaluating to the function to call
public GetTarget ( ) : AstNode
Résultat AstNode

SetArguments() public méthode

Sets function argument list
public SetArguments ( IList arguments ) : void
arguments IList /// function argument list. Can be /// null /// , /// in which case any existing args are removed. ///
Résultat void

SetLp() public méthode

Sets left paren position
public SetLp ( int lp ) : void
lp int left paren position
Résultat void

SetParens() public méthode

Sets both paren positions
public SetParens ( int lp, int rp ) : void
lp int
rp int
Résultat void

SetRp() public méthode

Sets right paren position
public SetRp ( int rp ) : void
rp int
Résultat void

SetTarget() public méthode

Sets node evaluating to the function to call, and sets its parent to this node.
Sets node evaluating to the function to call, and sets its parent to this node.
/// } if target is /// null ///
public SetTarget ( AstNode target ) : void
target AstNode node evaluating to the function to call.
Résultat void

ToSource() public méthode

public ToSource ( int depth ) : string
depth int
Résultat string

Visit() public méthode

Visits this node, the target object, and the arguments.
Visits this node, the target object, and the arguments.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Résultat void

Property Details

NO_ARGS protected_oe static_oe property

protected static IList NO_ARGS
Résultat IList

arguments protected_oe property

protected IList arguments
Résultat IList

lp protected_oe property

protected int lp
Résultat int

rp protected_oe property

protected int rp
Résultat int

target protected_oe property

protected AstNode target
Résultat AstNode