Home
last modified time | relevance | path

Searched refs:blockAST (Results 1 – 10 of 10) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/analysis/
DDecisionProbe.java443 GrammarAST blockAST = in issueWarnings() local
445 if ( blockAST!=null ) { in issueWarnings()
446 String greedyS = (String)blockAST.getBlockOption("greedy"); in issueWarnings()
502 GrammarAST blockAST = in stripWildCardAlts() local
506 if ( blockAST.getChild(0).getType()==ANTLRParser.OPTIONS ) { in stripWildCardAlts()
508 lastAltAST = (GrammarAST)blockAST.getChild(lastAlt.intValue()); in stripWildCardAlts()
511 lastAltAST = (GrammarAST)blockAST.getChild(lastAlt -1); in stripWildCardAlts()
DDFA.java1062 GrammarAST blockAST = nfa.grammar.getDecisionBlockAST(decisionNumber);
1063 Object v = nfa.grammar.getBlockOption(blockAST,"greedy");
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarReport.java155 if ( blockHasSynPred(d.blockAST) ) blocksWithSynPreds++; in getReportData()
474 public static boolean blockHasSynPred(GrammarAST blockAST) { in blockHasSynPred() argument
475 GrammarAST c1 = blockAST.findFirstType(ANTLRParser.SYN_SEMPRED); in blockHasSynPred()
476 GrammarAST c2 = blockAST.findFirstType(ANTLRParser.BACKTRACK_SEMPRED); in blockHasSynPred()
DGrammar.java201 public GrammarAST blockAST; field in Grammar.Decision
1366 d.blockAST.setBlockOption(this, "k", Utils.integer(1)); in createLookaheadDFA()
1495 public String defineSyntacticPredicate(GrammarAST blockAST, in defineSyntacticPredicate() argument
1503 blockAST.setTreeEnclosingRuleNameDeeply(predName); in defineSyntacticPredicate()
1504 nameToSynpredASTMap.put(predName, blockAST); in defineSyntacticPredicate()
2588 public Object getBlockOption(GrammarAST blockAST, String key) { in getBlockOption() argument
2589 String v = (String)blockAST.getBlockOption(key); in getBlockOption()
2601 GrammarAST blockAST = nfa.grammar.getDecisionBlockAST(decision); in getUserMaxLookahead() local
2602 Object k = blockAST.getBlockOption("k"); in getUserMaxLookahead()
2845 return d.blockAST; in getDecisionBlockAST()
[all …]
/external/llvm-project/mlir/examples/toy/Ch2/mlir/
DMLIRGen.cpp400 mlir::LogicalResult mlirGen(ExprASTList &blockAST) { in mlirGen() argument
402 for (auto &expr : blockAST) { in mlirGen()
/external/llvm-project/mlir/examples/toy/Ch3/mlir/
DMLIRGen.cpp400 mlir::LogicalResult mlirGen(ExprASTList &blockAST) { in mlirGen() argument
402 for (auto &expr : blockAST) { in mlirGen()
/external/llvm-project/mlir/examples/toy/Ch4/mlir/
DMLIRGen.cpp404 mlir::LogicalResult mlirGen(ExprASTList &blockAST) { in mlirGen() argument
406 for (auto &expr : blockAST) { in mlirGen()
/external/llvm-project/mlir/examples/toy/Ch5/mlir/
DMLIRGen.cpp404 mlir::LogicalResult mlirGen(ExprASTList &blockAST) { in mlirGen() argument
406 for (auto &expr : blockAST) { in mlirGen()
/external/llvm-project/mlir/examples/toy/Ch6/mlir/
DMLIRGen.cpp404 mlir::LogicalResult mlirGen(ExprASTList &blockAST) { in mlirGen() argument
406 for (auto &expr : blockAST) { in mlirGen()
/external/llvm-project/mlir/examples/toy/Ch7/mlir/
DMLIRGen.cpp614 mlir::LogicalResult mlirGen(ExprASTList &blockAST) { in mlirGen() argument
616 for (auto &expr : blockAST) { in mlirGen()