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 void
genRecognizerFile
(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.boolean
Methods 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:
useBaseTemplatesForSynPredFragments
in classTarget
-
encodeIntAsCharEscape
- Overrides:
encodeIntAsCharEscape
in classTarget
-
getTarget64BitStringFromValue
Description copied from class:Target
Convert long to 0xNNNNNNNNNNNNNNNN by default for spitting out with bitsets. I.e., convert bytes to hex string.- Overrides:
getTarget64BitStringFromValue
in classTarget
-
genRecognizerFile
protected void genRecognizerFile(Tool tool, CodeGenerator generator, Grammar grammar, org.stringtemplate.v4.ST outputFileST) throws IOException - Overrides:
genRecognizerFile
in classTarget
- Throws:
IOException
-