OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fromToken
(Results
1 - 25
of
44
) sorted by null
1
2
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
CommonTreeAdaptor.cs
92
public override IToken CreateToken( IToken
fromToken
)
94
return new CommonToken(
fromToken
);
BaseTreeAdaptor.cs
242
public virtual object Create( int tokenType, IToken
fromToken
)
244
fromToken
= CreateToken(
fromToken
);
245
fromToken
.Type = tokenType;
246
object t = Create(
fromToken
);
250
public virtual object Create( int tokenType, IToken
fromToken
, string text )
252
if (
fromToken
== null )
255
fromToken
= CreateToken(
fromToken
);
256
fromToken
.Type = tokenType
[
all
...]
ITreeAdaptor.cs
75
object Create(int tokenType, IToken
fromToken
);
78
* Same as create(tokenType,
fromToken
) except set the text too.
87
object Create(int tokenType, IToken
fromToken
, string text);
90
* Same as create(
fromToken
) except set the text too.
99
object Create(IToken
fromToken
, string text);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
BaseTreeAdaptor.js
139
create: function(tokenType,
fromToken
) {
144
fromToken
= this.createToken(tokenType, text);
145
t = this.create(
fromToken
);
148
fromToken
= this.createToken(
fromToken
);
149
fromToken
.setType(tokenType);
150
t = this.create(
fromToken
);
155
fromToken
= this.createToken(
fromToken
);
156
fromToken
.setType(tokenType)
[
all
...]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
BaseTreeAdaptor.cs
198
public virtual object Create(int tokenType, IToken
fromToken
) {
199
fromToken
= CreateToken(
fromToken
);
200
//((ClassicToken)
fromToken
).setType(tokenType);
201
fromToken
.Type = tokenType;
202
ITree t = (ITree)Create(
fromToken
);
206
public virtual object Create(int tokenType, IToken
fromToken
, string text) {
207
if (
fromToken
== null)
210
fromToken
= CreateToken(
fromToken
);
[
all
...]
ITreeAdaptor.cs
206
object Create(int tokenType, IToken
fromToken
);
209
* Same as create(tokenType,
fromToken
) except set the text too.
218
object Create(int tokenType, IToken
fromToken
, string text);
CommonTreeAdaptor.cs
105
public override IToken CreateToken(IToken
fromToken
) {
106
return new CommonToken(
fromToken
);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
BaseTreeAdaptor.java
182
public Object create(int tokenType, Token
fromToken
) {
183
fromToken
= createToken(
fromToken
);
184
//((ClassicToken)
fromToken
).setType(tokenType);
185
fromToken
.setType(tokenType);
186
Tree t = (Tree)create(
fromToken
);
190
public Object create(int tokenType, Token
fromToken
, String text) {
191
if (
fromToken
== null) return create(tokenType, text);
192
fromToken
= createToken(
fromToken
);
[
all
...]
TreeAdaptor.java
169
public Object create(int tokenType, Token
fromToken
);
171
/** Same as create(tokenType,
fromToken
) except set the text too.
177
public Object create(int tokenType, Token
fromToken
, String text);
CommonTreeAdaptor.java
85
public Token createToken(Token
fromToken
) {
86
return new CommonToken(
fromToken
);
/external/antlr/antlr-3.4/runtime/C/src/
antlr3basetreeadaptor.c
58
static pANTLR3_BASE_TREE createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN
fromToken
);
59
static pANTLR3_BASE_TREE dbgCreateTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN
fromToken
);
60
static pANTLR3_BASE_TREE createTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN
fromToken
, pANTLR3_UINT8 text);
61
static pANTLR3_BASE_TREE dbgCreateTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN
fromToken
, pANTLR3_UINT8 text);
760
createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN
fromToken
)
764
fromToken
= adaptor->createTokenFromToken(adaptor,
fromToken
);
768
fromToken
->setType(
fromToken
, tokenType);
772
return adaptor->create(adaptor,
fromToken
);
[
all
...]
antlr3commontreeadaptor.c
50
static pANTLR3_COMMON_TOKEN createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN
fromToken
);
327
createTokenFromToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_COMMON_TOKEN
fromToken
)
340
newToken->toString =
fromToken
->toString;
342
if (
fromToken
->textState == ANTLR3_TEXT_CHARP)
345
newToken->tokText.chars =
fromToken
->tokText.chars;
349
text =
fromToken
->getText(
fromToken
);
354
newToken->setLine (newToken,
fromToken
->getLine(
fromToken
));
355
newToken->setTokenIndex (newToken,
fromToken
->getTokenIndex(fromToken))
[
all
...]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRCommonTree.h
53
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
TokenType:(NSInteger)tokenType;
54
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
TokenType:(NSInteger)tokenType Text:(NSString *)tokenText;
55
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
Text:(NSString *)tokenText;
ANTLRTreeAdaptor.h
110
- (id<ANTLRTree>) createTree:(NSInteger)tokenType
FromToken
:(id<ANTLRToken>)
fromToken
;
111
- (id<ANTLRTree>) createTree:(NSInteger)tokenType
FromToken
:(id<ANTLRToken>)
fromToken
Text:(NSString *)text;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRCommonTree.h
53
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
TokenType:(NSInteger)tokenType;
54
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
TokenType:(NSInteger)tokenType Text:(NSString *)tokenText;
55
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
Text:(NSString *)tokenText;
ANTLRTreeAdaptor.h
110
- (id<ANTLRTree>) createTree:(NSInteger)tokenType
FromToken
:(id<ANTLRToken>)
fromToken
;
111
- (id<ANTLRTree>) createTree:(NSInteger)tokenType
FromToken
:(id<ANTLRToken>)
fromToken
Text:(NSString *)text;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRCommonTree.h
53
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
TokenType:(NSInteger)tokenType;
54
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
TokenType:(NSInteger)tokenType Text:(NSString *)tokenText;
55
+ (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)
fromToken
Text:(NSString *)tokenText;
ANTLRTreeAdaptor.h
110
- (id<ANTLRTree>) createTree:(NSInteger)tokenType
FromToken
:(id<ANTLRToken>)
fromToken
;
111
- (id<ANTLRTree>) createTree:(NSInteger)tokenType
FromToken
:(id<ANTLRToken>)
fromToken
Text:(NSString *)text;