Home
last modified time | relevance | path

Searched refs:getRule (Results 1 – 25 of 27) sorted by relevance

12

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestASTConstruction.java45 String found = g.getRule("a").tree.toStringTree(); in testA()
55 String found = g.getRule("a").tree.toStringTree(); in testEmptyAlt()
66 String found = g.getRule("A").tree.toStringTree(); in testNakeRulePlusInLexer()
77 String found = g.getRule("a").tree.toStringTree(); in testRulePlus()
88 String found = g.getRule("a").tree.toStringTree(); in testNakedRulePlus()
99 String found = g.getRule("a").tree.toStringTree(); in testRuleOptional()
110 String found = g.getRule("a").tree.toStringTree(); in testNakedRuleOptional()
121 String found = g.getRule("a").tree.toStringTree(); in testRuleStar()
132 String found = g.getRule("a").tree.toStringTree(); in testNakedRuleStar()
142 String found = g.getRule("a").tree.toStringTree(); in testCharStar()
[all …]
DTestSymbolDefinitions.java843 Rule r = g.getRule(ruleName); in checkPlusEqualsLabels()
903 assertNotNull("rule "+ruleName+" expected", g.getRule(ruleName)); in checkSymbols()
DTestAttributes.java154 Rule r = g.getRule("a"); in testBracketArgParsing()
267 Rule ra = g.getRule("a"); in testGenericsAsArgumentDefinition()
296 Rule ra = g.getRule("a"); in testGenericsAsArgumentDefinition2()
329 Rule ra = g.getRule("a"); in testGenericsAsReturnValue()
2197 Rule r = g.getRule("r"); in testReturnInitValue()
2216 Rule r = g.getRule("r"); in testMultipleReturnInitValue()
2235 Rule r = g.getRule("r"); in testCStyleReturnInitValue()
/external/icu4c/i18n/
Dwintzimpl.cpp55 U_ASSERT(std->getRule()->getDateRuleType() == DateTimeRule::DOW); in getSystemTimeInformation()
56 U_ASSERT(dst->getRule()->getDateRuleType() == DateTimeRule::DOW); in getSystemTimeInformation()
64 standardDate.wMonth = std->getRule()->getRuleMonth() + 1; in getSystemTimeInformation()
65 standardDate.wDay = std->getRule()->getRuleWeekInMonth(); in getSystemTimeInformation()
69 standardDate.wDayOfWeek = std->getRule()->getRuleDayOfWeek() - 1; in getSystemTimeInformation()
71 mil = std->getRule()->getRuleMillisInDay(); in getSystemTimeInformation()
85 daylightDate.wMonth = dst->getRule()->getRuleMonth() + 1; in getSystemTimeInformation()
86 daylightDate.wDay = dst->getRule()->getRuleWeekInMonth(); in getSystemTimeInformation()
90 daylightDate.wDayOfWeek = dst->getRule()->getRuleDayOfWeek() - 1; in getSystemTimeInformation()
92 mil = dst->getRule()->getRuleMillisInDay(); in getSystemTimeInformation()
Dvtzone.cpp1668 *(finalRule->getRule()), in parse()
2102 … if (isEquivalentDateRule(dstMonth, dstWeekInMonth, dstDayOfWeek, finalDstRule->getRule())) { in writeZone()
2139 … if (isEquivalentDateRule(stdMonth, stdWeekInMonth, stdDayOfWeek, finalStdRule->getRule())) { in writeZone()
2479 const DateTimeRule *dtrule = toWallTimeRule(rule->getRule(), fromRawOffset, fromDSTSavings); in writeFinalRule()
2482 dtrule = rule->getRule(); in writeFinalRule()
/external/smack/src/org/jivesoftware/smack/packet/
DPrivacyItem.java205 if (!(this.getRule() == null && value == null)) { in setValue()
206 this.getRule().setValue(value); in setValue()
217 if (this.getRule() == null) { in getType()
220 return this.getRule().getType(); in getType()
236 if (this.getRule() == null) { in getValue()
239 return this.getRule().getValue(); in getValue()
258 private PrivacyRule getRule() { in getRule() method in PrivacyItem
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
DNotifiedTestExecuter.java55 final Rule rule = testSuite.getRule(ruleName); in onFail()
68 final Rule rule = testSuite.getRule(ruleName); in onPass()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
DTestSuite.java82 public Rule getRule(int index) { return rules.get(index); } in getRule() method in TestSuite
88 public Rule getRule(String name) { in getRule() method in TestSuite
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DInterp.java93 if ( parser.getRule(startRule)==null ) { in main()
121 if ( parser.getRule(startRule)==null ) { in main()
DCompositeGrammarTree.java60 public Rule getRule(String ruleName) { in getRule() method in CompositeGrammarTree
64 r = child.getRule(ruleName); in getRule()
DNameSpaceChecker.java133 Rule rule = grammar.getRule(ruleName); in lookForReferencesToUndefinedSymbols()
175 Rule rule = grammar.getRule(scopeG.name, ruleName); in lookForReferencesToUndefinedSymbols()
227 else if ( grammar.getRule(label.getText())!=null ) { in checkForLabelConflict()
DGrammar.java177 return getRule(referencedRuleName); in getReferencedRule()
1660 public Rule getRule(String ruleName) { in getRule() method in Grammar
1661 Rule r = composite.getRule(ruleName); in getRule()
1670 public Rule getRule(String scopeName, String ruleName) { in getRule() method in Grammar
1678 return getRule(ruleName); in getRule()
1682 Rule r = getRule(scopeName, ruleName); in getRuleIndex()
1918 Rule r = getRule(ruleName); in checkAllRulesForUselessLabels()
1935 Rule refdRule = getRule(pair.elementRef.getText()); in removeUselessLabels()
1969 Rule r = getRule(enclosingRuleName); in altReferencesRule()
2004 Rule r = getRule(ruleName); in referenceRuleLabelPredefinedAttribute()
[all …]
DCompositeGrammar.java157 public Rule getRule(String ruleName) { in getRule() method in CompositeGrammar
158 return delegateGrammarTreeRoot.getRule(ruleName); in getRule()
DGrammarSanity.java193 Rule r = grammar.getRule(refAST.getText()); in checkRuleReference()
DRandomPhrase.java174 if ( parser.getRule(startRule)==null ) { in main()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g141 Rule r = grammar.getRule( currentRuleName );
184 Rule r = grammar.getRule( currentRuleName );
209 Rule r = grammar.getRule( currentRuleName );
239 Rule ruleDescr = grammar.getRule( currentRuleName );
406 Rule ruleDescr = grammar.getRule($start.getChild(0).getText());
498 Rule theRule = grammar.getRule(currentRuleName);
606 Rule r = grammar.getRule(currentRuleName);
683 Rule r = grammar.getRule(currentRuleName);
899 Rule r = grammar.getRule(currentRuleName);
955 Rule encRule = grammar.getRule(((GrammarAST)$start).enclosingRuleName);
[all …]
DDefineGrammarItemsWalker.g100 Rule r = grammar.getRule( currentRuleName );
231 r = grammar.getRule(name);
363 // Rule r = grammar.getRule(currentRuleName);
527 Rule rule = grammar.getRule(currentRuleName);
536 Rule rule = grammar.getRule(currentRuleName);
629 Rule r = grammar.getRule(currentRuleName);
DActionAnalysis.g88 Rule refdRule = grammar.getRule(refdRuleName);
96 Rule refdRule = grammar.getRule(refdRuleName);
DTreeToNFAConverter.g123 Rule r = grammar.getRule( ruleName );
574 Rule rr = grammar.getRule(scopeName,$r.text);
594 Rule rr = grammar.getRule(scopeName,t.getText());
837 Rule rule = grammar.getRule($t.text);
DActionTranslator.g76 this.enclosingRule = grammar.getRule(ruleName);
148 Rule r = grammar.getRule(ruleName);
160 Rule scopeRule = grammar.getRule(scopeName);
384 Rule refdRule = grammar.getRule(refdRuleName);
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DRuleListController.java154 return testSuite.getRule(index); in getElementAt()
DRunnerController.java136 final Rule rule = suite.getRule(i); in TestSuiteTreeNode()
/external/icu4c/i18n/unicode/
Dtzrule.h474 const DateTimeRule* getRule(void) const;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java1086 Rule r = grammar.getRule(x); in issueInvalidScopeError()
1134 Rule refdRule = grammar.getRule(refdRuleName); in issueInvalidAttributeError()
/external/icu4c/test/intltest/
Dtzrulets.cpp1147 const DateTimeRule *dtr = std->getRule(); in TestGetSimpleRules()
1156 dtr = dst->getRule(); in TestGetSimpleRules()
1270 if (*(a1->getRule()) != *(a2->getRule())) { in TestTimeZoneRuleCoverage()

12