Home
last modified time | relevance | path

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

12

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DUnbufferedTokenStream.java51 protected TokenSource tokenSource; field in UnbufferedTokenStream
57 public UnbufferedTokenStream(TokenSource tokenSource) { in UnbufferedTokenStream() argument
58 this.tokenSource = tokenSource; in UnbufferedTokenStream()
62 Token t = tokenSource.nextToken(); in nextElement()
69 public TokenSource getTokenSource() { return tokenSource; } in getTokenSource()
81 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()
121 t = tokenSource.nextToken(); in fillBuffer()
356 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()
77 public TokenSource getTokenSource() { return tokenSource; } in getTokenSource()
133 Token t = tokenSource.nextToken(); in fetch()
187 public void setTokenSource(TokenSource tokenSource) { in setTokenSource() argument
188 this.tokenSource = tokenSource; in setTokenSource()
231 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()
154 public void setTokenSource(TokenSource tokenSource) { in setTokenSource() argument
155 super.setTokenSource(tokenSource); in setTokenSource()
/external/antlr/antlr-3.4/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()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRUnbufferedTokenStream.m36 @synthesize tokenSource;
48 tokenSource = nil;
58 tokenSource = aTokenSource;
59 if ( tokenSource ) [tokenSource retain];
71 if ( tokenSource ) [tokenSource release];
77 id<ANTLRToken> t = [tokenSource nextToken];
89 return tokenSource;
114 return [tokenSource getSourceName];
DANTLRBufferedTokenStream.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<ANTLRToken> t = [tokenSource nextToken];
278 tokenSource = aTokenSource;
337 return [tokenSource getSourceName];
DANTLRUnbufferedTokenStream.h39 id<ANTLRTokenSource> tokenSource; variable
44 @property (retain, getter=getTokenSource, setter=setTokenSource:) id<ANTLRTokenSource> tokenSource;
DANTLRBufferedTokenStream.h36 __strong id<ANTLRTokenSource> tokenSource; variable
58 @property (retain, getter=getTokenSource,setter=setTokenSource:) id<ANTLRTokenSource> tokenSource;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DUnbufferedTokenStream.cs58 protected ITokenSource tokenSource; field in Antlr.Runtime.UnbufferedTokenStream
66 public UnbufferedTokenStream(ITokenSource tokenSource) in UnbufferedTokenStream() argument
68 this.tokenSource = tokenSource; in UnbufferedTokenStream()
75 return this.tokenSource;
142 IToken t = this.tokenSource.NextToken(); in NextElement()
DCommonTokenStream.cs59 public CommonTokenStream(ITokenSource tokenSource) in CommonTokenStream() argument
60 : this(tokenSource, TokenChannels.Default) in CommonTokenStream()
64 public CommonTokenStream(ITokenSource tokenSource, int channel) in CommonTokenStream() argument
65 : base(tokenSource) in CommonTokenStream()
DLegacyCommonTokenStream.cs89 public LegacyCommonTokenStream(ITokenSource tokenSource) in LegacyCommonTokenStream() argument
92 this._tokenSource = tokenSource; in LegacyCommonTokenStream()
95 public LegacyCommonTokenStream( ITokenSource tokenSource, int channel ) in LegacyCommonTokenStream() argument
96 : this( tokenSource ) in LegacyCommonTokenStream()
119 public virtual void SetTokenSource( ITokenSource tokenSource ) in SetTokenSource() argument
121 this._tokenSource = tokenSource; in SetTokenSource()
/external/antlr/antlr-3.4/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/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimTokenStream.cs77 public FastTokenStream( ITokenSource<SlimToken> tokenSource ) in FastTokenStream() argument
80 this._tokenSource = tokenSource; in FastTokenStream()
83 public FastTokenStream( ITokenSource<SlimToken> tokenSource, int channel ) in FastTokenStream() argument
84 : this( tokenSource ) in FastTokenStream()
98 public void SetTokenSource( ITokenSource<SlimToken> tokenSource ) in SetTokenSource() argument
100 this._tokenSource = tokenSource; in SetTokenSource()
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRUnbufferedTokenStream.h39 id<ANTLRTokenSource> tokenSource; variable
44 @property (retain, getter=getTokenSource, setter=setTokenSource:) id<ANTLRTokenSource> tokenSource;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRUnbufferedTokenStream.h39 id<ANTLRTokenSource> tokenSource; variable
44 @property (retain, getter=getTokenSource, setter=setTokenSource:) id<ANTLRTokenSource> tokenSource;
DANTLRBufferedTokenStream.h34 id<ANTLRTokenSource> tokenSource; variable
56 @property (retain, getter=getTokenSource,setter=setTokenSource) id<ANTLRTokenSource> tokenSource;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRUnbufferedTokenStream.h39 id<ANTLRTokenSource> tokenSource; variable
44 @property (retain, getter=getTokenSource, setter=setTokenSource:) id<ANTLRTokenSource> tokenSource;
DANTLRBufferedTokenStream.h34 id<ANTLRTokenSource> tokenSource; variable
56 @property (retain, getter=getTokenSource,setter=setTokenSource) id<ANTLRTokenSource> tokenSource;

12