Home
last modified time | relevance | path

Searched refs:startToken (Results 1 – 25 of 95) sorted by relevance

1234

/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.js69 setTokenBoundaries: function(t, startToken, stopToken) { argument
75 if ( org.antlr.lang.isValue(startToken) ) {
76 if (startToken.getTokenIndex) {
77 start = startToken.getTokenIndex();
78 } else if (startToken.getStartIndex) {
79 start = startToken.getStartIndex();
81 start = startToken.getTokenStartIndex();
/external/antlr/runtime/ObjC/Framework/
DCommonErrorNode.m75 startToken = aStartToken;
76 if ( startToken ) [startToken retain];
91 if ( startToken ) [startToken release];
110 if ( [startToken isKindOfClass:[self class]] ) {
111 int i = [(id<Token>)startToken getTokenIndex];
118 else if ( [startToken isKindOfClass:[self class]] ) {
119 badText = [(id<TreeNodeStream>)input toStringFromNode:startToken ToNode:stopToken];
156 @synthesize startToken;
DCommonErrorNode.h41 id<Token> startToken; variable
47 From:(id<Token>)startToken
52 From:(id<Token>)startToken
64 @property (retain) id<Token> startToken;
DDebugTreeAdaptor.m201 - (void) setBoundariesForTree:(id<BaseTree>)aTree fromToken:(id<Token>)startToken toToken:(id<Token…
203 [treeAdaptor setBoundariesForTree:aTree fromToken:startToken toToken:stopToken];
204 if (aTree && startToken && stopToken) {
205 …[debugListener setTokenBoundariesForTree:[aTree hash] From:[startToken getTokenIndex] To:[stopToke…
DTokenStream.h59 - (NSString *) toStringFromToken:(id<Token>)startToken ToToken:(id<Token>)stopToken;
DDebugTokenStream.h60 - (NSString *) toStringFromToken:(CommonToken *)startToken ToToken:(CommonToken *)stopToken;
/external/antlr/runtime/C/src/
Dantlr3commontreeadaptor.c64 …_ADAPTOR adaptor, pANTLR3_TOKEN_STREAM ctnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
67 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
68 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
239 …_ADAPTOR adaptor, pANTLR3_TOKEN_STREAM ctnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… in errorNode() argument
372 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… in setTokenBoundaries() argument
384 if ( startToken != NULL) in setTokenBoundaries()
386 start = startToken->getTokenIndex(startToken); in setTokenBoundaries()
409 …3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_… in dbgSetTokenBoundaries() argument
411 setTokenBoundaries(adaptor, t, startToken, stopToken); in dbgSetTokenBoundaries()
413 if (t != NULL && startToken != NULL && stopToken != NULL) in dbgSetTokenBoundaries()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTreeAdaptor.cs116 public override void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) { in SetTokenBoundaries() argument
123 if (startToken != null) in SetTokenBoundaries()
124 start = startToken.TokenIndex; in SetTokenBoundaries()
DITreeAdaptor.cs269 void SetTokenBoundaries(object t, IToken startToken, IToken stopToken); in SetTokenBoundaries() argument
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTreeAdaptor.java99 public void setTokenBoundaries(Object t, Token startToken, Token stopToken) { in setTokenBoundaries() argument
103 if ( startToken!=null ) start = startToken.getTokenIndex(); in setTokenBoundaries()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugTreeAdaptor.cs184 public virtual void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) { in SetTokenBoundaries() argument
185 adaptor.SetTokenBoundaries(t, startToken, stopToken); in SetTokenBoundaries()
186 if (t != null && startToken != null && stopToken != null) { in SetTokenBoundaries()
188 t, startToken.TokenIndex, in SetTokenBoundaries()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugTreeAdaptor.cs239 public virtual void SetTokenBoundaries( object t, IToken startToken, IToken stopToken ) in SetTokenBoundaries() argument
241 adaptor.SetTokenBoundaries( t, startToken, stopToken ); in SetTokenBoundaries()
242 if ( t != null && startToken != null && stopToken != null ) in SetTokenBoundaries()
245 t, startToken.TokenIndex, in SetTokenBoundaries()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTreeAdaptor.java199 public void setTokenBoundaries(Object t, Token startToken, Token stopToken) { in setTokenBoundaries() argument
200 adaptor.setTokenBoundaries(t, startToken, stopToken); in setTokenBoundaries()
201 if ( t!=null && startToken!=null && stopToken!=null ) { in setTokenBoundaries()
203 t, startToken.getTokenIndex(), in setTokenBoundaries()
/external/clang/lib/Parse/
DParsePragma.cpp735 Toks[0].startToken(); in HandlePragmaMSInitSeg()
954 Toks[0].startToken(); in HandlePragma()
982 Alignment.startToken(); in HandlePragma()
1068 Toks[0].startToken(); in HandlePragma()
1110 Toks[0].startToken(); in HandlePragma()
1178 Toks[0].startToken(); in ParseAlignPragma()
1271 pragmaUnusedTok.startToken(); in HandlePragma()
1319 pragmaUnusedTok.startToken(); in HandlePragma()
1330 pragmaUnusedTok.startToken(); in HandlePragma()
1374 pragmaRedefTok.startToken(); in HandlePragma()
[all …]
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/expr/
DLambdaExprTest.java28 private void assertRange(String startToken, String endToken, Node node) { in assertRange() argument
30 assertEquals(startToken, tokenRange.getBegin().asString()); in assertRange()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/
DOpsBuilder.java38 Token startToken = input.getPositionTokenMap().get(position); in actualSize() local
39 int start = startToken.getTok().getPosition(); in actualSize()
40 for (Tok tok : startToken.getToksBefore()) { in actualSize()
57 Token startToken = input.getPositionTokenMap().get(position); in actualStartColumn() local
58 int start = startToken.getTok().getPosition(); in actualStartColumn()
60 for (Tok tok : startToken.getToksBefore()) { in actualStartColumn()
/external/starlark-go/syntax/
Dscan.go433 func (sc *scanner) startToken(val *tokenValue) { func
527 sc.startToken(val)
550 sc.startToken(val)
591 sc.startToken(val)
608 sc.startToken(val)
614 sc.startToken(val)
630 sc.startToken(val)
/external/antlr/runtime/C/include/
Dantlr3basetreeadaptor.h84 …_struct * adaptor, pANTLR3_TOKEN_STREAM tnstream, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
123 …LR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t, pANTLR3_COMMON_TOKEN startToken, pANTLR3_COMMON_…
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTreeAdaptor.cs423 public virtual void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) in SetTokenBoundaries() argument
432 if (startToken != null) in SetTokenBoundaries()
433 start = startToken.TokenIndex; in SetTokenBoundaries()
DITreeAdaptor.cs289 void SetTokenBoundaries( object t, IToken startToken, IToken stopToken ); in SetTokenBoundaries() argument
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp118 Toks[0].startToken(); in HandlePragma()
1039 Toks[0].startToken(); in HandlePragmaMSInitSeg()
1701 Toks[0].startToken(); in HandlePragma()
1730 Alignment.startToken(); in HandlePragma()
1816 Toks[0].startToken(); in HandlePragma()
1859 Toks[0].startToken(); in HandlePragma()
1978 Toks[0].startToken(); in ParseAlignPragma()
2072 pragmaUnusedTok.startToken(); in HandlePragma()
2121 pragmaUnusedTok.startToken(); in HandlePragma()
2133 pragmaUnusedTok.startToken(); in HandlePragma()
[all …]
/external/antlr/runtime/Cpp/include/
Dantlr3commontreeadaptor.hpp62 …TreeType* errorNode( CommonTokenType* tnstream, CommonTokenType* startToken, CommonTokenType* sto…
92 void setTokenBoundaries( TreeType* t, CommonTokenType* startToken, CommonTokenType* stopToken);
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonTreeAdaptor.as69 public override function setTokenBoundaries(t:Object, startToken:Token, stopToken:Token):void {
75 if ( startToken!=null ) {
76 start = startToken.tokenIndex;
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarAST.java554 public void setTokenBoundaries(Token startToken, Token stopToken) { in setTokenBoundaries() argument
555 if ( startToken!=null ) startIndex = startToken.getTokenIndex(); in setTokenBoundaries()
/external/llvm-project/clang/lib/Lex/
DPPLexerChange.cpp319 Result.startToken(); in HandleEndOfFile()
409 Result.startToken(); in HandleEndOfFile()
447 Result.startToken(); in HandleEndOfFile()
494 Result.startToken(); in HandleEndOfFile()

1234