|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--anvil.script.parser.ParserBase
|
+--anvil.script.parser.ScriptParser
class ScriptParser
| Nested Class Summary |
| Nested classes inherited from class anvil.script.parser.ParserBase |
ParserBase.Scanner, ParserBase.SetScanner |
| Field Summary |
| Fields inherited from class anvil.script.parser.ParserBase |
_nodes, _statement, _token, _tokenizer, ASSIGNMENT_SCANNER, SEMICOLON_SCANNER |
| Constructor Summary | |
ScriptParser(ModuleEnvelope envelope,
java.net.URL url,
LocatingCharSequence sequence)
|
|
| Method Summary | |
void |
error(Location location,
java.lang.String message)
|
void |
error(Location location,
java.lang.Throwable throwable)
|
int |
errors()
|
ModuleEnvelope |
getEnvelope()
|
java.util.Iterator |
getEvents()
|
SourceFile |
getSourceFile()
|
void |
merge(ErrorListener listener)
|
ModuleStatement |
parseScript()
|
Location |
toLocation(int line,
int column)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScriptParser(ModuleEnvelope envelope,
java.net.URL url,
LocatingCharSequence sequence)
throws java.io.IOException
| Method Detail |
public SourceFile getSourceFile()
getSourceFile in interface ParserInterfacegetSourceFile in class ParserBasepublic ModuleEnvelope getEnvelope()
getEnvelope in interface ParserInterfacegetEnvelope in class ParserBase
public Location toLocation(int line,
int column)
toLocation in interface ParserInterfacetoLocation in class ParserBase
public void error(Location location,
java.lang.Throwable throwable)
error in interface ErrorListenererror in class ParserBase
public void error(Location location,
java.lang.String message)
error in interface ErrorListenererror in class ParserBasepublic int errors()
errors in interface ErrorListenererrors in class ParserBasepublic java.util.Iterator getEvents()
getEvents in interface ErrorListenergetEvents in class ParserBasepublic void merge(ErrorListener listener)
merge in interface ErrorListenermerge in class ParserBase
public ModuleStatement parseScript()
throws ForgingException
ForgingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||