|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--antlr.Parser
|
+--antlr.LLkParser
|
+--com.octagroup.foregej.java.lang.JavaRecognizerBase
| Field Summary | |
JavaToken |
lastAstToken_
|
| Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth |
| Constructor Summary | |
JavaRecognizerBase(int arg0)
|
|
JavaRecognizerBase(antlr.ParserSharedInputState arg0,
int arg1)
|
|
JavaRecognizerBase(antlr.TokenBuffer arg0,
int arg1)
|
|
JavaRecognizerBase(antlr.TokenStream arg0,
int arg1)
|
|
| Method Summary | |
void |
append(JavaToken head,
JavaToken tail)
Helper method that attaches all the hidden tokens in one linked list to another. |
void |
consume()
If we have not created an AST for the token that we are consuming - add it to the hidden token set. |
void |
dump(JavaToken first)
Helper method that dumps the list |
static JavaRecognizer |
setup(java.lang.String string)
Helper method that sets up a JavaRecognizerthat parses
the supplied string. |
static JavaRecognizer |
setup(java.lang.String fileName,
java.io.Reader source)
Helper method that sets up a JavaRecognizerthat parses
the supplied stream. |
| Methods inherited from class antlr.LLkParser |
LA, LT, traceIn, traceOut |
| Methods inherited from class antlr.Parser |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public JavaToken lastAstToken_
| Constructor Detail |
public JavaRecognizerBase(int arg0)
public JavaRecognizerBase(antlr.ParserSharedInputState arg0,
int arg1)
public JavaRecognizerBase(antlr.TokenBuffer arg0,
int arg1)
public JavaRecognizerBase(antlr.TokenStream arg0,
int arg1)
| Method Detail |
public static JavaRecognizer setup(java.lang.String string)
JavaRecognizerthat parses
the supplied string.string - the stream to parse
public static JavaRecognizer setup(java.lang.String fileName,
java.io.Reader source)
JavaRecognizerthat parses
the supplied stream.fileName - the stream to parsesource - public void consume()
consume in class antlr.LLkParser
public void append(JavaToken head,
JavaToken tail)
head - tail - public void dump(JavaToken first)
first -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||