Home
last modified time | relevance | path

Searched refs:tokenSource (Results 1 – 25 of 28) sorted by relevance

12

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DUnbufferedTokenStream.java48 protected TokenSource tokenSource; field in UnbufferedTokenStream
54 public UnbufferedTokenStream(TokenSource tokenSource) { in UnbufferedTokenStream() argument
55 this.tokenSource = tokenSource; in UnbufferedTokenStream()
60 Token t = tokenSource.nextToken(); in nextElement()
69 public TokenSource getTokenSource() { return tokenSource; } in getTokenSource()
86 public String getSourceName() { return tokenSource.getSourceName(); } in getSourceName()
DLegacyCommonTokenStream.java40 protected TokenSource tokenSource; field in LegacyCommonTokenStream
73 public LegacyCommonTokenStream(TokenSource tokenSource) { in LegacyCommonTokenStream() argument
75 this.tokenSource = tokenSource; in LegacyCommonTokenStream()
78 public LegacyCommonTokenStream(TokenSource tokenSource, int channel) { in LegacyCommonTokenStream() argument
79 this(tokenSource); in LegacyCommonTokenStream()
84 public void setTokenSource(TokenSource tokenSource) { in setTokenSource() argument
85 this.tokenSource = tokenSource; in setTokenSource()
97 Token t = tokenSource.nextToken(); in fillBuffer()
120 t = tokenSource.nextToken(); in fillBuffer()
368 return tokenSource; in getTokenSource()
DBufferedTokenStream.java50 protected TokenSource tokenSource; field in BufferedTokenStream
73 public BufferedTokenStream(TokenSource tokenSource) { in BufferedTokenStream() argument
74 this.tokenSource = tokenSource; in BufferedTokenStream()
78 public TokenSource getTokenSource() { return tokenSource; } in getTokenSource()
143 Token t = tokenSource.nextToken(); in fetch()
200 public void setTokenSource(TokenSource tokenSource) { in setTokenSource() argument
201 this.tokenSource = tokenSource; in setTokenSource()
245 public String getSourceName() { return tokenSource.getSourceName(); } in getSourceName()
DCommonTokenStream.java54 public CommonTokenStream(TokenSource tokenSource) { in CommonTokenStream() argument
55 super(tokenSource); in CommonTokenStream()
58 public CommonTokenStream(TokenSource tokenSource, int channel) { in CommonTokenStream() argument
59 this(tokenSource); in CommonTokenStream()
160 public void setTokenSource(TokenSource tokenSource) { in setTokenSource() argument
161 super.setTokenSource(tokenSource); in setTokenSource()
DTokenRewriteStream.java181 public TokenRewriteStream(TokenSource tokenSource) { in TokenRewriteStream() argument
182 super(tokenSource); in TokenRewriteStream()
186 public TokenRewriteStream(TokenSource tokenSource, int channel) { in TokenRewriteStream() argument
187 super(tokenSource, channel); in TokenRewriteStream()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DUnbufferedTokenStream.cs56 protected ITokenSource tokenSource; field in Antlr.Runtime.UnbufferedTokenStream
62 public UnbufferedTokenStream(ITokenSource tokenSource) { in UnbufferedTokenStream() argument
63 this.tokenSource = tokenSource; in UnbufferedTokenStream()
68 return this.tokenSource;
79 IToken t = this.tokenSource.NextToken(); in NextElement()
DCommonTokenStream.cs56 public CommonTokenStream(ITokenSource tokenSource) in CommonTokenStream() argument
57 : this(tokenSource, TokenChannels.Default) { in CommonTokenStream()
60 public CommonTokenStream(ITokenSource tokenSource, int channel) in CommonTokenStream() argument
61 : base(tokenSource) { in CommonTokenStream()
DLegacyCommonTokenStream.cs89 public LegacyCommonTokenStream(ITokenSource tokenSource) in LegacyCommonTokenStream() argument
91 this._tokenSource = tokenSource; in LegacyCommonTokenStream()
94 public LegacyCommonTokenStream(ITokenSource tokenSource, int channel) in LegacyCommonTokenStream() argument
95 : this(tokenSource) { in LegacyCommonTokenStream()
114 public virtual void SetTokenSource(ITokenSource tokenSource) { in SetTokenSource() argument
115 this._tokenSource = tokenSource; in SetTokenSource()
DTokenRewriteStream.cs197 public TokenRewriteStream(ITokenSource tokenSource) in TokenRewriteStream() argument
198 : base(tokenSource) { in TokenRewriteStream()
202 public TokenRewriteStream(ITokenSource tokenSource, int channel) in TokenRewriteStream() argument
203 : base(tokenSource, channel) { in TokenRewriteStream()
DBufferedTokenStream.cs79 public BufferedTokenStream(ITokenSource tokenSource) { in BufferedTokenStream() argument
80 this._tokenSource = tokenSource; in BufferedTokenStream()
/external/antlr/runtime/ObjC/Framework/
DUnbufferedTokenStream.m36 @synthesize tokenSource;
48 tokenSource = nil;
58 tokenSource = aTokenSource;
59 if ( tokenSource ) [tokenSource retain];
71 if ( tokenSource ) [tokenSource release];
77 id<Token> t = [tokenSource nextToken];
89 return tokenSource;
114 return [tokenSource getSourceName];
DBufferedTokenStream.m36 @synthesize tokenSource;
56 tokenSource = nil;
68 tokenSource = [aSource retain];
81 copy.tokenSource = self.tokenSource;
96 if ( tokenSource ) [tokenSource release];
112 return tokenSource;
197 id<Token> t = [tokenSource nextToken];
278 tokenSource = aTokenSource;
337 return [tokenSource getSourceName];
DUnbufferedTokenStream.h39 id<TokenSource> tokenSource; variable
44 @property (retain, getter=getTokenSource, setter=setTokenSource:) id<TokenSource> tokenSource;
DBufferedTokenStream.h36 __strong id<TokenSource> tokenSource; variable
58 @property (retain, getter=getTokenSource,setter=setTokenSource:) id<TokenSource> tokenSource;
DCommonTokenStream.m245 return tokenSource;
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DCommonTokenStream.js8 org.antlr.runtime.CommonTokenStream = function(tokenSource, channel) { argument
17 this.tokenSource = tokenSource;
26 setTokenSource: function(tokenSource) { argument
27 this.tokenSource = tokenSource;
39 t = this.tokenSource.nextToken(),
67 t = this.tokenSource.nextToken();
279 return this.tokenSource;
/external/antlr/runtime/Python3/antlr3/
Dstreams.py571 def __init__(self, tokenSource=None, channel=DEFAULT_CHANNEL): argument
583 self.tokenSource = tokenSource
614 return self.tokenSource.makeEOFToken()
617 def setTokenSource(self, tokenSource): argument
620 self.tokenSource = tokenSource
640 t = self.tokenSource.nextToken()
664 t = self.tokenSource.nextToken()
872 return self.tokenSource
876 return self.tokenSource.getSourceName()
1026 def __init__(self, tokenSource=None, channel=DEFAULT_CHANNEL): argument
[all …]
/external/antlr/runtime/Python/antlr3/
Dstreams.py617 def __init__(self, tokenSource=None, channel=DEFAULT_CHANNEL): argument
629 self.tokenSource = tokenSource
660 return self.tokenSource.makeEOFToken()
663 def setTokenSource(self, tokenSource): argument
666 self.tokenSource = tokenSource
686 t = self.tokenSource.nextToken()
715 t = self.tokenSource.nextToken()
926 return self.tokenSource
930 return self.tokenSource.getSourceName()
1081 def __init__(self, tokenSource=None, channel=DEFAULT_CHANNEL): argument
[all …]
/external/antlr/runtime/C/include/
Dantlr3tokenstream.h61 pANTLR3_COMMON_TOKEN (*nextToken)(struct ANTLR3_TOKEN_SOURCE_struct * tokenSource);
104 pANTLR3_TOKEN_SOURCE tokenSource; member
151 pANTLR3_TOKEN_SOURCE tokenSource);
/external/antlr/runtime/C/src/
Dantlr3tokenstream.c58 static void setTokenSource (pANTLR3_TOKEN_STREAM ts, pANTLR3_TOKEN_SOURCE tokenSource);
377 pANTLR3_COMMON_TOKEN teof = &(ts->tokenSource->eofToken); in tokLT()
397 pANTLR3_COMMON_TOKEN teof = &(ts->tokenSource->eofToken); in tokLT()
509 return ts->tokenSource; in getTokenSource()
514 pANTLR3_TOKEN_SOURCE tokenSource) in setTokenSource() argument
516 ts->tokenSource = tokenSource; in setTokenSource()
964 tok = tokenStream->tstream->tokenSource->nextToken(tokenStream->tstream->tokenSource); in fillBuffer()
1013 tok = tokenStream->tstream->tokenSource->nextToken(tokenStream->tstream->tokenSource); in fillBuffer()
1090 return ((pANTLR3_TOKEN_STREAM)(is->super))->tokenSource->fileName; in getSourceName()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DCommonTokenStream.as65 …public function CommonTokenStream(tokenSource:TokenSource = null, channel:int = TokenConstants.DEF…
66 _tokenSource = tokenSource;
71 public function set tokenSource(tokenSource:TokenSource):void { property in org.antlr.runtime.CommonTokenStream
72 _tokenSource = tokenSource;
84 var t:Token = tokenSource.nextToken();
106 t = tokenSource.nextToken();
329 public function get tokenSource():TokenSource { property in org.antlr.runtime.CommonTokenStream
334 return tokenSource.sourceName;
DTokenStream.as52 function get tokenSource():TokenSource;
DTokenRewriteStream.as96 …public function TokenRewriteStream(tokenSource:TokenSource = null, channel:int = TokenConstants.DE…
97 super(tokenSource, channel);
/external/antlr/runtime/Cpp/include/
Dantlr3tokenstream.hpp169 void set_tokenSource( TokenSourceType* tokenSource );
188 void setTokenSource(TokenSourceType* tokenSource);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DDbg.stg114 …proxy->grammarFileName = INPUT->tokenSource->strFactory->newStr8(INPUT->tokenSource->strFactory, (…

12