C# 클래스 Rhino.Ast.PropertyGet

AST node for the '.' operator.
AST node for the '.' operator. Node type is Rhino.Token.GETPROP .
상속: InfixExpression
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
GetProperty ( ) : Name

Returns the property being accessed.

Returns the property being accessed.

GetTarget ( ) : AstNode

Returns the object on which the property is being fetched.

Returns the object on which the property is being fetched. Should never be null .

PropertyGet ( ) : System.Text
PropertyGet ( AstNode target, Name property ) : System.Text

Constructor.

Constructor. Updates bounds to include left ( target ) and right ( property ) nodes.

PropertyGet ( AstNode target, Name property, int dotPosition ) : System.Text
PropertyGet ( int pos ) : System.Text
PropertyGet ( int pos, int len ) : System.Text
PropertyGet ( int pos, int len, AstNode target, Name property ) : System.Text
SetProperty ( Name property ) : void

Sets the property being accessed, and sets its parent to this node.

Sets the property being accessed, and sets its parent to this node.

SetTarget ( AstNode target ) : void

Sets target object, and sets its parent to this node.

Sets target object, and sets its parent to this node.

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

Visits this node, the target expression, and the property name.

Visits this node, the target expression, and the property name.

메소드 상세

GetProperty() 공개 메소드

Returns the property being accessed.
Returns the property being accessed.
public GetProperty ( ) : Name
리턴 Name

GetTarget() 공개 메소드

Returns the object on which the property is being fetched.
Returns the object on which the property is being fetched. Should never be null .
public GetTarget ( ) : AstNode
리턴 AstNode

PropertyGet() 공개 메소드

public PropertyGet ( ) : System.Text
리턴 System.Text

PropertyGet() 공개 메소드

Constructor.
Constructor. Updates bounds to include left ( target ) and right ( property ) nodes.
public PropertyGet ( AstNode target, Name property ) : System.Text
target AstNode
property Name
리턴 System.Text

PropertyGet() 공개 메소드

public PropertyGet ( AstNode target, Name property, int dotPosition ) : System.Text
target AstNode
property Name
dotPosition int
리턴 System.Text

PropertyGet() 공개 메소드

public PropertyGet ( int pos ) : System.Text
pos int
리턴 System.Text

PropertyGet() 공개 메소드

public PropertyGet ( int pos, int len ) : System.Text
pos int
len int
리턴 System.Text

PropertyGet() 공개 메소드

public PropertyGet ( int pos, int len, AstNode target, Name property ) : System.Text
pos int
len int
target AstNode
property Name
리턴 System.Text

SetProperty() 공개 메소드

Sets the property being accessed, and sets its parent to this node.
Sets the property being accessed, and sets its parent to this node.
/// } if /// property /// is /// null ///
public SetProperty ( Name property ) : void
property Name
리턴 void

SetTarget() 공개 메소드

Sets target object, and sets its parent to this node.
Sets target object, and sets its parent to this node.
/// } if /// target /// is /// null ///
public SetTarget ( AstNode target ) : void
target AstNode /// expression evaluating to the object upon which /// to do the property lookup ///
리턴 void

ToSource() 공개 메소드

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

Visit() 공개 메소드

Visits this node, the target expression, and the property name.
Visits this node, the target expression, and the property name.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
리턴 void