프로퍼티 | 타입 | 설명 | |
---|---|---|---|
parentScope | |||
symbolTable | Symbol>.IDictionary | ||
top |
메소드 | 설명 | |
---|---|---|
AddChildScope ( Rhino child ) : void |
Add a scope to our list of child scopes. Add a scope to our list of child scopes. Sets the child's parent scope to this scope. |
|
ClearParentScope ( ) : void |
Used only for code generation. Used only for code generation. |
|
GetChildScopes ( ) : IList |
Return a list of the scopes whose parent is this scope. Return a list of the scopes whose parent is this scope. |
|
GetDefiningScope ( string name ) : |
Returns the scope in which this name is defined
|
|
GetParentScope ( ) : |
||
GetStatements ( ) : IList |
Returns a copy of the child list, with each child cast to an
|
|
GetSymbol ( string name ) : |
Looks up a symbol in this scope. Looks up a symbol in this scope. |
|
GetSymbolTable ( ) : Symbol>.IDictionary |
Returns the symbol table for this scope. Returns the symbol table for this scope. |
|
GetTop ( ) : |
Returns current script or function scope
|
|
JoinScopes ( Rhino source, Rhino dest ) : void |
Copies all symbols from source scope to dest scope. Copies all symbols from source scope to dest scope. |
|
PutSymbol ( |
Enters a symbol into this scope. Enters a symbol into this scope. |
|
ReplaceWith ( Rhino newScope ) : void |
Used by the parser; not intended for typical use. Used by the parser; not intended for typical use. Changes the parent-scope links for this scope's child scopes to the specified new scope. Copies symbols from this scope into new scope. |
|
Scope ( ) : System | ||
Scope ( int pos ) : System | ||
Scope ( int pos, int len ) : System | ||
SetParentScope ( Rhino parentScope ) : void |
Sets parent scope
|
|
SetSymbolTable ( Symbol>.IDictionary |
Sets the symbol table for this scope. Sets the symbol table for this scope. May be |
|
SetTop ( |
Sets top current script or function scope
|
|
SplitScope ( Rhino scope ) : |
Creates a new scope node, moving symbol table information from "scope" to the new node, and making "scope" a nested scope contained by the new node. Creates a new scope node, moving symbol table information from "scope" to the new node, and making "scope" a nested scope contained by the new node. Useful for injecting a new scope in a scope chain. |
|
ToSource ( int depth ) : string | ||
Visit ( NodeVisitor v ) : void |
메소드 | 설명 | |
---|---|---|
EnsureSymbolTable ( ) : Symbol>.IDictionary |
public GetDefiningScope ( string name ) : |
||
name | string | the symbol to look up |
리턴 |
public static JoinScopes ( Rhino source, Rhino dest ) : void | ||
source | Rhino | |
dest | Rhino | |
리턴 | void |
public ReplaceWith ( Rhino newScope ) : void | ||
newScope | Rhino | /// the scope that will replace this one on the /// scope stack. /// |
리턴 | void |
public SetParentScope ( Rhino parentScope ) : void | ||
parentScope | Rhino | |
리턴 | void |
public SetSymbolTable ( Symbol>.IDictionary |
||
table | Symbol>.IDictionary | |
리턴 | void |