/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLR.g | 74 RULE; 123 import org.antlr.tool.Rule; 330 // if they want backtracking and it's not a lexer rule in combined grammar 338 Rule.getRuleType(currentRuleName) == Grammar.LEXER) && 388 * ^(RULE[block,"rule"] ID["name"] {modifier} ARG["ARG"] RET["RET"] SCOPE["scope"] {block} EOR[EOBAST,"<end-of-rule>"]) 390 GrammarAST rule = (GrammarAST)adaptor.create( RULE, block.getToken(), "rule" ); [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/ |
template-output.rb | 15 rule = options.fetch( :rule ) { grammar_module::Parser.default_rule } 18 rule = grammar_module::Parser.default_rule 24 out = @parser.send( rule ).template
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
DOTGenerator.java | 158 * for a rule so don't traverse edges to other rules and 159 * don't go past rule end state. 182 return; // don't go past end of rule node to the follow states 213 if ( rr.rule.grammar != grammar ) { 214 edgeST.add("label", "<" + rr.rule.grammar.name + "." + rr.rule.name + ">"); 217 edgeST.add("label", "<" + rr.rule.name + ">"); 248 Grammar.Rule r = (Grammar.Rule) itr.next();
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
Dbg.stg | 172 @rule.preamble() ::= << 177 //@rule.preamble() ::= << 189 @rule.postamble() ::= << 194 //@rule.postamble() ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
Dbg.stg | 171 @rule.preamble() ::= << 176 //@rule.preamble() ::= << 188 @rule.postamble() ::= << 193 //@rule.postamble() ::= <<
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
Dbg.stg | 116 @rule.preamble() ::= << 123 @rule.postamble() ::= <<
|
ST4ObjC.stg | 38 /** Add this to each rule's return value struct */ 43 /** Add this to each rule's return value struct */ 48 /** Add this to each rule's return value struct */ 53 /** Add this to each rule's return value struct */ 59 /** Add this to each rule's return value struct */ 64 /** Add this to each rule's return value struct */ 142 /** x+=rule when output=template */ 143 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= << 144 <ruleRef(rule,label,elementIndex,args,scope)> 194 * Set the value of the rule's template *after* having se [all...] |
/external/chromium_org/components/omnibox/ |
omnibox_field_trial.h | 286 // Rule names used by the bundled experiment. 314 // (key-value pairs). Each key indicates a certain rule that applies in 316 // applying the rule are. For example, the value of a SearchHistory rule 320 // This function returns the value associated with the |rule| that applies 322 // and whether Instant Extended is enabled). If no such rule exists in the 323 // current context, fall back to the rule in various wildcard contexts and 324 // return its value if found. If the rule remains unfound in the global 327 // interpret the value is left to the caller; this is rule-dependent. 329 const std::string& rule, [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
umachine.h | 163 # error int64_t is required for decimal format and rule-based number format.
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
rule.h | 39 // Rule rule; 40 // if (rule.ParseSerializedRule("{\"fmt\": \"%A%n%C%S %Z\"}")) { 41 // Process(rule.GetFormat()); 43 class Rule { 45 Rule(); 46 ~Rule(); 48 // Returns the default rule at a country level. If a country does not specify 49 // address format, for example, then the format from this rule should be used 51 static const Rule& GetDefault() [all...] |
/external/icu/icu4c/source/common/unicode/ |
umachine.h | 163 # error int64_t is required for decimal format and rule-based number format.
|
/external/libnl/include/netlink/cli/ |
utils.h | 39 #include <netlink/route/rule.h>
|
/external/srec/srec/crec/ |
c47mulsp.c | 91 int activate_grammar_for_recognition(multi_srec* recm, srec_context* grammar, const char* rule)
|
/external/srec/srec/include/ |
c42mul.h | 57 int activate_grammar_for_recognition(multi_srec* rec1, srec_context* context, const char* rule);
|
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
ANTLRv3.g | 41 RULE; 102 rule+ 105 id DOC_COMMENT? optionsSpec? tokensSpec? attrScope* action* rule+ 155 rule 160 this.rules.add($rule::name); 164 id {$rule::name = $id.text;} 171 -> ^( RULE id {modifier!=null?adaptor.create(modifier):null} ^(ARG $arg)? ^(RET $rt)? 207 // leave here to demonstrate use of {...} in rewrite rule 284 /** Matches ENBF blocks (and token sets via block rule) */ 299 Character.isUpperCase($rule::name.charAt(0))} [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuiteFactory.java | 90 private static List<Rule> loadRulesFromGrammar(File grammarFile) { 92 // get all the rule names 106 // convert to rule object 107 final List<Rule> ruleList = new ArrayList<Rule>(); 109 ruleList.add(new Rule(str)); 175 final List<Rule> completeRuleList = loadRulesFromGrammar(grammarFile); 176 for(Rule rule: completeRuleList) { 177 if(!result.hasRule(rule)) { [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
AST.stg | 96 /** Add a variable to track rule's return AST */ 112 <ruleDescriptor.allRuleRefsInAltsWithRewrites:{Locals['Stream_<it>'] := TRewriteRuleSubtreeStream.Create(Adaptor,'rule <it>');}; separator="\n"> 122 * as a rule could have both rewrite and AST within the same alternative 137 /** ID and track it for use in a rewrite rule */ 143 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and* 167 /** rule when output=AST and tracking for rewrite */ 168 ruleRefTrack(rule,label,elementIndex,args,scope) ::= << 170 <if(backtracking)>if (State.Backtracking = 0) then <endif>(Locals['Stream_<rule.name>'] as IRewriteRuleElementStream).Add(<label>.Tree);<\n> 173 /** x+=rule when output=AST and tracking for rewrite */ 174 ruleRefTrackAndListLabel(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/chromium_org/chrome/renderer/spellchecker/ |
spellcheck_worditerator.cc | 43 // The template for our custom rule sets, which is based on the word-break 175 // Create two custom rule-sets: one allows contraction and the other does not. 321 const base::string16 rule(attribute->GetRuleSet(allow_contraction)); 323 // If there is no rule set, the attributes were invalid. 324 if (rule.empty()) 328 new base::i18n::BreakIterator(base::string16(), rule)); 375 // Find a word that can be checked for spelling. Our rule sets filter out
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
RuleSet.h | 58 MinimalRuleData(StyleRule* rule, unsigned selectorIndex, AddRuleFlags flags) 59 : m_rule(rule) 78 StyleRule* rule() const { return m_rule; } function in class:blink::RuleData
|
/external/chromium_org/third_party/icu/source/i18n/ |
nfsubs.cpp | 355 const NFRule* rule, 370 // throw an exception if the rule is a negative number 371 // rule 372 if (rule->getBaseValue() == NFRule::kNegativeNumberRule) { 373 // throw new IllegalArgumentException("<< not allowed in negative-number rule"); 378 // if the rule is a fraction rule, return an 380 else if (rule->getBaseValue() == NFRule::kImproperFractionRule 381 || rule->getBaseValue() == NFRule::kProperFractionRule 382 || rule->getBaseValue() == NFRule::kMasterRule) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
nptrans.cpp | 68 UnicodeString rule(mapRuleUChar, mapRuleLen); 69 rule.append(ruleUChar, ruleLen); 71 mapping = Transliterator::createFromRules(UnicodeString("NamePrepTransform", ""), rule,
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
ninja_syntax.py | 41 def rule(self, name, command, description=None, depfile=None, member in class:Writer 44 self._line('rule %s' % name) 63 def build(self, outputs, rule, inputs=None, implicit=None, order_only=None, 80 ' '.join([rule] + all_inputs)))
|
/external/icu/icu4c/source/i18n/ |
nfsubs.cpp | 355 const NFRule* rule, 370 // throw an exception if the rule is a negative number 371 // rule 372 if (rule->getBaseValue() == NFRule::kNegativeNumberRule) { 373 // throw new IllegalArgumentException("<< not allowed in negative-number rule"); 378 // if the rule is a fraction rule, return an 380 else if (rule->getBaseValue() == NFRule::kImproperFractionRule 381 || rule->getBaseValue() == NFRule::kProperFractionRule 382 || rule->getBaseValue() == NFRule::kMasterRule) [all...] |
/external/icu/icu4c/source/test/intltest/ |
nptrans.cpp | 68 UnicodeString rule(mapRuleUChar, mapRuleLen); 69 rule.append(ruleUChar, ruleLen); 71 mapping = Transliterator::createFromRules(UnicodeString("NamePrepTransform", ""), rule,
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
nj_ext.h | 131 extern NJ_INT16 njd_r_get_hinsi(NJ_DIC_HANDLE rule, NJ_UINT8 type); 132 extern NJ_INT16 njd_r_get_connect(NJ_DIC_HANDLE rule, 135 extern NJ_INT16 njd_r_get_count(NJ_DIC_HANDLE rule,
|