C# Class 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.

Inheritance: XmlRef
Afficher le fichier Open project: hazzik/Rhino.Net

Méthodes publiques

Méthode Description
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

Method Details

GetPropName() public méthode

Returns property name.
Returns property name.
public GetPropName ( ) : Name
Résultat Name

SetPropName() public méthode

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
Résultat void

ToSource() public méthode

public ToSource ( int depth ) : string
depth int
Résultat string

Visit() public méthode

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
Résultat void

XmlPropRef() public méthode

public XmlPropRef ( ) : System.Text
Résultat System.Text

XmlPropRef() public méthode

public XmlPropRef ( int pos ) : System.Text
pos int
Résultat System.Text

XmlPropRef() public méthode

public XmlPropRef ( int pos, int len ) : System.Text
pos int
len int
Résultat System.Text