public class OCLParser extends AbstractOCLParser
| Modifier and Type | Method and Description |
|---|---|
int |
getEOFTokenKind() |
DerivedPrsStream |
getIPrsStream() |
OCLLexer |
getLexer() |
Environment<?,?,?,?,?,?,?,?,?,?,?,?> |
getOCLEnvironment() |
DeterministicParser |
getParser() |
ParseTable |
getParseTable() |
String |
getTokenKindName(int kind) |
int |
numTokenKinds() |
String[] |
orderedTerminalSymbols() |
CSTNode |
parser()
Runs the parser with the current
lex and parse streams |
CSTNode |
parser(Monitor monitor)
Runs the parser with the current
lex and parse streams
using the given Monitor |
CSTNode |
parser(Monitor monitor,
int error_repair_count)
Runs the parser with the current
lex and parse streams
using the given Monitor and error_repair_count (useful for a backtracking parser) |
void |
reset(ILexStream lexStream)
Resets the parser's
lexStream |
void |
ruleAction(int ruleNumber) |
computeInputString, getDefaultRepairCount, getEnvironment, parseTokensToCST, resetLexStream, setDefaultRepairCount, setLexStreampublic OCLParser(OCLLexer lexer)
public ParseTable getParseTable()
getParseTable in class AbstractParserParseTable used by the parserpublic DeterministicParser getParser()
public void reset(ILexStream lexStream)
AbstractParserlexStreamreset in class AbstractParserpublic int numTokenKinds()
numTokenKinds in class AbstractParserpublic String[] orderedTerminalSymbols()
orderedTerminalSymbols in class AbstractParserpublic String getTokenKindName(int kind)
public int getEOFTokenKind()
public DerivedPrsStream getIPrsStream()
getIPrsStream in class AbstractParserparseStreampublic CSTNode parser()
AbstractParserlex and parse streamsparser in class AbstractParserCSTNode which results from the parsing processpublic CSTNode parser(Monitor monitor)
AbstractParserlex and parse streams
using the given Monitorparser in class AbstractParserCSTNode which results from the parsing processpublic CSTNode parser(Monitor monitor, int error_repair_count)
AbstractParserlex and parse streams
using the given Monitor and error_repair_count (useful for a backtracking parser)parser in class AbstractParserCSTNode which results from the parsing processpublic Environment<?,?,?,?,?,?,?,?,?,?,?,?> getOCLEnvironment()
public OCLLexer getLexer()
getLexer in class AbstractParserpublic void ruleAction(int ruleNumber)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.