/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
ASTParser.stg | 38 * token, set, rule, wildcard 44 @rule.setErrorReturnValue() ::= << 123 // RULE REF AST 125 /** rule when output=AST */ 126 ruleRef(rule,label,elementIndex,args,scope) ::= << 131 /** rule! is same as normal rule ref */ 132 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 134 /** rule^ */ 135 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
ASTParser.stg | 39 * token, set, rule, wildcard 45 @rule.setErrorReturnValue() ::= << 128 // RULE REF AST 130 /** rule when output=AST */ 131 ruleRef(rule,label,elementIndex,args,scope) ::= <% 138 /** rule! is same as normal rule ref */ 139 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 141 /** rule^ */ 142 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
ASTParser.stg | 38 * token, set, rule, wildcard 45 @rule.setErrorReturnValue() ::= << 134 // RULE REF AST 136 /** rule when output=AST */ 137 ruleRef(rule,label,elementIndex,args,scope) ::= << 142 /** rule! is same as normal rule ref */ 143 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 145 /** rule^ */ 146 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
ASTParser.stg | 35 * token, set, rule, wildcard 41 @rule.setErrorReturnValue() ::= << 120 // RULE REF AST 122 /** rule when output=AST */ 123 ruleRef(rule,label,elementIndex,args,scope) ::= << 128 /** rule! is same as normal rule ref */ 129 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>" 131 /** rule^ */ 132 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeFilter.java | 41 rule application strategy and a ``down then up'' tree traversal 42 strategy. Let's look at rule application first. 46 to the next node. In other words, we only look for a single rule 48 repeatedly apply rules). The following method applies a rule in a @cl 53 It uses reflection to lookup the appropriate rule within the generated 55 rule will not match the tree. To avoid issuing syntax errors and 57 failure, the invoked rule immediately returns. If you don't plan on 59 the details. This method boils down to ``call a rule to match a tree, 80 public void rule() throws RecognitionException; method in interface:TreeFilter.fptr 103 whichRule.rule(); [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
scopes.rb | 66 /* rule scopes, from the book, final beta, p.147 */ 83 /* rule scopes, from the book, final beta, p.148 */ 107 /* recursive rule scopes, from the book, final beta, p.150 */ 137 /* recursive rule scopes, access bottom-most scope */ 151 /* recursive rule scopes, access with negative index */ 177 example "parsing 'foobar' with rule a" do 183 example "failing to parse 'foobar' with rule b[false]" do 189 example "parsing 'foobar' with rule b[true]" do 195 example "parsing a decl block with rule c" do 211 example "failing to parse undeclared symbols with rule c" d [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ActionAnalysis.g | 29 /** We need to set Rule.referencedPredefinedRuleAttributes before 31 * its rule and outer alternative number and figures out which 48 Rule enclosingRule; 71 /** $x.y x is enclosing rule or rule ref or rule label 79 // ref to enclosing rule. 84 // ref to rule label 88 Rule refdRule = grammar.getRule(refdRuleName); 94 // ref to rule referenced in this al [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
rbt_pars.cpp | 251 * A class representing one side of a rule. This class knows how to 252 * parse half of a rule. It is tightly coupled to the method 297 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status); 299 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, 323 const UnicodeString& rule, 326 return parser.syntaxError(code, rule, start, status); 351 * Parse one side of a rule, stopping at either the limit, 356 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { 359 pos = parseSection(rule, pos, limit, text, ILLEGAL_TOP, FALSE, status); 362 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status) [all...] |
/external/icu/icu4c/source/i18n/ |
rbt_pars.cpp | 257 * A class representing one side of a rule. This class knows how to 258 * parse half of a rule. It is tightly coupled to the method 303 int32_t parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status); 305 int32_t parseSection(const UnicodeString& rule, int32_t pos, int32_t limit, 329 const UnicodeString& rule, 332 return parser.syntaxError(code, rule, start, status); 357 * Parse one side of a rule, stopping at either the limit, 362 int32_t RuleHalf::parse(const UnicodeString& rule, int32_t pos, int32_t limit, UErrorCode& status) { 365 pos = parseSection(rule, pos, limit, text, UnicodeString(TRUE, ILLEGAL_TOP, -1), FALSE, status); 368 return syntaxError(U_MISPLACED_CURSOR_OFFSET, rule, start, status) [all...] |
/external/chromium_org/tools/deep_memory_profiler/ |
accumulate.py | 38 for rule, _ in snapshot[world]['breakdown'][breakdown].iteritems(): 39 print (' ' * depth) + rule 40 if rule in rules: 41 visit_in_template(rules[rule], snapshot, depth + 1) 61 for rule, match in snapshot[world]['breakdown'][breakdown].iteritems(): 70 if rule not in rules: 71 # A category matched with |rule| is a leaf of the breakdown tree. 73 category_tree[rule] = subtotal 76 # A category matched with |rule| is broken down more. 77 subtemplate = rules[rule] [all...] |
/build/core/ |
copy_headers.mk | 10 # Create a rule to copy each header, and make the 13 # actual rule.
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
NotifiedTestExecuter.java | 53 if(ruleName == null) throw new NullPointerException("Null rule name"); 55 final Rule rule = testSuite.getRule(ruleName); local 56 final TestCase failCase = (TestCase) rule.getElementAt(failTest.getTestCaseIndex()); 66 if(ruleName == null) throw new NullPointerException("Null rule name"); 68 final Rule rule = testSuite.getRule(ruleName); local 69 final TestCase passCase = (TestCase) rule.getElementAt(passTest.getTestCaseIndex());
|
/external/bison/src/ |
derives.c | 31 /* Linked list of rule numbers. */ 35 rule *value; 38 rule ***derives; 49 rule **rp; 67 rule **q; 73 /* DELTS[RULE] -- There are NRULES rule number to attach to nterms. 75 indexed by rule numbers. */
|
symlist.h | 53 /* Proper location of the symbol, not all the rule */ 56 /* If this symbol is the generated lhs for a midrule but this is the rule in 61 midrule, MIDRULE_PARENT_RULE = a pointer to the rule in whose rhs it 63 parent rule. */ 67 /* The action is attached to the LHS of a rule, but action properties for 115 symbol N in rule RULE. */ 118 /* Check whether the node is a border element of a rule. */
|
/external/chromium_org/chrome/renderer/safe_browsing/ |
scorer.cc | 81 logodds += ComputeRuleScore(model_.rule(i), features); 114 double Scorer::ComputeRuleScore(const ClientSideModel::Rule& rule, 118 for (int i = 0; i < rule.feature_size(); ++i) { 120 model_.hashes(rule.feature(i))); 122 // If the feature of the rule does not exist in the given feature map the 124 // we leave early since we know that the rule score will be zero. 129 return rule_score * rule.weight();
|
/external/chromium_org/net/tools/tld_cleanup/ |
tld_cleanup.cc | 18 // * Strips a single leading and/or trailing dot from each rule, if present. 19 // * Logs a warning if a rule contains '!' or '*.' other than at the beginning 20 // of the rule. (This also catches multiple ! or *. at the start of a rule.) 21 // * Logs a warning if GURL reports a rule as invalid, but keeps the rule. 22 // * Canonicalizes each rule's domain by converting it to a GURL and back. 23 // * Adds explicit rules for true TLDs found in any rule.
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
RuleSet.cpp | 126 RuleData::RuleData(StyleRule* rule, unsigned selectorIndex, unsigned position, AddRuleFlags addRuleFlags) 127 : m_rule(rule) 191 // Prefer rule sets in order of most likely to apply infrequently. 238 void RuleSet::addRule(StyleRule* rule, unsigned selectorIndex, AddRuleFlags addRuleFlags) 240 RuleData ruleData(rule, selectorIndex, m_ruleCount++, addRuleFlags); 249 void RuleSet::addPageRule(StyleRulePage* rule) 252 m_pageRules.append(rule); 255 void RuleSet::addViewportRule(StyleRuleViewport* rule) 258 m_viewportRules.append(rule); 261 void RuleSet::addFontFaceRule(StyleRuleFontFace* rule) 276 StyleRuleBase* rule = rules[i].get(); local [all...] |
SVGCSSPropertyNames.in | 8 clip-rule 24 fill-rule
|
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
post_box_matchers.h | 26 class Rule; 32 static std::vector<const RE2ptr*> GetMatchers(const Rule& country_rule);
|
/external/chromium_org/third_party/skia/src/svg/ |
SkSVGPolygon.cpp | 14 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule), 15 SVG_LITERAL_ATTRIBUTE(fill-rule, f_fillRule),
|
SkSVGPolyline.cpp | 20 SVG_LITERAL_ATTRIBUTE(clip-rule, f_clipRule), 21 SVG_LITERAL_ATTRIBUTE(fill-rule, f_fillRule),
|
/external/chromium_org/tools/gyp/test/rules/src/subdir2/ |
both_rule_and_action_input.gyp | 5 # Tests that if a rule input is also an action input, both the rule and action
|
/external/icu/icu4c/source/test/intltest/ |
plurults.h | 39 void assertRuleValue(const UnicodeString& rule, double expected); 40 void assertRuleKeyValue(const UnicodeString& rule, const UnicodeString& key,
|
/external/junit/src/org/junit/rules/ |
Timeout.java | 11 * The Timeout Rule applies the same timeout to all test methods in a class: 17 * @Rule
|
/external/nanopb-c/examples/simple/ |
Makefile | 14 # Build rule for the main program 18 # Build rule for the protocol
|