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
파일 보기 프로젝트 열기: hazzik/Rhino.Net

공개 메소드들

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