Top Inners Fields Constructors Methods
org.antlr.codegen

public Class CSharp3Target

extends Target
Class Inheritance
Known Direct Subclasses
org.antlr.codegen.CSharp2Target
Imports
org.antlr.Tool, org.antlr.tool.Grammar, org.stringtemplate.v4.AttributeRenderer, .ST, java.io.IOException, java.util.HashMap, .HashSet, .Locale, .Map

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private static final HashSet<String>
Inherited from org.antlr.codegen.Target:
targetCharValueEscape

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
protected void
public String
getTarget64BitStringFromValue(long word)

Overrides org.antlr.codegen.Target.getTarget64BitStringFromValue.

Convert long to 0xNNNNNNNNNNNNNNNN by default for spitting out with bitsets.
public boolean
Inherited from org.antlr.codegen.Target:
genRecognizerHeaderFilegetMaxCharValuegetTargetCharLiteralFromANTLRCharLiteralgetTargetStringLiteralFromANTLRStringLiteralgetTargetStringLiteralFromStringgetTargetStringLiteralFromStringgetTokenTypeAsTargetLabelisValidActionScopeperformGrammarAnalysispostProcessAction

Field Detail

_languageKeywordsback to summary
private static final HashSet<String> _languageKeywords

Constructor Detail

CSharp3Targetback to summary
public CSharp3Target()

Method Detail

encodeIntAsCharEscapeback to summary
public String encodeIntAsCharEscape(int v)

Overrides org.antlr.codegen.Target.encodeIntAsCharEscape.

Annotations
@Override
genRecognizerFileback to summary
protected void genRecognizerFile(Tool tool, CodeGenerator generator, Grammar grammar, ST outputFileST) throws IOException

Overrides org.antlr.codegen.Target.genRecognizerFile.

Annotations
@Override
getTarget64BitStringFromValueback to summary
public String getTarget64BitStringFromValue(long word)

Overrides org.antlr.codegen.Target.getTarget64BitStringFromValue.

Doc from org.antlr.codegen.Target.getTarget64BitStringFromValue.

Convert long to 0xNNNNNNNNNNNNNNNN by default for spitting out with bitsets. I.e., convert bytes to hex string.

Annotations
@Override
useBaseTemplatesForSynPredFragmentsback to summary
public boolean useBaseTemplatesForSynPredFragments()

Overrides org.antlr.codegen.Target.useBaseTemplatesForSynPredFragments.

Annotations
@Override
org.antlr.codegen back to summary

public Class CSharp3Target.StringRenderer

extends Object
implements AttributeRenderer
Class Inheritance
All Implemented Interfaces
org.stringtemplate.v4.AttributeRenderer

Field Summary

Modifier and TypeField and Description
private final CodeGenerator
private final CSharp3Target

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_generatorback to summary
private final CodeGenerator _generator
_targetback to summary
private final CSharp3Target _target

Constructor Detail

StringRendererback to summary
public StringRenderer(CodeGenerator generator, CSharp3Target target)

Method Detail

toStringback to summary
public String toString(Object obj, String formatName, Locale locale)

Implements org.stringtemplate.v4.AttributeRenderer.toString.

Annotations
@Override