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

공개 메소드들

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