Home
last modified time | relevance | path

Searched refs:oldToken (Results 1 – 18 of 18) sorted by relevance

/external/antlr/runtime/Python3/antlr3/
Dtokens.py175 input=None, start=None, stop=None, oldToken=None): argument
177 if oldToken:
178 super().__init__(oldToken.type, oldToken.channel, oldToken.text,
179 oldToken.index, oldToken.line,
180 oldToken.charPositionInLine, oldToken.input)
181 if isinstance(oldToken, CommonToken):
182 self.start = oldToken.start
183 self.stop = oldToken.stop
271 oldToken=None): argument
272 if oldToken:
[all …]
Dtree.py1510 return CommonToken(oldToken=fromToken)
/external/antlr/runtime/Python/antlr3/
Dtokens.py178 input=None, start=None, stop=None, oldToken=None): argument
181 if oldToken is not None:
182 self.type = oldToken.type
183 self.line = oldToken.line
184 self.charPositionInLine = oldToken.charPositionInLine
185 self.channel = oldToken.channel
186 self.index = oldToken.index
187 self._text = oldToken._text
188 self.input = oldToken.input
189 if isinstance(oldToken, CommonToken):
[all …]
Dtree.py1519 return CommonToken(oldToken=fromToken)
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DCommonToken.cs91 public CommonToken( IToken oldToken ) in CommonToken() argument
93 text = oldToken.Text; in CommonToken()
94 type = oldToken.Type; in CommonToken()
95 line = oldToken.Line; in CommonToken()
96 index = oldToken.TokenIndex; in CommonToken()
97 charPositionInLine = oldToken.CharPositionInLine; in CommonToken()
98 channel = oldToken.Channel; in CommonToken()
99 input = oldToken.InputStream; in CommonToken()
100 if ( oldToken is CommonToken ) in CommonToken()
102 start = ( (CommonToken)oldToken ).start; in CommonToken()
[all …]
DClassicToken.cs61 public ClassicToken( IToken oldToken ) in ClassicToken() argument
63 text = oldToken.Text; in ClassicToken()
64 type = oldToken.Type; in ClassicToken()
65 line = oldToken.Line; in ClassicToken()
66 charPositionInLine = oldToken.CharPositionInLine; in ClassicToken()
67 channel = oldToken.Channel; in ClassicToken()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DCommonToken.cs85 public CommonToken(IToken oldToken) { in CommonToken() argument
86 text = oldToken.Text; in CommonToken()
87 type = oldToken.Type; in CommonToken()
88 line = oldToken.Line; in CommonToken()
89 index = oldToken.TokenIndex; in CommonToken()
90 charPositionInLine = oldToken.CharPositionInLine; in CommonToken()
91 channel = oldToken.Channel; in CommonToken()
92 input = oldToken.InputStream; in CommonToken()
93 if (oldToken is CommonToken) { in CommonToken()
94 start = ((CommonToken)oldToken).start; in CommonToken()
[all …]
DClassicToken.cs58 public ClassicToken(IToken oldToken) { in ClassicToken() argument
59 text = oldToken.Text; in ClassicToken()
60 type = oldToken.Type; in ClassicToken()
61 line = oldToken.Line; in ClassicToken()
62 charPositionInLine = oldToken.CharPositionInLine; in ClassicToken()
63 channel = oldToken.Channel; in ClassicToken()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DCommonToken.java72 public CommonToken(Token oldToken) { in CommonToken() argument
73 text = oldToken.getText(); in CommonToken()
74 type = oldToken.getType(); in CommonToken()
75 line = oldToken.getLine(); in CommonToken()
76 index = oldToken.getTokenIndex(); in CommonToken()
77 charPositionInLine = oldToken.getCharPositionInLine(); in CommonToken()
78 channel = oldToken.getChannel(); in CommonToken()
79 input = oldToken.getInputStream(); in CommonToken()
80 if ( oldToken instanceof CommonToken ) { in CommonToken()
81 start = ((CommonToken)oldToken).start; in CommonToken()
[all …]
DClassicToken.java51 public ClassicToken(Token oldToken) { in ClassicToken() argument
52 text = oldToken.getText(); in ClassicToken()
53 type = oldToken.getType(); in ClassicToken()
54 line = oldToken.getLine(); in ClassicToken()
55 charPositionInLine = oldToken.getCharPositionInLine(); in ClassicToken()
56 channel = oldToken.getChannel(); in ClassicToken()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DCommonToken.js2 var oldToken;
12 oldToken = arguments[0];
13 this.text = oldToken.getText();
14 this.type = oldToken.getType();
15 this.line = oldToken.getLine();
16 this.index = oldToken.getTokenIndex();
17 this.charPositionInLine = oldToken.getCharPositionInLine();
18 this.channel = oldToken.getChannel();
19 if ( oldToken instanceof org.antlr.runtime.CommonToken ) {
20 this.start = oldToken.start;
[all …]
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DCommonToken.as68 public static function cloneToken(oldToken:Token):CommonToken {
69 var token:CommonToken = new CommonToken(oldToken.type, oldToken.text);
70 token._line = oldToken.line;
71 token._index = oldToken.tokenIndex;
72 token._charPositionInLine = oldToken.charPositionInLine;
73 token._channel = oldToken.channel;
74 if ( oldToken is CommonToken ) {
75 token._start = CommonToken(oldToken).startIndex;
76 token._stop = CommonToken(oldToken).stopIndex;
/external/antlr/runtime/ObjC/Framework/
DCommonToken.m168 - (id) initWithToken:(CommonToken *)oldToken
171 text = [NSString stringWithString:oldToken.text];
173 type = oldToken.type;
174 line = oldToken.line;
175 index = oldToken.index;
176 charPositionInLine = oldToken.charPositionInLine;
177 channel = oldToken.channel;
178 input = oldToken.input;
180 if ( [oldToken isKindOfClass:[CommonToken class]] ) {
181 startIndex = oldToken.startIndex;
[all …]
/external/apache-commons-bcel/src/examples/Mini/
DMiniParser.java948 Token oldToken; in jj_consume_token() local
949 if ((oldToken = token).next != null) { in jj_consume_token()
971 token = oldToken; in jj_consume_token()
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPp.cpp178 int oldToken; in CPPdefine() local
181 oldToken = existing->body.getToken(parseContext, &oldPpToken); in CPPdefine()
183 if (oldToken != newToken || oldPpToken != newPpToken) { in CPPdefine()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParser.java9063 Token oldToken; in jj_consume_token() local
9064 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
9081 token = oldToken; in jj_consume_token()
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParser.java10110 Token oldToken; in jj_consume_token() local
10111 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
10128 token = oldToken; in jj_consume_token()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DASTParser.java8909 Token oldToken; in jj_consume_token() local
8910 if ((oldToken = token).next != null) token = token.next; in jj_consume_token()
8927 token = oldToken; in jj_consume_token()