C# 클래스 Rhino.Ast.FunctionCall

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

상속: AstNode
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
NO_ARGS IList
arguments IList
lp int
rp int
target AstNode

공개 메소드들

메소드 설명
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.

메소드 상세

AddArgument() 공개 메소드

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
리턴 void

FunctionCall() 공개 메소드

public FunctionCall ( ) : System.Collections.Generic
리턴 System.Collections.Generic

FunctionCall() 공개 메소드

public FunctionCall ( int pos ) : System.Collections.Generic
pos int
리턴 System.Collections.Generic

FunctionCall() 공개 메소드

public FunctionCall ( int pos, int len ) : System.Collections.Generic
pos int
len int
리턴 System.Collections.Generic

GetArguments() 공개 메소드

Returns function argument list
public GetArguments ( ) : IList
리턴 IList

GetLp() 공개 메소드

Returns left paren position, -1 if missing
public GetLp ( ) : int
리턴 int

GetRp() 공개 메소드

Returns right paren position, -1 if missing
public GetRp ( ) : int
리턴 int

GetTarget() 공개 메소드

Returns node evaluating to the function to call
public GetTarget ( ) : AstNode
리턴 AstNode

SetArguments() 공개 메소드

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. ///
리턴 void

SetLp() 공개 메소드

Sets left paren position
public SetLp ( int lp ) : void
lp int left paren position
리턴 void

SetParens() 공개 메소드

Sets both paren positions
public SetParens ( int lp, int rp ) : void
lp int
rp int
리턴 void

SetRp() 공개 메소드

Sets right paren position
public SetRp ( int rp ) : void
rp int
리턴 void

SetTarget() 공개 메소드

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.
리턴 void

ToSource() 공개 메소드

public ToSource ( int depth ) : string
depth int
리턴 string

Visit() 공개 메소드

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
리턴 void

프로퍼티 상세

NO_ARGS 보호되어 있는 정적으로 프로퍼티

protected static IList NO_ARGS
리턴 IList

arguments 보호되어 있는 프로퍼티

protected IList arguments
리턴 IList

lp 보호되어 있는 프로퍼티

protected int lp
리턴 int

rp 보호되어 있는 프로퍼티

protected int rp
리턴 int

target 보호되어 있는 프로퍼티

protected AstNode target
리턴 AstNode