C# Class Rhino.Ast.XmlDotQuery

AST node representing an E4X foo.(bar) query expression. The node type (operator) is Rhino.Token.DOTQUERY . Its getLeft node is the target ("foo" in the example), and the getRight node is the filter expression node.

This class exists separately from InfixExpression largely because it has different printing needs. The position of the left paren is just after the dot (operator) position, and the right paren is the final position in the bounds of the node. If the right paren is missing, the node ends at the end of the filter expression.

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

Méthodes publiques

Méthode Description
GetRp ( ) : int

Returns right-paren position, -1 if missing.

Note that the left-paren is automatically the character immediately after the "." in the operator - no whitespace is permitted between the dot and lp by the scanner.

Returns right-paren position, -1 if missing.

Note that the left-paren is automatically the character immediately after the "." in the operator - no whitespace is permitted between the dot and lp by the scanner.

SetRp ( int rp ) : void

Sets right-paren position

ToSource ( int depth ) : string
XmlDotQuery ( ) : System.Text
XmlDotQuery ( int pos ) : System.Text
XmlDotQuery ( int pos, int len ) : System.Text

Method Details

GetRp() public méthode

Returns right-paren position, -1 if missing.

Note that the left-paren is automatically the character immediately after the "." in the operator - no whitespace is permitted between the dot and lp by the scanner.

Returns right-paren position, -1 if missing.

Note that the left-paren is automatically the character immediately after the "." in the operator - no whitespace is permitted between the dot and lp by the scanner.

public GetRp ( ) : int
Résultat int

SetRp() public méthode

Sets right-paren position
public SetRp ( int rp ) : void
rp int
Résultat void

ToSource() public méthode

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

XmlDotQuery() public méthode

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

XmlDotQuery() public méthode

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

XmlDotQuery() public méthode

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