Hierarchy

Index

Constructors

constructor

Properties

Protected accept

accept: number[]

debug

debug: boolean = false

Protected decisionNumber

decisionNumber: number

description

description: string = "252:1: FLOAT : ( ( DIGIT )* '.' ( DIGIT )+ ( E )? | ( DIGIT )+ E );"

Protected eof

eof: number[]

Protected eot

eot: number[]

Protected max

max: string[]

Protected min

min: string[]

Protected recognizer

recognizer: BaseRecognizer

Which recognizer encloses this DFA? Needed to check backtracking

Protected special

special: number[]

Protected transition

transition: number[][]

Static DFA7_acceptS

DFA7_acceptS: string = "￿"

Static DFA7_eofS

DFA7_eofS: string = "￿"

Static DFA7_eotS

DFA7_eotS: string = "￿"

Static DFA7_maxS

DFA7_maxS: string = "9e￿"

Static DFA7_minS

DFA7_minS: string = ".￿"

Static DFA7_specialS

DFA7_specialS: string = "￿}>"

Methods

Protected debugRecognitionException

error

Protected noViableAlt

predict

  • From the input stream, predict what alternative will succeed using this DFA (representing the covering regular approximation to the underlying CFL). Return an alternative number 1..n. Throw an exception upon error.

    Parameters

    Returns number

Static initialize

  • initialize(): void
  • Returns void

Static specialStateTransitionDefault

  • specialStateTransitionDefault(dfa: DFA, s: number, input: IIntStream): number

Static unpackEncodedString

  • unpackEncodedString(encodedString: string): number[]
  • Given a String that has a run-length-encoding of some unsigned shorts like "\1\2\3\9", convert to short[] {2,9,9,9}. We do this to avoid static short[] which generates so much init code that the class won't compile. :(

    Parameters

    • encodedString: string

    Returns number[]

Static unpackEncodedStringToUnsignedChars

  • unpackEncodedStringToUnsignedChars(encodedString: string): string[]

Generated using TypeDoc