| Modifier and Type | Field and Description |
|---|---|
Grammar |
parent
Parent
Grammar object, if any. |
| Constructor and Description |
|---|
Grammar(ParserRuntime rt) |
| Modifier and Type | Method and Description |
|---|---|
Scope |
get(java.lang.String name)
Gets the Scope object or return null.
|
Scope |
getOrCreate(ParserRuntime rt,
java.lang.String name) |
java.util.Iterator |
iterateScopes()
Iterates all the named
Scopes in this grammar. |
Scope |
redefine(ParserRuntime rt,
java.lang.String name) |
append, appendBody, appendImport, apply, clear, getBody, getImport, getParam, getParamCount, getPattern, setParampublic Grammar(ParserRuntime rt)
public Scope get(java.lang.String name)
public Scope getOrCreate(ParserRuntime rt, java.lang.String name)
public Scope redefine(ParserRuntime rt, java.lang.String name)
public java.util.Iterator iterateScopes()
Scopes in this grammar.