public class CSharp3Target extends Target
Modifier and Type | Class and Description |
---|---|
static class |
CSharp3Target.StringRenderer |
targetCharValueEscape
Constructor and Description |
---|
CSharp3Target() |
Modifier and Type | Method and Description |
---|---|
String |
encodeIntAsCharEscape(int v) |
protected void |
genRecognizerFile(Tool tool,
CodeGenerator generator,
Grammar grammar,
org.stringtemplate.v4.ST outputFileST) |
String |
getTarget64BitStringFromValue(long word)
Convert long to 0xNNNNNNNNNNNNNNNN by default for spitting out
with bitsets.
|
boolean |
useBaseTemplatesForSynPredFragments() |
genRecognizerHeaderFile, getMaxCharValue, getTargetCharLiteralFromANTLRCharLiteral, getTargetStringLiteralFromANTLRStringLiteral, getTargetStringLiteralFromString, getTargetStringLiteralFromString, getTokenTypeAsTargetLabel, isValidActionScope, performGrammarAnalysis, postProcessAction
public boolean useBaseTemplatesForSynPredFragments()
useBaseTemplatesForSynPredFragments
in class Target
public String encodeIntAsCharEscape(int v)
encodeIntAsCharEscape
in class Target
public String getTarget64BitStringFromValue(long word)
Target
getTarget64BitStringFromValue
in class Target
protected void genRecognizerFile(Tool tool, CodeGenerator generator, Grammar grammar, org.stringtemplate.v4.ST outputFileST) throws IOException
genRecognizerFile
in class Target
IOException
Copyright © 1992–2015 ANTLR. All rights reserved.