Package org.antlr.codegen
Class CSharp3Target
java.lang.Object
org.antlr.codegen.Target
org.antlr.codegen.CSharp3Target
- Direct Known Subclasses:
CSharp2Target
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.antlr.codegen.Target
targetCharValueEscape -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionencodeIntAsCharEscape(int v) protected voidgenRecognizerFile(Tool tool, CodeGenerator generator, Grammar grammar, org.stringtemplate.v4.ST outputFileST) getTarget64BitStringFromValue(long word) Convert long to 0xNNNNNNNNNNNNNNNN by default for spitting out with bitsets.booleanMethods inherited from class org.antlr.codegen.Target
genRecognizerHeaderFile, getMaxCharValue, getTargetCharLiteralFromANTLRCharLiteral, getTargetStringLiteralFromANTLRStringLiteral, getTargetStringLiteralFromString, getTargetStringLiteralFromString, getTokenTypeAsTargetLabel, isValidActionScope, performGrammarAnalysis, postProcessAction
-
Field Details
-
_languageKeywords
-
-
Constructor Details
-
CSharp3Target
public CSharp3Target()
-
-
Method Details
-
useBaseTemplatesForSynPredFragments
public boolean useBaseTemplatesForSynPredFragments()- Overrides:
useBaseTemplatesForSynPredFragmentsin classTarget
-
encodeIntAsCharEscape
- Overrides:
encodeIntAsCharEscapein classTarget
-
getTarget64BitStringFromValue
Description copied from class:TargetConvert long to 0xNNNNNNNNNNNNNNNN by default for spitting out with bitsets. I.e., convert bytes to hex string.- Overrides:
getTarget64BitStringFromValuein classTarget
-
genRecognizerFile
protected void genRecognizerFile(Tool tool, CodeGenerator generator, Grammar grammar, org.stringtemplate.v4.ST outputFileST) throws IOException - Overrides:
genRecognizerFilein classTarget- Throws:
IOException
-