/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
UnbufferedTokenStream.cs | 55 public class UnbufferedTokenStream : LookaheadStream<IToken>, ITokenStream, ITokenStreamInformation 64 private readonly ListStack<IToken> _realTokens = new ListStack<IToken>() { null }; 89 public IToken LastToken 97 public IToken LastRealToken 140 public override IToken NextElement() 142 IToken t = this.tokenSource.NextToken(); 147 public override bool IsEndOfFile(IToken o) 152 public IToken Get(int i) 167 public string ToString(IToken start, IToken stop [all...] |
BufferedTokenStream.cs | 65 protected List<IToken> _tokens = new List<IToken>(100); 134 public virtual IToken LastToken 142 public virtual IToken LastRealToken 147 IToken token; 228 IToken t = TokenSource.NextToken(); 236 public virtual IToken Get(int i) 249 public virtual List<IToken> Get(int start, int count) 261 List<IToken> subset = new List<IToken>(count) [all...] |
LegacyCommonTokenStream.cs | 60 protected List<IToken> tokens; 86 tokens = new List<IToken>( 500 ); 140 IToken t = _tokenSource.NextToken(); 203 while ( i < n && ( (IToken)tokens[i] ).Channel != channel ) 212 while ( i >= 0 && ( (IToken)tokens[i] ).Channel != channel ) 250 public virtual IList<IToken> GetTokens() 259 public virtual IList<IToken> GetTokens( int start, int stop ) 270 public virtual IList<IToken> GetTokens( int start, int stop, BitSet types ) 290 IList<IToken> filteredTokens = new List<IToken>(); [all...] |
ITokenStreamInformation.cs | 33 IToken LastToken 38 IToken LastRealToken
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
SlimToken.cs | 40 : IToken 53 #region IToken Members 55 string IToken.Text 78 int IToken.Line 89 int IToken.CharPositionInLine 136 int IToken.TokenIndex 147 ICharStream IToken.InputStream
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
BufferedTokenStream.cs | 63 protected List<IToken> _tokens = new List<IToken>(100); 120 public virtual IToken LastToken { 126 public virtual IToken LastRealToken { 129 IToken token; 197 IToken t = TokenSource.NextToken(); 205 public virtual IToken Get(int i) { 216 public virtual List<IToken> Get(int start, int count) 228 List<IToken> subset = new List<IToken>(count) [all...] |
UnbufferedTokenStream.cs | 54 public class UnbufferedTokenStream : LookaheadStream<IToken>, ITokenStream { 78 public override IToken NextElement() { 79 IToken t = this.tokenSource.NextToken(); 84 public override bool IsEndOfFile(IToken o) { 88 public IToken Get(int i) { 100 public string ToString(IToken start, IToken stop) {
|
LegacyCommonTokenStream.cs | 61 protected List<IToken> tokens; 86 tokens = new List<IToken>(500); 133 IToken t = _tokenSource.NextToken(); 188 while (i < n && ((IToken)tokens[i]).Channel != channel) { 195 while (i >= 0 && ((IToken)tokens[i]).Channel != channel) { 227 public virtual IList<IToken> GetTokens() { 234 public virtual IList<IToken> GetTokens(int start, int stop) { 244 public virtual IList<IToken> GetTokens(int start, int stop, BitSet types) { 259 IList<IToken> filteredTokens = new List<IToken>(); [all...] |
ITokenStreamInformation.cs | 31 IToken LastToken { 35 IToken LastRealToken {
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
CommonErrorNode.cs | 39 public IToken start; 40 public IToken stop; 43 public CommonErrorNode(ITokenStream input, IToken start, IToken stop, 70 if (start is IToken) { 71 int i = ((IToken)start).TokenIndex; 72 int j = ((IToken)stop).TokenIndex; 73 if (((IToken)stop).Type == TokenTypes.EndOfFile) {
|
ParseTree.cs | 48 public List<IToken> hiddenTokens; 90 if (payload is IToken) { 91 IToken t = (IToken)payload; 109 IToken hidden = (IToken)hiddenTokens[i]; 131 if (payload is IToken) { // leaf node token?
|
BaseTreeAdaptor.cs | 70 public virtual object ErrorNode(ITokenStream input, IToken start, IToken stop, 194 public virtual object BecomeRoot(IToken newRoot, object oldRoot) { 198 public virtual object Create(int tokenType, IToken fromToken) { 206 public virtual object Create(int tokenType, IToken fromToken, string text) { 218 IToken fromToken = CreateToken(tokenType, text); 283 public abstract IToken CreateToken(int tokenType, string text); 303 public abstract IToken CreateToken(IToken fromToken); 305 public abstract object Create(IToken payload) [all...] |
CommonTreeAdaptor.cs | 67 public override object Create(IToken payload) { 83 public override IToken CreateToken(int tokenType, string text) { 105 public override IToken CreateToken(IToken fromToken) { 116 public override void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) { 167 public override IToken GetToken(object t) {
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonErrorNode.cs | 41 public IToken start; 42 public IToken stop; 45 public CommonErrorNode( ITokenStream input, IToken start, IToken stop, 78 if ( start is IToken ) 80 int i = ( (IToken)start ).TokenIndex; 81 int j = ( (IToken)stop ).TokenIndex; 82 if ( ( (IToken)stop ).Type == TokenTypes.EndOfFile )
|
ParseTree.cs | 50 public List<IToken> hiddenTokens; 107 if ( payload is IToken ) 109 IToken t = (IToken)payload; 131 IToken hidden = (IToken)hiddenTokens[i]; 155 if ( payload is IToken )
|
RewriteRuleTokenStream.cs | 62 IToken t = (IToken)NextCore(); 66 public virtual IToken NextToken() 68 return (IToken)NextCore();
|
CommonTreeAdaptor.cs | 52 public override object Create( IToken payload ) 69 public override IToken CreateToken( int tokenType, string text ) 92 public override IToken CreateToken( IToken fromToken ) 103 public override IToken GetToken( object t )
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
DebugTreeAdaptor.cs | 64 public virtual object Create( IToken payload ) 76 public virtual object ErrorNode( ITokenStream input, IToken start, IToken stop, 172 public virtual void AddChild( object t, IToken child ) 178 public virtual object BecomeRoot( IToken newRoot, object oldRoot ) 186 public virtual object Create( int tokenType, IToken fromToken ) 193 public virtual object Create( int tokenType, IToken fromToken, string text ) 207 public object Create(IToken fromToken, string text) 234 public virtual IToken GetToken( object t ) 239 public virtual void SetTokenBoundaries( object t, IToken startToken, IToken stopToken [all...] |
DebugTokenStream.cs | 93 IToken t = input.LT( 1 ); 118 public virtual IToken LT( int i ) 138 public virtual IToken Get( int i ) 207 public virtual string ToString( IToken start, IToken stop )
|
ParseTreeBuilder.cs | 48 List<IToken> hiddenTokens = new List<IToken>(); 112 public override void ConsumeToken( IToken token ) 119 this.hiddenTokens = new List<IToken>(); 123 public override void ConsumeHiddenToken( IToken token )
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugGrammarParser.cs | 270 IToken NEWLINE3=null; 271 IToken ID4=null; 272 IToken char_literal5=null; 273 IToken NEWLINE7=null; 274 IToken NEWLINE9=null; 275 IToken NEWLINE10=null; 340 NEWLINE3=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat72); 375 ID4=(IToken)Match(input,ID,Follow._ID_in_stat105); 379 char_literal5=(IToken)Match(input,17,Follow._17_in_stat107); 390 NEWLINE7=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat111); [all...] |
ProfileGrammarParser.cs | 274 IToken NEWLINE3=null; 275 IToken ID4=null; 276 IToken char_literal5=null; 277 IToken NEWLINE7=null; 278 IToken NEWLINE9=null; 279 IToken NEWLINE10=null; 344 NEWLINE3=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat72); 379 ID4=(IToken)Match(input,ID,Follow._ID_in_stat105); 383 char_literal5=(IToken)Match(input,17,Follow._17_in_stat107); 394 NEWLINE7=(IToken)Match(input,NEWLINE,Follow._NEWLINE_in_stat111); [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
DebugTokenStream.cs | 81 IToken t = input.LT(1); 102 public virtual IToken LT(int i) { 118 public virtual IToken Get(int i) { 173 public virtual string ToString(IToken start, IToken stop) {
|
ParseTreeBuilder.cs | 46 List<IToken> hiddenTokens = new List<IToken>(); 100 public override void ConsumeToken(IToken token) { 106 this.hiddenTokens = new List<IToken>(); 110 public override void ConsumeHiddenToken(IToken token) {
|
DebugTreeAdaptor.cs | 61 public virtual object Create(IToken payload) { 71 public virtual object ErrorNode(ITokenStream input, IToken start, IToken stop, 134 public virtual void AddChild(object t, IToken child) { 139 public virtual object BecomeRoot(IToken newRoot, object oldRoot) { 146 public virtual object Create(int tokenType, IToken fromToken) { 152 public virtual object Create(int tokenType, IToken fromToken, string text) { 180 public virtual IToken GetToken(object t) { 184 public virtual void SetTokenBoundaries(object t, IToken startToken, IToken stopToken) [all...] |