OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ruleIndex
(Results
1 - 25
of
87
) sorted by null
1
2
3
4
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
Parser.java
94
public void traceIn(String ruleName, int
ruleIndex
) {
95
super.traceIn(ruleName,
ruleIndex
, input.LT(1));
98
public void traceOut(String ruleName, int
ruleIndex
) {
99
super.traceOut(ruleName,
ruleIndex
, input.LT(1));
BaseRecognizer.java
793
public int getRuleMemoization(int
ruleIndex
, int ruleStartIndex) {
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
) {
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
>= state.ruleMemo.length )
[
all
...]
SerializedGrammar.java
84
int
ruleIndex
;
85
public RuleRef(int
ruleIndex
) { this.
ruleIndex
=
ruleIndex
; }
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
));
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
Dbg.stg
69
public override bool AlreadyParsedRule( IIntStream input, int
ruleIndex
)
71
int stopIndex = GetRuleMemoization(
ruleIndex
, input.Index);
72
((Profiler)dbg).ExamineRuleMemoization(input,
ruleIndex
, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[
ruleIndex
]);
73
return base.AlreadyParsedRule(input,
ruleIndex
);
75
public override void Memoize( IIntStream input, int
ruleIndex
, int ruleStartIndex )
77
((Profiler)dbg).Memoize(input,
ruleIndex
, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[
ruleIndex
]);
78
base.Memoize(input,
ruleIndex
, ruleStartIndex);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
Dbg.stg
68
public override bool AlreadyParsedRule( IIntStream input, int
ruleIndex
)
70
int stopIndex = GetRuleMemoization(
ruleIndex
, input.Index);
71
((Profiler)dbg).ExamineRuleMemoization(input,
ruleIndex
, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[
ruleIndex
]);
72
return base.AlreadyParsedRule(input,
ruleIndex
);
74
public override void Memoize( IIntStream input, int
ruleIndex
, int ruleStartIndex )
76
((Profiler)dbg).Memoize(input,
ruleIndex
, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[
ruleIndex
]);
77
base.Memoize(input,
ruleIndex
, ruleStartIndex);
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
Parser.as
95
public function traceIn(ruleName:String,
ruleIndex
:int):void {
96
super.traceInSymbol(ruleName,
ruleIndex
, input.LT(1));
99
public function traceOut(ruleName:String,
ruleIndex
:int):void {
100
super.traceOutSymbol(ruleName,
ruleIndex
, input.LT(1));
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
Parser.cs
106
public virtual void TraceIn(string ruleName, int
ruleIndex
) {
107
base.TraceIn(ruleName,
ruleIndex
, input.LT(1));
111
public virtual void TraceOut(string ruleName, int
ruleIndex
) {
112
base.TraceOut(ruleName,
ruleIndex
, input.LT(1));
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
Parser.cs
120
public virtual void TraceIn( string ruleName, int
ruleIndex
)
122
base.TraceIn( ruleName,
ruleIndex
, input.LT( 1 ) );
126
public virtual void TraceOut( string ruleName, int
ruleIndex
)
128
base.TraceOut( ruleName,
ruleIndex
, input.LT( 1 ) );
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
Parser.js
62
traceIn: function(ruleName,
ruleIndex
) {
64
this, ruleName,
ruleIndex
, this.input.LT(1));
67
traceOut: function(ruleName,
ruleIndex
) {
69
this, ruleName,
ruleIndex
, this.input.LT(1));
BaseRecognizer.js
[
all
...]
/external/antlr/antlr-3.4/runtime/Python/tests/
t044trace.py
19
def traceIn(self, ruleName,
ruleIndex
):
23
def traceOut(self, ruleName,
ruleIndex
):
42
def traceIn(self, ruleName,
ruleIndex
):
46
def traceOut(self, ruleName,
ruleIndex
):
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
Dbg.stg
79
- (BOOL) alreadyParsedRule:(id<IntStream>) input Index:(NSInteger)
ruleIndex
81
[(Profiler)dbg examineRuleMemoization:input,
ruleIndex
, <grammar.composite.rootGrammar.recognizerName>.ruleNames objectAtIndex:
ruleIndex
];
82
return super.alreadyParsedRule(input,
ruleIndex
);
84
- (void) memoize:(id<ANTLRIntStream>)input
RuleIndex
:(NSInteger)
ruleIndex
StartIndex:(NSInteger)ruleStartIndex
86
[((Profiler)dbg) memoize:input
RuleIndex
:
ruleIndex
StartIndex:ruleStartIndex [<grammar.composite.rootGrammar.recognizerName> ruleNames[
ruleIndex
]];
87
[super memoize:input
RuleIndex
:ruleIndex StartIndex:ruleStartIndex]
[
all
...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
Dbg.stg
65
public boolean alreadyParsedRule(IntStream input, int
ruleIndex
) {
66
int stopIndex = getRuleMemoization(
ruleIndex
, input.index());
67
((Profiler)dbg).examineRuleMemoization(input,
ruleIndex
, stopIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[
ruleIndex
]);
68
return super.alreadyParsedRule(input,
ruleIndex
);
71
int
ruleIndex
,
74
((Profiler)dbg).memoize(input,
ruleIndex
, ruleStartIndex, <grammar.composite.rootGrammar.recognizerName>.ruleNames[
ruleIndex
]);
75
super.memoize(input,
ruleIndex
, ruleStartIndex);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRParser.h
56
- (void) traceIn:(NSString *)ruleName Index:(int)
ruleIndex
;
57
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRTreeParser.h
84
- (void) traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
85
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRBaseRecognizer.h
168
- (NSInteger) getRuleMemoization:(NSInteger)
ruleIndex
StartIndex:(NSInteger)ruleStartIndex;
169
- (BOOL) alreadyParsedRule:(id<ANTLRIntStream>)anInput
RuleIndex
:(NSInteger)
ruleIndex
;
171
RuleIndex
:(NSInteger)
ruleIndex
174
- (void)traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
175
- (void)traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRParser.h
56
- (void) traceIn:(NSString *)ruleName Index:(int)
ruleIndex
;
57
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRTreeParser.h
84
- (void) traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
85
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRBaseRecognizer.h
168
- (NSInteger) getRuleMemoization:(NSInteger)
ruleIndex
StartIndex:(NSInteger)ruleStartIndex;
169
- (BOOL) alreadyParsedRule:(id<ANTLRIntStream>)anInput
RuleIndex
:(NSInteger)
ruleIndex
;
171
RuleIndex
:(NSInteger)
ruleIndex
174
- (void)traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
175
- (void)traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRParser.h
56
- (void) traceIn:(NSString *)ruleName Index:(int)
ruleIndex
;
57
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRTreeParser.h
84
- (void) traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
85
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRBaseRecognizer.h
168
- (NSInteger) getRuleMemoization:(NSInteger)
ruleIndex
StartIndex:(NSInteger)ruleStartIndex;
169
- (BOOL) alreadyParsedRule:(id<ANTLRIntStream>)anInput
RuleIndex
:(NSInteger)
ruleIndex
;
171
RuleIndex
:(NSInteger)
ruleIndex
174
- (void)traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
175
- (void)traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRParser.h
56
- (void) traceIn:(NSString *)ruleName Index:(int)
ruleIndex
;
57
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRTreeParser.h
84
- (void) traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
85
- (void) traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
;
ANTLRBaseRecognizer.h
160
- (NSInteger) getRuleMemoization:(NSInteger)
ruleIndex
StartIndex:(NSInteger)ruleStartIndex;
161
- (BOOL) alreadyParsedRule:(id<ANTLRIntStream>)anInput
RuleIndex
:(NSInteger)
ruleIndex
;
163
RuleIndex
:(NSInteger)
ruleIndex
166
- (void)traceIn:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
167
- (void)traceOut:(NSString *)ruleName Index:(NSInteger)
ruleIndex
Object:(id)inputSymbol;
Completed in 72 milliseconds
1
2
3
4