DiagnoseParser class

Implementers

Constructors

DiagnoseParser(TokenStream tokStream, ParseTable prs, [int maxErrors = 0, int maxTime = 0, Monitor? monitor])

Properties

ACCEPT_ACTION int
getter/setter pair
buffer List<int>
getter/setter pair
EOFT_SYMBOL int
getter/setter pair
EOLT_SYMBOL int
getter/setter pair
ERROR_ACTION int
getter/setter pair
ERROR_SYMBOL int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
LA_STATE_OFFSET int
getter/setter pair
list List<int>
getter/setter pair
locationStack List<int>
getter/setter pair
main_configuration_stack ConfigurationStack
getter/setter pair
MAX_NAME_LENGTH int
getter/setter pair
maxErrors int
getter/setter pair
maxTime int
getter/setter pair
monitor Monitor?
getter/setter pair
nextStack List<int>
getter/setter pair
nextStackTop int
getter/setter pair
NT_OFFSET int
getter/setter pair
NUM_RULES int
getter/setter pair
NUM_SYMBOLS int
getter/setter pair
prevStack List<int>
getter/setter pair
prevStackTop int
getter/setter pair
prs ParseTable
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
SCOPE_SIZE int
getter/setter pair
scopeIndex List<int>
getter/setter pair
scopePosition List<int>
getter/setter pair
scopeStackTop int
getter/setter pair
START_STATE int
getter/setter pair
statePool List<StateInfo?>
getter/setter pair
statePoolTop int
getter/setter pair
stateSeen List<int>
getter/setter pair
stateStack List<int>
getter/setter pair
stateStackTop int
getter/setter pair
tempStack List<int>
getter/setter pair
tempStackTop int
getter/setter pair
tokStream TokenStream
getter/setter pair

Methods

asb(int index) int
asi(int state) int
asr(int index) int
baseAction(int index) int
baseCheck(int index) int
checkPrimaryDistance(PrimaryRepairInfo repair, List<int> stck, int stack_top) → void
diagnose([int error_token = 0]) → void
diagnoseEntry(int marker_kind, [int? error_token]) → void
diagnoseEntry1(int marker_kind) → void
diagnoseEntry2(int marker_kind, int error_token) → void
emitError(int msg_code, int name_index, int left_token, int right_token, [int scope_name_index = 0]) → void
errorRecovery(int error_token) RepairCandidate
getNtermIndex(int start, int sym, int buffer_position) int
getTermIndex(List<int> stck, int stack_top, int tok, int buffer_position) int
inSymb(int index) int
inSymbol(int state) int
isNullable(int symbol) bool
lhs(int index) int
lookahead(int act, int token) int
mergeCandidate(int state, int buffer_position) int
misplacementRecovery(SecondaryRepairInfo repair, List<int> stack, int stack_top, int last_index, bool stack_flag) → void
misspell(int sym, int tok) int
name(int index) String
nasb(int index) int
nasi(int state) int
nasr(int index) int
nonterminalIndex(int index) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ntAction(int state, int sym) int
originalState(int state) int
parseCheck(List<int> stack, int stack_top, int first_symbol, int buffer_position) int
parseForError(int current_kind) int
parseUpToError(IntTuple action, int current_kind, int error_token) → void
primaryDiagnosis(PrimaryRepairInfo repair) RepairCandidate
primaryPhase(int error_token) RepairCandidate
reallocateStacks() → void
rhs(int index) int
scopeLa(int index) int
scopeLhs(int index) int
scopePrefix(int index) int
scopeRhs(int index) int
scopeState(int index) int
scopeStateSet(int index) int
scopeSuffix(int index) int
scopeTrial(PrimaryRepairInfo repair, List<int> stack, int stack_top) → void
scopeTrialCheck(PrimaryRepairInfo repair, List<int> stack, int stack_top, int indx) → void
secondaryCheck(List<int> stack, int stack_top, int buffer_position, int distance) bool
secondaryDiagnosis(SecondaryRepairInfo repair) → void
secondaryPhase(int error_token) RepairCandidate
secondaryRecovery(SecondaryRepairInfo repair, List<int> stack, int stack_top, int last_index, bool stack_flag) → void
setMonitor(Monitor monitor) → void
symbolIndex(int index) int
tAction(int act, int sym) int
termAction(int index) int
termCheck(int index) int
terminalIndex(int index) int
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

NIL int
final

Static Methods

currentTimeMillis() int