Home
last modified time | relevance | path

Searched refs:CodeGenerator (Results 1 – 25 of 124) sorted by relevance

12345

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAttributes.java31 import org.antlr.codegen.CodeGenerator;
57 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testEscapedLessThanInAction()
82 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testEscaped$InAction()
104 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testArguments()
129 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testComplicatedArgParsing()
151 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testBracketArgParsing()
182 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testStringArgParsing()
198 List<String> actualArgs = CodeGenerator.getListOfArgumentsFromAction(action, ','); in testStringArgParsing()
218 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testComplicatedSingleArgParsing()
243 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testArgWithLT()
[all …]
DTestTemplates.java31 import org.antlr.codegen.CodeGenerator;
66 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testTemplateConstructor()
103 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testTemplateConstructorNoArgs()
141 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testIndirectTemplateConstructor()
177 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testStringConstructor()
212 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testSetAttr()
248 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testSetAttrOfExpr()
282 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testSetAttrOfExprInMembers()
306 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testCannotHaveSpaceBeforeDot()
334 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testCannotHaveSpaceAfterDot()
DTestRewriteTemplates.java31 import org.antlr.codegen.CodeGenerator;
250 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeOnSimpleElements()
272 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeIgnoreActionsPredicates()
291 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeNotSimple()
311 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeRefRule()
DTestRewriteAST.java31 import org.antlr.codegen.CodeGenerator;
875 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testWeirdRuleRef()
1173 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownRule()
1202 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testKnownRuleButNotInLHS()
1230 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownToken()
1258 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownLabel()
1286 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownCharLiteralToken()
1314 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownStringLiteralToken()
DTestMessages.java31 import org.antlr.codegen.CodeGenerator;
60 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testMessageStringificationIsConsistent()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCTarget.java43 CodeGenerator generator, in genRecognizerFile()
58 CodeGenerator generator, in genRecognizerHeaderFile()
74 CodeGenerator generator, in chooseWhereCyclicDFAsGo()
167 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
193 CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
291 protected void performGrammarAnalysis(CodeGenerator generator, Grammar grammar) { in performGrammarAnalysis()
297 … if (CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE == CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE ) { in performGrammarAnalysis()
299 CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE = 65535; in performGrammarAnalysis()
308 if (CodeGenerator.MAX_SWITCH_CASE_LABELS == CodeGenerator.MSCL_DEFAULT) { in performGrammarAnalysis()
310 CodeGenerator.MAX_SWITCH_CASE_LABELS = 3000; in performGrammarAnalysis()
[all …]
DObjCTarget.java40 CodeGenerator generator, in genRecognizerHeaderFile()
49 public String getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
70 public String getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
82 public String getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) { in getTokenTypeAsTargetLabel()
95 …public String getTokenTextAndTypeAsTargetLabel(CodeGenerator generator, String text, int tokenType… in getTokenTextAndTypeAsTargetLabel()
DTarget.java87 CodeGenerator generator, in genRecognizerFile()
98 CodeGenerator generator, in genRecognizerHeaderFile()
107 protected void performGrammarAnalysis(CodeGenerator generator, in performGrammarAnalysis()
143 public String getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) { in getTokenTypeAsTargetLabel()
162 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
208 CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
349 public int getMaxCharValue(CodeGenerator generator) { in getMaxCharValue()
DCPPTarget.java87 CodeGenerator generator, in genRecognizerHeaderFile()
103 public String getTargetCharLiteralFromANTLRCharLiteral( CodeGenerator codegen, String literal) { in getTargetCharLiteralFromANTLRCharLiteral()
120 …public String getTargetStringLiteralFromANTLRStringLiteral( CodeGenerator codegen, String literal)… in getTargetStringLiteralFromANTLRStringLiteral()
132 public int getMaxCharValue( CodeGenerator codegen ) { in getMaxCharValue()
DActionScriptTarget.java37 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
44 public String getTokenTypeAsTargetLabel(CodeGenerator generator, in getTokenTypeAsTargetLabel()
127 CodeGenerator generator, in chooseWhereCyclicDFAsGo()
DDelphiTarget.java50 CodeGenerator generator, in chooseWhereCyclicDFAsGo()
70 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
117 CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
/external/protobuf/src/google/protobuf/compiler/
Dcode_generator.h55 class CodeGenerator; variable
61 class LIBPROTOC_EXPORT CodeGenerator {
63 inline CodeGenerator() {} in CodeGenerator() function
64 virtual ~CodeGenerator();
83 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodeGenerator);
Dcommand_line_interface.h58 class CodeGenerator; // code_generator.h variable
112 CodeGenerator* generator,
249 CodeGenerator* generator;
286 CodeGenerator* generator; // NULL for plugins
Dplugin.h64 class CodeGenerator; // code_generator.h variable
67 LIBPROTOC_EXPORT int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dcode_generator.h55 class CodeGenerator; variable
61 class LIBPROTOC_EXPORT CodeGenerator {
63 inline CodeGenerator() {} in CodeGenerator() function
64 virtual ~CodeGenerator();
83 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodeGenerator);
Dcommand_line_interface.h58 class CodeGenerator; // code_generator.h variable
112 CodeGenerator* generator,
125 CodeGenerator* generator,
274 CodeGenerator* generator;
317 CodeGenerator* generator; // NULL for plugins
Dplugin.h63 class CodeGenerator; // code_generator.h variable
66 LIBPROTOC_EXPORT int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
/external/v8/src/
Dcodegen.cc61 void CodeGenerator::MakeCodePrologue(CompilationInfo* info) { in MakeCodePrologue()
96 Handle<Code> CodeGenerator::MakeCodeEpilogue(MacroAssembler* masm, in MakeCodeEpilogue()
115 void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) { in PrintCode()
153 bool CodeGenerator::ShouldGenerateLog(Expression* type) { in ShouldGenerateLog()
168 bool CodeGenerator::RecordPositions(MacroAssembler* masm, in RecordPositions()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/
DTool.java31 import org.antlr.codegen.CodeGenerator;
272 CodeGenerator.LAUNCH_ST_INSPECTOR = true; in processArgs()
282 CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE = Integer.parseInt(args[i]); in processArgs()
291 CodeGenerator.MAX_SWITCH_CASE_LABELS = Integer.parseInt(args[i]); in processArgs()
300 CodeGenerator.MIN_SWITCH_ALTS = Integer.parseInt(args[i]); in processArgs()
570 … if ( vocabName!=null ) g.addEdge(gfile, vocabName+CodeGenerator.VOCAB_FILE_EXTENSION); in sortGrammarFiles()
572 g.addEdge(grammarName+CodeGenerator.VOCAB_FILE_EXTENSION, gfile); in sortGrammarFiles()
643 CodeGenerator generator = new CodeGenerator(this, grammar, language); in generateRecognizer()
763 …es m max DFA states before table used rather than inlining [" + CodeGenerator.MADSI_DEFAULT … in Xhelp()
764 …els m don't generate switch() statements for dfas bigger than m [" + CodeGenerator.MSCL_DEFAULT +… in Xhelp()
[all …]
/external/chromium_org/third_party/jinja2/
Dmeta.py13 from jinja2.compiler import CodeGenerator
17 class TrackingCodeGenerator(CodeGenerator):
21 CodeGenerator.__init__(self, environment, '<introspection>',
/external/chromium_org/v8/src/mips/
Dcodegen-mips.h47 class CodeGenerator: public AstVisitor {
49 explicit CodeGenerator(Isolate* isolate) { in CodeGenerator() function
80 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
/external/chromium_org/v8/src/arm/
Dcodegen-arm.h45 class CodeGenerator: public AstVisitor {
47 explicit CodeGenerator(Isolate* isolate) { in CodeGenerator() function
78 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
/external/chromium_org/v8/src/
Dcodegen.cc62 void CodeGenerator::MakeCodePrologue(CompilationInfo* info, const char* kind) { in MakeCodePrologue()
103 Handle<Code> CodeGenerator::MakeCodeEpilogue(MacroAssembler* masm, in MakeCodeEpilogue()
126 void CodeGenerator::PrintCode(Handle<Code> code, CompilationInfo* info) { in PrintCode()
189 bool CodeGenerator::ShouldGenerateLog(Isolate* isolate, Expression* type) { in ShouldGenerateLog()
204 bool CodeGenerator::RecordPositions(MacroAssembler* masm, in RecordPositions()
/external/clang/include/clang/CodeGen/
DModuleBuilder.h31 class CodeGenerator : public ASTConsumer {
41 CodeGenerator *CreateLLVMCodeGen(DiagnosticsEngine &Diags,
/external/chromium_org/v8/src/x64/
Dcodegen-x64.h45 class CodeGenerator: public AstVisitor {
47 explicit CodeGenerator(Isolate* isolate) { in CodeGenerator() function
73 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);

12345