Home
last modified time | relevance | path

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

123456

/external/antlr/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/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/runtime/Java/src/main/java/org/antlr/runtime/
DANTLRStringStream.java51 protected int charPositionInLine = 0; field in ANTLRStringStream
93 charPositionInLine = 0; in reset()
101 charPositionInLine++; in consume()
108 charPositionInLine=0; in consume()
172 state.charPositionInLine = charPositionInLine; in mark()
183 charPositionInLine = state.charPositionInLine; in rewind()
227 return charPositionInLine; in getCharPositionInLine()
237 this.charPositionInLine = pos; in setCharPositionInLine()
DClassicToken.java41 protected int charPositionInLine; field in ClassicToken
55 charPositionInLine = oldToken.getCharPositionInLine(); in ClassicToken()
97 return charPositionInLine; in getCharPositionInLine()
101 public void setCharPositionInLine(int charPositionInLine) { in setCharPositionInLine() argument
102 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()
150 this.charPositionInLine = priorPayload.getCharPositionInLine(); in extractInformationFromTreeNodeStream()
165 this.charPositionInLine = payload.getCharPositionInLine(); in extractInformationFromTreeNodeStream()
170 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()
130 return charPositionInLine; in getCharPositionInLine()
134 public void setCharPositionInLine(int charPositionInLine) { in setCharPositionInLine() argument
135 this.charPositionInLine = charPositionInLine; in setCharPositionInLine()
/external/antlr/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/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/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/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/runtime/ObjC/Framework/
DRecognitionException.m41 @synthesize charPositionInLine;
78 charPositionInLine = token.charPositionInLine;
82 charPositionInLine = ((id<CharStream>)input).getCharPositionInLine;
86 charPositionInLine = [node charPositionInLine];
103 self.charPositionInLine = [token charPositionInLine];
112 charPositionInLine = [anInputStream getCharPositionInLine];
158 charPositionInLine = priorPayload.charPositionInLine;
168 charPositionInLine = payload.charPositionInLine;
173 charPositionInLine = ((id<Tree>)node).charPositionInLine;
212 [desc appendFormat:@" line:%d position:%d", line, charPositionInLine];
[all …]
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 …]
/external/antlr/runtime/Python3/antlr3/
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
Dtokens.py57 index=-1, line=0, charPositionInLine=-1, input=None): argument
64 self._charPositionInLine = charPositionInLine
107 def charPositionInLine(self): member in Token
111 @charPositionInLine.setter
112 def charPositionInLine(self, pos): member in Token
180 oldToken.charPositionInLine, oldToken.input)
275 charPositionInLine=oldToken.charPositionInLine)
279 index=None, line=None, charPositionInLine=None)
/external/antlr/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/runtime/Python3/unittests/
Dteststreams.py34 self.assertEqual(stream.charPositionInLine, 1)
39 self.assertEqual(stream.charPositionInLine, 2)
44 self.assertEqual(stream.charPositionInLine, 3)
49 self.assertEqual(stream.charPositionInLine, 0)
54 self.assertEqual(stream.charPositionInLine, 1)
59 self.assertEqual(stream.charPositionInLine, 2)
64 self.assertEqual(stream.charPositionInLine, 3)
69 self.assertEqual(stream.charPositionInLine, 3)
74 self.assertEqual(stream.charPositionInLine, 3)
89 self.assertEqual(stream.charPositionInLine, 0)
[all …]
/external/antlr/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/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;

123456