Home
last modified time | relevance | path

Searched refs:charPositionInLine (Results 1 – 25 of 121) sorted by relevance

12345

/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DANTLRStringStream.js31 this.charPositionInLine = 0;
84 this.charPositionInLine = 0;
93 this.charPositionInLine++;
96 this.charPositionInLine=0;
171 state.charPositionInLine = this.charPositionInLine;
197 this.charPositionInLine = state.charPositionInLine;
282 return this.charPositionInLine;
302 this.charPositionInLine = pos;
DRecognitionException.js38 this.charPositionInLine = this.token.getCharPositionInLine();
48 this.charPositionInLine = input.getCharPositionInLine();
103 charPositionInLine: null, property
138 this.charPositionInLine = priorPayload.getCharPositionInLine();
148 this.charPositionInLine = payload.getCharPositionInLine();
153 this.charPositionInLine = this.node.getCharPositionInLine();
DCommonToken.js4 this.charPositionInLine = -1; // set to invalid position
17 this.charPositionInLine = oldToken.getCharPositionInLine();
73 return this.charPositionInLine;
76 setCharPositionInLine: function(charPositionInLine) { argument
77 this.charPositionInLine = charPositionInLine;
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRStringStream.java51 protected int charPositionInLine = 0; field in ANTLRStringStream
93 charPositionInLine = 0; in reset()
100 charPositionInLine++; in consume()
107 charPositionInLine=0; in consume()
166 state.charPositionInLine = charPositionInLine; in mark()
176 charPositionInLine = state.charPositionInLine; in rewind()
214 return charPositionInLine; in getCharPositionInLine()
222 this.charPositionInLine = pos; in setCharPositionInLine()
DClassicToken.java41 protected int charPositionInLine; field in ClassicToken
55 charPositionInLine = oldToken.getCharPositionInLine(); in ClassicToken()
91 return charPositionInLine; in getCharPositionInLine()
94 public void setCharPositionInLine(int charPositionInLine) { in setCharPositionInLine() argument
95 this.charPositionInLine = charPositionInLine; in setCharPositionInLine()
DRecognitionException.java89 public int charPositionInLine; field in RecognitionException
108 this.charPositionInLine = token.getCharPositionInLine(); in RecognitionException()
116 this.charPositionInLine = ((CharStream)input).getCharPositionInLine(); in RecognitionException()
139 this.charPositionInLine = priorPayload.getCharPositionInLine(); in extractInformationFromTreeNodeStream()
149 this.charPositionInLine = payload.getCharPositionInLine(); in extractInformationFromTreeNodeStream()
154 this.charPositionInLine = ((Tree)this.node).getCharPositionInLine(); in extractInformationFromTreeNodeStream()
DCommonToken.java35 protected int charPositionInLine = -1; // set to invalid position field in CommonToken
77 charPositionInLine = oldToken.getCharPositionInLine(); in CommonToken()
124 return charPositionInLine; in getCharPositionInLine()
127 public void setCharPositionInLine(int charPositionInLine) { in setCharPositionInLine() argument
128 this.charPositionInLine = charPositionInLine; in setCharPositionInLine()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimStringStream.cs63 protected int charPositionInLine = 0; field in Antlr.Runtime.SlimStringStream
143 return charPositionInLine;
147 charPositionInLine = value;
184 charPositionInLine = 0; in Reset()
195 charPositionInLine++; in Consume()
203 charPositionInLine = 0; in Consume()
270 state.charPositionInLine = charPositionInLine; in Mark()
283 charPositionInLine = state.charPositionInLine; in Rewind()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DANTLRStringStream.cs60 int charPositionInLine = 0; field in Antlr.Runtime.ANTLRStringStream
132 return charPositionInLine;
135 charPositionInLine = value;
148 charPositionInLine = 0; in Reset()
155 charPositionInLine++; in Consume()
162 charPositionInLine = 0; in Consume()
214 state.charPositionInLine = charPositionInLine; in Mark()
230 charPositionInLine = state.charPositionInLine; in Rewind()
DClassicToken.cs48 int charPositionInLine; field in Antlr.Runtime.ClassicToken
62 charPositionInLine = oldToken.CharPositionInLine; in ClassicToken()
107 return charPositionInLine;
110 charPositionInLine = value;
DCommonToken.cs42 int charPositionInLine = -1; // set to invalid position field in Antlr.Runtime.CommonToken
90 charPositionInLine = oldToken.CharPositionInLine; in CommonToken()
144 return charPositionInLine;
147 charPositionInLine = value;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DANTLRStringStream.cs62 int charPositionInLine = 0; field in Antlr.Runtime.ANTLRStringStream
146 return charPositionInLine;
150 charPositionInLine = value;
164 charPositionInLine = 0; in Reset()
173 charPositionInLine++; in Consume()
181 charPositionInLine = 0; in Consume()
246 state.charPositionInLine = charPositionInLine; in Mark()
263 charPositionInLine = state.charPositionInLine; in Rewind()
DClassicToken.cs50 int charPositionInLine; field in Antlr.Runtime.ClassicToken
66 charPositionInLine = oldToken.CharPositionInLine; in ClassicToken()
124 return charPositionInLine;
128 charPositionInLine = value;
DCommonToken.cs44 int charPositionInLine = -1; // set to invalid position field in Antlr.Runtime.CommonToken
97 charPositionInLine = oldToken.CharPositionInLine; in CommonToken()
162 return charPositionInLine;
166 charPositionInLine = value;
/external/antlr/antlr-3.4/runtime/ActionScript/project/test/org/antlr/runtime/test/
DTestANTLRStringStream.as17 assertEquals(stream.charPositionInLine, 0);
25 assertEquals(stream.charPositionInLine, i + 1);
35 assertEquals(stream.charPositionInLine, 3);
64 assertEquals(stream.charPositionInLine, 0);
72 assertEquals(stream.charPositionInLine, 2);
79 assertEquals(stream.charPositionInLine, 0);
96 assertEquals(stream.charPositionInLine, 1);
104 assertEquals(stream.charPositionInLine, 0);
110 assertEquals(stream.charPositionInLine, 0);
121 assertEquals(stream.charPositionInLine, 1);
[all …]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtokens.py184 self.charPositionInLine = oldToken.charPositionInLine
196 self.charPositionInLine = -1 # set to invalid position
260 return self.charPositionInLine
263 self.charPositionInLine = pos
308 self.line, self.charPositionInLine
332 self.charPositionInLine = oldToken.charPositionInLine
338 self.charPositionInLine = None
365 return self.charPositionInLine
368 self.charPositionInLine = pos
406 self.charPositionInLine
Dexceptions.py102 self.charPositionInLine = None
122 self.charPositionInLine = self.token.charPositionInLine
131 self.charPositionInLine = self.input.charPositionInLine
154 self.charPositionInLine = priorPayload.charPositionInLine
163 self.charPositionInLine = payload.charPositionInLine
167 self.charPositionInLine = self.node.charPositionInLine
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRStringStream.m38 @synthesize charPositionInLine;
68 charPositionInLine = 0;
86 charPositionInLine = 0;
103 charPositionInLine = 0;
120 charPositionInLine = 0;
158 copy.charPositionInLine = charPositionInLine;
174 charPositionInLine = 0;
189 charPositionInLine++;
192 charPositionInLine=0;
248 … %d, index=%d, line=%d, charPositionInLine=%d\n", (NSUInteger)State, markDepth, State.index, State…
[all …]
DANTLRRecognitionException.m37 @synthesize charPositionInLine;
73 charPositionInLine = token.charPositionInLine;
77 charPositionInLine = ((id<ANTLRCharStream>)input).charPositionInLine;
81 charPositionInLine = [node charPositionInLine];
143 [desc appendFormat:@" line:%d position:%d", line, charPositionInLine];
203 - (NSUInteger)charPositionInLine
205 return charPositionInLine;
210 charPositionInLine = aPos;
DANTLRCommonToken.m43 @synthesize charPositionInLine;
176 charPositionInLine = oldToken.charPositionInLine;
226 copy.charPositionInLine = charPositionInLine;
237 // charPositionInLine
239 - (NSUInteger) charPositionInLine
241 return charPositionInLine;
246 charPositionInLine = aCharPositionInLine;
389 …d>%@,%d:%d]", index, startIndex, stopIndex, txtString, type, channelStr, line, charPositionInLine];
DANTLRCharStreamState.h38 NSUInteger charPositionInLine; variable
43 @property (assign) NSUInteger charPositionInLine;
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt012lexerXML.py73 assert exc.charPositionInLine == 11, repr(exc.charPositionInLine)
97 assert exc.charPositionInLine == 2, repr(exc.charPositionInLine)
121 assert exc.charPositionInLine == 11, repr(exc.charPositionInLine)
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dteststreams.py35 self.failUnlessEqual(stream.charPositionInLine, 1)
40 self.failUnlessEqual(stream.charPositionInLine, 2)
45 self.failUnlessEqual(stream.charPositionInLine, 3)
50 self.failUnlessEqual(stream.charPositionInLine, 0)
55 self.failUnlessEqual(stream.charPositionInLine, 1)
60 self.failUnlessEqual(stream.charPositionInLine, 2)
65 self.failUnlessEqual(stream.charPositionInLine, 3)
70 self.failUnlessEqual(stream.charPositionInLine, 3)
75 self.failUnlessEqual(stream.charPositionInLine, 3)
90 self.failUnlessEqual(stream.charPositionInLine, 0)
[all …]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DRecognitionException.as90 public var charPositionInLine:int; variable in org.antlr.runtime.RecognitionException
108 this.charPositionInLine = token.charPositionInLine;
116 this.charPositionInLine = CharStream(input).charPositionInLine;
139 this.charPositionInLine = priorPayload.charPositionInLine;
149 this.charPositionInLine = payload.charPositionInLine;
154 this.charPositionInLine = this.node.charPositionInLine;
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3inputstream.c266 input->charPositionInLine = -1; in antlr3InputReset()
325 input->charPositionInLine++; in antlr38BitConsume()
332 input->charPositionInLine = 0; in antlr38BitConsume()
479 state->charPositionInLine = input->charPositionInLine; in antlr38BitMark()
533 input->charPositionInLine = state->charPositionInLine; in antlr38BitRewind()
639 return input->charPositionInLine; in antlr38BitGetCharPosition()
671 input->charPositionInLine = position; in antlr38BitSetCharPosition()
792 input->charPositionInLine++; in antlr3UTF16Consume()
799 input->charPositionInLine = 0; in antlr3UTF16Consume()
1074 input->charPositionInLine++; in antlr3UTF16ConsumeLE()
[all …]

12345