C# Класс 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.

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

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

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

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

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

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
Результат int

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

Sets right-paren position
public SetRp ( int rp ) : void
rp int
Результат void

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

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

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

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

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

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

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

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