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

AST node for an E4X XML [expr] property-ref expression. The node type is Rhino.Token.REF_NAME .

Syntax:

 @opt ns:: opt name
Examples include name , ns::name , ns::* , *::name , *::* , @attr , @ns::attr , @ns::* , @*::attr , @*::* and @* .

The node starts at the @ token, if present. Otherwise it starts at the namespace name. The node bounds extend through the closing right-bracket, or if it is missing due to a syntax error, through the end of the index expression.

Наследование: XmlRef
Показать файл Открыть проект

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

Метод Описание
GetPropName ( ) : Name

Returns property name.

Returns property name.

SetPropName ( Name propName ) : void

Sets property name, and sets its parent to this node.

Sets property name, and sets its parent to this node.

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

Visits this node, then the namespace if present, then the property name.

Visits this node, then the namespace if present, then the property name.

XmlPropRef ( ) : System.Text
XmlPropRef ( int pos ) : System.Text
XmlPropRef ( int pos, int len ) : System.Text

Описание методов

GetPropName() публичный Метод

Returns property name.
Returns property name.
public GetPropName ( ) : Name
Результат Name

SetPropName() публичный Метод

Sets property name, and sets its parent to this node.
Sets property name, and sets its parent to this node.
/// if /// propName /// is /// null ///
public SetPropName ( Name propName ) : void
propName Name
Результат void

ToSource() публичный Метод

public ToSource ( int depth ) : string
depth int
Результат string

Visit() публичный Метод

Visits this node, then the namespace if present, then the property name.
Visits this node, then the namespace if present, then the property name.
public Visit ( NodeVisitor v ) : void
v NodeVisitor
Результат void

XmlPropRef() публичный Метод

public XmlPropRef ( ) : System.Text
Результат System.Text

XmlPropRef() публичный Метод

public XmlPropRef ( int pos ) : System.Text
pos int
Результат System.Text

XmlPropRef() публичный Метод

public XmlPropRef ( int pos, int len ) : System.Text
pos int
len int
Результат System.Text