C# Класс Rhino.Ast.PropertyGet

AST node for the '.' operator.
AST node for the '.' operator. Node type is Rhino.Token.GETPROP .
Наследование: InfixExpression
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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