Method | Description | |
---|---|---|
ElementGet ( ) : System.Text | ||
ElementGet ( AstNode target, AstNode element ) : System.Text | ||
ElementGet ( int pos ) : System.Text | ||
ElementGet ( int pos, int len ) : System.Text | ||
GetElement ( ) : AstNode |
Returns the element being accessed
|
|
GetLb ( ) : int |
Returns left bracket position
|
|
GetRb ( ) : int |
Returns right bracket position, -1 if missing
|
|
GetTarget ( ) : AstNode |
Returns the object on which the element is being fetched. Returns the object on which the element is being fetched. |
|
SetElement ( AstNode element ) : void |
Sets the element being accessed, and sets its parent to this node. Sets the element being accessed, and sets its parent to this node. |
|
SetLb ( int lb ) : void |
Sets left bracket position
|
|
SetParens ( int lb, int rb ) : void | ||
SetRb ( int rb ) : void |
Sets right bracket position, -1 if not present
|
|
SetTarget ( AstNode target ) : void |
Sets target object, and sets its parent to this node. Sets target object, and sets its parent to this node. |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
Visits this node, the target, and the index expression. Visits this node, the target, and the index expression. |
public ElementGet ( AstNode target, AstNode element ) : System.Text | ||
target | AstNode | |
element | AstNode | |
return | System.Text |
public ElementGet ( int pos, int len ) : System.Text | ||
pos | int | |
len | int | |
return | System.Text |
public SetTarget ( AstNode target ) : void | ||
target | AstNode | /// expression evaluating to the object upon which /// to do the element lookup /// |
return | void |