Uses of Class
org.antlr.v4.codegen.CodeGenerator
-
Packages that use CodeGenerator Package Description org.antlr.v4.automata org.antlr.v4.codegen org.antlr.v4.codegen.model org.antlr.v4.codegen.target org.antlr.v4.tool -
-
Uses of CodeGenerator in org.antlr.v4.automata
Constructors in org.antlr.v4.automata with parameters of type CodeGenerator Constructor Description LexerATNFactory(LexerGrammar g, CodeGenerator codeGenerator)
-
Uses of CodeGenerator in org.antlr.v4.codegen
Fields in org.antlr.v4.codegen declared as CodeGenerator Modifier and Type Field Description CodeGenerator
DefaultOutputModelFactory. gen
protected CodeGenerator
Target. gen
Methods in org.antlr.v4.codegen that return CodeGenerator Modifier and Type Method Description static CodeGenerator
CodeGenerator. create(Grammar g)
static CodeGenerator
CodeGenerator. create(Tool tool, Grammar g, String language)
CodeGenerator
Target. getCodeGenerator()
CodeGenerator
DefaultOutputModelFactory. getGenerator()
CodeGenerator
OutputModelController. getGenerator()
CodeGenerator
OutputModelFactory. getGenerator()
Methods in org.antlr.v4.codegen with parameters of type CodeGenerator Modifier and Type Method Description String
Target. getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, String literal, boolean addQuotes)
String
Target. getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, String literal, boolean addQuotes, boolean escapeSpecial)
Convert from an ANTLR string literal found in a grammar file to an equivalent string literal in the target language.protected void
CodeGenPipeline. writeRecognizer(org.stringtemplate.v4.ST template, CodeGenerator gen, boolean header)
Constructors in org.antlr.v4.codegen with parameters of type CodeGenerator Constructor Description CodeGenPipeline(Grammar g, CodeGenerator gen)
DefaultOutputModelFactory(CodeGenerator gen)
LexerFactory(CodeGenerator gen)
ParserFactory(CodeGenerator gen)
Target(CodeGenerator gen)
-
Uses of CodeGenerator in org.antlr.v4.codegen.model
Methods in org.antlr.v4.codegen.model with parameters of type CodeGenerator Modifier and Type Method Description protected static List<String>
Recognizer. translateTokenStringsToTarget(String[] tokenStrings, CodeGenerator gen)
protected static String
Recognizer. translateTokenStringToTarget(String tokenName, CodeGenerator gen)
-
Uses of CodeGenerator in org.antlr.v4.codegen.target
Methods in org.antlr.v4.codegen.target with parameters of type CodeGenerator Modifier and Type Method Description String
DartTarget. getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, String literal, boolean addQuotes, boolean escapeSpecial)
String
PHPTarget. getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, String literal, boolean addQuotes, boolean escapeSpecial)
Constructors in org.antlr.v4.codegen.target with parameters of type CodeGenerator Constructor Description CppTarget(CodeGenerator gen)
CSharpTarget(CodeGenerator gen)
DartTarget(CodeGenerator gen)
GoTarget(CodeGenerator gen)
JavaScriptTarget(CodeGenerator gen)
JavaTarget(CodeGenerator gen)
PHPTarget(CodeGenerator gen)
Python3Target(CodeGenerator gen)
SwiftTarget(CodeGenerator gen)
TypeScriptTarget(CodeGenerator gen)
-
Uses of CodeGenerator in org.antlr.v4.tool
Fields in org.antlr.v4.tool declared as CodeGenerator Modifier and Type Field Description protected CodeGenerator
BuildDependencyGenerator. generator
Methods in org.antlr.v4.tool that return CodeGenerator Modifier and Type Method Description CodeGenerator
BuildDependencyGenerator. getGenerator()
-