Searched defs:ruleIndex (Results 1 - 25 of 26) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DParser.cs106 public virtual void TraceIn(string ruleName, int ruleIndex) { argument
107 base.TraceIn(ruleName, ruleIndex, input.LT(1));
111 public virtual void TraceOut(string ruleName, int ruleIndex) { argument
112 base.TraceOut(ruleName, ruleIndex, input.LT(1));
H A DLexer.cs344 public virtual void TraceIn(string ruleName, int ruleIndex) { argument
346 base.TraceIn(ruleName, ruleIndex, inputSymbol);
350 public virtual void TraceOut(string ruleName, int ruleIndex) { argument
352 base.TraceOut(ruleName, ruleIndex, inputSymbol);
H A DBaseRecognizer.cs850 public virtual int GetRuleMemoization(int ruleIndex, int ruleStartIndex) { argument
851 if (state.ruleMemo[ruleIndex] == null) {
852 state.ruleMemo[ruleIndex] = new Dictionary<int, int>();
856 if (!state.ruleMemo[ruleIndex].TryGetValue(ruleStartIndex, out stopIndex))
875 public virtual bool AlreadyParsedRule(IIntStream input, int ruleIndex) { argument
876 int stopIndex = GetRuleMemoization(ruleIndex, input.Index);
881 //System.out.println("rule "+ruleIndex+" will never succeed");
884 //System.out.println("seen rule "+ruleIndex+" before; skipping ahead to @"+(stopIndex+1)+" failed="+state.failed);
896 int ruleIndex,
903 if (ruleIndex >
895 Memoize(IIntStream input, int ruleIndex, int ruleStartIndex) argument
927 TraceIn(string ruleName, int ruleIndex, object inputSymbol) argument
939 TraceOut(string ruleName, int ruleIndex, object inputSymbol) argument
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DParser.java94 public void traceIn(String ruleName, int ruleIndex) { argument
95 super.traceIn(ruleName, ruleIndex, input.LT(1));
98 public void traceOut(String ruleName, int ruleIndex) { argument
99 super.traceOut(ruleName, ruleIndex, input.LT(1));
H A DSerializedGrammar.java84 int ruleIndex; field in class:SerializedGrammar.RuleRef
85 public RuleRef(int ruleIndex) { this.ruleIndex = ruleIndex; } argument
86 public String toString() { return String.valueOf(ruleIndex); }
158 int ruleIndex = in.readShort();
159 alt.add(new RuleRef(ruleIndex));
160 //System.out.println("read rule "+gr.getRuleName(ruleIndex));
H A DLexer.java335 public void traceIn(String ruleName, int ruleIndex) { argument
337 super.traceIn(ruleName, ruleIndex, inputSymbol);
340 public void traceOut(String ruleName, int ruleIndex) { argument
342 super.traceOut(ruleName, ruleIndex, inputSymbol);
H A DBaseRecognizer.java793 public int getRuleMemoization(int ruleIndex, int ruleStartIndex) { argument
794 if ( state.ruleMemo[ruleIndex]==null ) {
795 state.ruleMemo[ruleIndex] = new HashMap();
798 (Integer)state.ruleMemo[ruleIndex].get(new Integer(ruleStartIndex));
814 public boolean alreadyParsedRule(IntStream input, int ruleIndex) { argument
815 int stopIndex = getRuleMemoization(ruleIndex, input.index());
820 //System.out.println("rule "+ruleIndex+" will never succeed");
824 //System.out.println("seen rule "+ruleIndex+" before; skipping ahead to @"+(stopIndex+1)+" failed="+state.failed);
834 int ruleIndex,
841 if ( ruleIndex >
833 memoize(IntStream input, int ruleIndex, int ruleStartIndex) argument
865 traceIn(String ruleName, int ruleIndex, Object inputSymbol) argument
873 traceOut(String ruleName, int ruleIndex, Object inputSymbol) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DTreeParser.cs178 public virtual void TraceIn(string ruleName, int ruleIndex) { argument
179 base.TraceIn(ruleName, ruleIndex, input.LT(1));
183 public virtual void TraceOut(string ruleName, int ruleIndex) { argument
184 base.TraceOut(ruleName, ruleIndex, input.LT(1));
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DTreeParser.java231 public void traceIn(String ruleName, int ruleIndex) { argument
232 super.traceIn(ruleName, ruleIndex, input.LT(1));
235 public void traceOut(String ruleName, int ruleIndex) { argument
236 super.traceOut(ruleName, ruleIndex, input.LT(1));
/external/icu/icu4c/source/i18n/
H A Dcollationruleparser.h189 int32_t ruleIndex; member in class:CollationRuleParser
H A Dplurrule_impl.h149 int32_t ruleIndex; // String index in the input rules, the current parse position. member in class:PluralRuleParser
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
H A DProfileTreeGrammar.cs77 public virtual bool AlreadyParsedRule( IIntStream input, int ruleIndex )
79 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, ProfileTreeGrammar.ruleNames[ruleIndex]);
80 return super.AlreadyParsedRule(input, ruleIndex);
83 public virtual void Memoize( IIntStream input, int ruleIndex, int ruleStartIndex ) argument
85 ((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, ProfileTreeGrammar.ruleNames[ruleIndex]);
86 super.Memoize(input, ruleIndex, ruleStartIndex);
H A DProfileGrammarParser.cs87 public virtual bool AlreadyParsedRule( IIntStream input, int ruleIndex )
89 ((Profiler)dbg).ExamineRuleMemoization(input, ruleIndex, ProfileGrammarParser.ruleNames[ruleIndex]);
90 return super.AlreadyParsedRule(input, ruleIndex);
93 public virtual void Memoize( IIntStream input, int ruleIndex, int ruleStartIndex ) argument
95 ((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, ProfileGrammarParser.ruleNames[ruleIndex]);
96 super.Memoize(input, ruleIndex, ruleStartIndex);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DCompositeGrammar.java107 protected int ruleIndex = MIN_RULE_INDEX; field in class:CompositeGrammar
H A DRule.java162 int ruleIndex,
166 this.index = ruleIndex;
160 Rule(Grammar grammar, String ruleName, int ruleIndex, int numberOfAlts) argument
H A DGrammar.java1409 * ruleIndex.
1433 Rule r = new Rule(this, ruleName, composite.ruleIndex, numAlts);
1443 composite.ruleIndexToRuleList.setSize(composite.ruleIndex+1);
1444 composite.ruleIndexToRuleList.set(composite.ruleIndex, r);
1445 composite.ruleIndex++;
1693 public String getRuleName(int ruleIndex) { argument
1694 Rule r = composite.ruleIndexToRuleList.get(ruleIndex);
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3baserecognizer.c72 static ANTLR3_MARKER getRuleMemoization (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_INTKEY ruleIndex, ANTLR3_MARKER ruleParseStart);
73 static ANTLR3_BOOLEAN alreadyParsedRule (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex);
74 static void memoize (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex, ANTLR3_MARKER ruleParseStart);
1855 getRuleMemoization (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_INTKEY ruleIndex, ANTLR3_MARKER ruleParseStart) argument
1866 entry = recognizer->state->ruleMemo->get(recognizer->state->ruleMemo, (ANTLR3_INTKEY)ruleIndex);
1881 recognizer->state->ruleMemo->add(recognizer->state->ruleMemo, (ANTLR3_INTKEY)ruleIndex, ANTLR3_HASH_TYPE_STR, 0, ANTLR3_FUNC_PTR(ruleList), freeIntTrie);
1918 alreadyParsedRule (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex) argument
1964 stopIndex = recognizer->getRuleMemoization(recognizer, ruleIndex, is->index(is));
1989 memoize (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex, ANTLR3_MARKER ruleParseStart) argument
2037 entry = recognizer->state->ruleMemo->get(recognizer->state->ruleMemo, (ANTLR3_INTKEY)ruleIndex);
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DBaseRecognizer.cs958 public virtual int GetRuleMemoization( int ruleIndex, int ruleStartIndex ) argument
960 if ( state.ruleMemo[ruleIndex] == null )
962 state.ruleMemo[ruleIndex] = new Dictionary<int, int>();
966 if ( !state.ruleMemo[ruleIndex].TryGetValue( ruleStartIndex, out stopIndex ) )
985 public virtual bool AlreadyParsedRule( IIntStream input, int ruleIndex )
987 int stopIndex = GetRuleMemoization( ruleIndex, input.Index );
994 //System.out.println("rule "+ruleIndex+" will never succeed");
999 //System.out.println("seen rule "+ruleIndex+" before; skipping ahead to @"+(stopIndex+1)+" failed="+state.failed);
1011 int ruleIndex,
1020 if ( ruleIndex >
1010 Memoize( IIntStream input, int ruleIndex, int ruleStartIndex ) argument
1048 TraceIn(string ruleName, int ruleIndex, object inputSymbol) argument
1061 TraceOut(string ruleName, int ruleIndex, object inputSymbol) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DProfiler.cs121 int ruleIndex,
127 //System.out.println("rule "+ruleIndex+" missed @ "+input.index());
133 //System.out.println("rule "+ruleIndex+" hit @ "+input.index());
141 int ruleIndex,
120 ExamineRuleMemoization(IIntStream input, int ruleIndex, int stopIndex, string ruleName) argument
140 Memoize(IIntStream input, int ruleIndex, int ruleStartIndex, string ruleName) argument
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DProfiler.cs125 int ruleIndex,
133 //System.out.println("rule "+ruleIndex+" missed @ "+input.index());
141 //System.out.println("rule "+ruleIndex+" hit @ "+input.index());
149 int ruleIndex,
124 ExamineRuleMemoization(IIntStream input, int ruleIndex, int stopIndex, string ruleName) argument
148 Memoize(IIntStream input, int ruleIndex, int ruleStartIndex, string ruleName) argument
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DProfiler.java177 int ruleIndex,
183 //System.out.println("rule "+ruleIndex+" missed @ "+input.index());
190 //System.out.println("rule "+ruleIndex+" hit @ "+input.index());
198 int ruleIndex,
176 examineRuleMemoization(IntStream input, int ruleIndex, int stopIndex, String ruleName) argument
197 memoize(IntStream input, int ruleIndex, int ruleStartIndex, String ruleName) argument
/external/chromium_org/third_party/icu/source/i18n/
H A Dplurrule_impl.h149 int32_t ruleIndex; // String index in the input rules, the current parse position. member in class:PluralRuleParser
/external/chromium_org/third_party/icu/source/tools/tzcode/
H A Dzic.c185 int ruleIndex, int startYear);
187 static void emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex);
517 int ruleIndex, int startYear) {
524 rule->r_name, ruleIndex);
536 emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex) { argument
553 ruleIndex, r->r_name, r->r_filename, r->r_linenum);
515 emit_icu_zone(FILE* f, const char* zoneName, int zoneOffset, const struct rule* rule, int ruleIndex, int startYear) argument
/external/icu/icu4c/source/tools/tzcode/
H A Dzic.c185 int ruleIndex, int startYear);
187 static void emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex);
517 int ruleIndex, int startYear) {
524 rule->r_name, ruleIndex);
536 emit_icu_rule(FILE* f, const struct rule* r, int ruleIndex) { argument
553 ruleIndex, r->r_name, r->r_filename, r->r_linenum);
515 emit_icu_zone(FILE* f, const char* zoneName, int zoneOffset, const struct rule* rule, int ruleIndex, int startYear) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 527 milliseconds

12