|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Parser | |
---|---|
fr.umlv.tatoo.runtime.parser | |
fr.umlv.tatoo.runtime.tools | |
fr.umlv.tatoo.runtime.tools.builder |
Uses of Parser in fr.umlv.tatoo.runtime.parser |
---|
Methods in fr.umlv.tatoo.runtime.parser that return Parser | ||
---|---|---|
static
|
Parser.createParser(ParserTable<T,N,P,V> table,
ParserListener<? super T,? super N,? super P> listener,
ParserErrorRecoveryPolicy<T,N,P,V> policy,
N start,
V version,
LookaheadMap<? extends T,? super V> lookaheadMap)
Creates a parser. |
Methods in fr.umlv.tatoo.runtime.parser with parameters of type Parser | ||
---|---|---|
boolean |
DefaultParserErrorRecoveryPolicy.closeParser(Parser<T,N,P,V> parser)
|
|
abstract boolean |
ParserErrorRecoveryPolicy.closeParser(Parser<T,N,P,V> parser)
Notifies that the parser is closing and an error was notified by ParserErrorRecoveryPolicy.continueRecoverOnError(fr.umlv.tatoo.runtime.parser.Parser
returning ActionReturn.NEXT_ERROR . |
|
ActionReturn |
DefaultParserErrorRecoveryPolicy.continueRecoverOnError(Parser<T,N,P,V> parser,
IntArrayList states,
T terminal)
|
|
abstract ActionReturn |
ParserErrorRecoveryPolicy.continueRecoverOnError(Parser<T,N,P,V> parser,
IntArrayList states,
T terminal)
Called when error recovery was initiated by recover on error, and method ParserErrorRecoveryPolicy.errorRecoveryNeedsContinuation()
returns true |
|
|
ErrorAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
|
BranchAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
|
ExitAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
|
AcceptAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
|
VersionedAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
|
ShiftAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
|
ReduceAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
|
EnterAction.doPerform(Parser<T,N,P,V> parser,
T terminal)
|
|
abstract
|
Action.doPerform(Parser<T,N,P,V> parser,
T terminal)
Performs necessary computations required by the action. |
|
Set<? extends T> |
DefaultParserErrorRecoveryPolicy.getLookahead(Parser<T,N,P,V> parser,
Set<? extends T> proposedLookaheads)
|
|
abstract Set<? extends T> |
ParserErrorRecoveryPolicy.getLookahead(Parser<T,N,P,V> parser,
Set<? extends T> proposedLookaheads)
Returns the lookahead set of terminals that the parser should accept as input of next Parser.step() . |
|
void |
DefaultParserWarningReporter.handleWarning(Parser<T,N,P,V> parser,
T terminal,
String message)
|
|
void |
ParserWarningReporter.handleWarning(Parser<T,N,P,V> parser,
T terminal,
String message)
Log error recovery message info to user |
|
ActionReturn |
DefaultParserErrorRecoveryPolicy.recoverOnError(Parser<T,N,P,V> parser,
IntArrayList states,
T terminal,
String message)
|
|
abstract ActionReturn |
ParserErrorRecoveryPolicy.recoverOnError(Parser<T,N,P,V> parser,
IntArrayList states,
T terminal,
String message)
Tries to recover on an error. |
Uses of Parser in fr.umlv.tatoo.runtime.tools |
---|
Constructors in fr.umlv.tatoo.runtime.tools with parameters of type Parser | |
---|---|
EnumParserLookaheadActivator(Parser<T,?,?,V> parser,
EnumMap<T,EnumSet<R>> terminalMap,
Class<R> ruleClass,
EnumSet<R> unconditionalRules)
|
Uses of Parser in fr.umlv.tatoo.runtime.tools.builder |
---|
Methods in fr.umlv.tatoo.runtime.tools.builder that return Parser | |
---|---|
Parser<T,N,P,V> |
ParserBuilder.createParser()
|
Parser<T,N,P,V> |
LexerAndParser.getParser()
Returns the parser. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |