- <init>
- genRecognizerFile
- genRecognizerHeaderFile
- getMaxCharValue
Some targets only support ASCII or 8-bit chars/strings. For example, C++ will
probably want to retur
- getTarget64BitStringFromValue
Convert long to 0xNNNNNNNNNNNNNNNN by default for spitting out with bitsets.
I.e., convert bytes to
- getTargetCharLiteralFromANTLRCharLiteral
Convert from an ANTLR char literal found in a grammar file to an equivalent char
literal in the targ
- getTargetStringLiteralFromString
Given a random string of Java unicode chars, return a new string with optionally
appropriate quote c
- getTokenTypeAsTargetLabel
Target must be able to override the labels used for token types
- isValidActionScope
Is scope in @scope::name {action} valid for this kind of grammar? Targets like
C++ may want to allow
- performGrammarAnalysis
- postProcessAction
Give target a chance to do some postprocessing on actions. Python for example
will have to fix the i
- getTargetStringLiteralFromANTLRStringLiteral
Convert from an ANTLR string literal found in a grammar file to an equivalent
string literal in the