/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
H A D | ITokenStream.cs | 73 * Return the text of all tokens from start to stop, inclusive. 79 string ToString(int start, int stop); argument 89 string ToString(IToken start, IToken stop); argument
|
H A D | LegacyCommonTokenStream.cs | 234 public virtual IList<IToken> GetTokens(int start, int stop) { argument 235 return GetTokens(start, stop, (BitSet)null); 239 * Given a start and stop index, return a List of all tokens in 244 public virtual IList<IToken> GetTokens(int start, int stop, BitSet types) { argument 248 if (stop >= tokens.Count) { 249 stop = tokens.Count - 1; 254 if (start > stop) { 258 // list = tokens[start:stop]:{Token t, t.getType() in types} 260 for (int i = start; i <= stop; i++) { 272 public virtual IList<IToken> GetTokens(int start, int stop, ILis argument 276 GetTokens(int start, int stop, int ttype) argument 428 ToString(int start, int stop) argument 446 ToString(IToken start, IToken stop) argument [all...] |
H A D | UnbufferedTokenStream.cs | 96 public string ToString(int start, int stop) { argument 100 public string ToString(IToken start, IToken stop) { argument
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
H A D | DebugTreeAdaptor.cs | 76 public virtual object ErrorNode( ITokenStream input, IToken start, IToken stop, argument 79 object node = adaptor.ErrorNode( input, start, stop, e );
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
H A D | SlimTokenStream.cs | 182 public IList<SlimToken> GetTokens( int start, int stop ) 184 return GetTokens( start, stop, (BitSet)null ); 188 * Given a start and stop index, return a List of all tokens in 193 public IList<SlimToken> GetTokens( int start, int stop, BitSet types ) argument 199 if ( stop >= tokens.Count ) 201 stop = tokens.Count - 1; 207 if ( start > stop ) 212 // list = tokens[start:stop]:{Token t, t.getType() in types} 214 for ( int i = start; i <= stop; i++ ) 229 public IList<SlimToken> GetTokens( int start, int stop, ILis argument 234 GetTokens( int start, int stop, int ttype ) argument [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/ |
H A D | ITreeAdaptor`1.cs | 70 * input symbol at which the error was detected. The stop token indicates 85 T ErrorNode(ITokenStream input, IToken start, IToken stop, RecognitionException e); argument 137 * as the setting of start/stop indexes relies on a single non-nil root 143 * unless there is only one ID. For a list, the start/stop indexes 254 * That node would contain the start/stop indexes then. 262 /** <summary>Get the token stop index for this subtree; return -1 if no such index</summary> */ 301 * Replace from start to stop child index of parent with t, which might
|
H A D | ITreeFactory.cs | 47 TTree CreateErrorNode( ITokenStream<TToken> input, TToken start, TToken stop, RecognitionException e ); argument
|
H A D | ITreeNodeStream`1.cs | 112 * Return the text of all nodes from start to stop, inclusive. 114 * walk recursively from start until stop. You can always return 119 string ToString(T start, T stop); argument 125 * Replace from start to stop child index of parent with t, which might
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | BufferedTokenStream.cs | 322 public virtual List<IToken> GetTokens(int start, int stop) argument 324 return GetTokens(start, stop, default(BitSet)); 327 /** Given a start and stop index, return a List of all tokens in 331 public virtual List<IToken> GetTokens(int start, int stop, BitSet types) argument 335 if (stop >= _tokens.Count) 336 stop = _tokens.Count - 1; 339 if (start > stop) 342 // list = tokens[start:stop]:{Token t, t.getType() in types} 344 for (int i = start; i <= stop; i++) 359 public virtual List<IToken> GetTokens(int start, int stop, IEnumerabl argument 364 GetTokens(int start, int stop, int ttype) argument 378 ToString(int start, int stop) argument 399 ToString(IToken start, IToken stop) argument [all...] |
H A D | CommonToken.cs | 52 * start/stop are not affected by changing this. 64 int stop; field in class:Antlr.Runtime.CommonToken 75 public CommonToken( ICharStream input, int type, int channel, int start, int stop ) 81 this.stop = stop; 103 stop = ( (CommonToken)oldToken ).stop; 117 if (start <= stop && stop < input.Count) 118 return input.Substring( start, stop [all...] |
H A D | LegacyCommonTokenStream.cs | 259 public virtual IList<IToken> GetTokens( int start, int stop ) 261 return GetTokens( start, stop, (BitSet)null ); 265 * Given a start and stop index, return a List of all tokens in 270 public virtual IList<IToken> GetTokens( int start, int stop, BitSet types ) argument 276 if ( stop >= tokens.Count ) 278 stop = tokens.Count - 1; 284 if ( start > stop ) 289 // list = tokens[start:stop]:{Token t, t.getType() in types} 291 for ( int i = start; i <= stop; i++ ) 306 public virtual IList<IToken> GetTokens( int start, int stop, ILis argument 311 GetTokens( int start, int stop, int ttype ) argument [all...] |
H A D | UnbufferedTokenStream.cs | 162 public string ToString(int start, int stop) argument 167 public string ToString(IToken start, IToken stop) argument
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
H A D | BaseTreeAdaptor.cs | 60 * Create tree node that holds the start and stop tokens associated 74 public virtual object ErrorNode( ITokenStream input, IToken start, IToken stop, argument 77 CommonErrorNode t = new CommonErrorNode( input, start, stop, e ); 417 * Track start/stop token for subtree root created for a rule. 419 * seems like this will yield start=i and stop=i-1 in a nil node. 430 int stop = 0; 435 stop = stopToken.TokenIndex; 438 tree.TokenStopIndex = stop;
|
H A D | CommonErrorNode.cs | 42 public IToken stop; field in class:Antlr.Runtime.Tree.CommonErrorNode 45 public CommonErrorNode( ITokenStream input, IToken start, IToken stop, argument 48 //System.out.println("start: "+start+", stop: "+stop); 49 if ( stop == null || 50 ( stop.TokenIndex < start.TokenIndex && 51 stop.Type != TokenTypes.EndOfFile ) ) 54 // in follow set. So, stop will be 1 to left to start. adjust. 57 stop = start; 61 this.stop [all...] |
H A D | ITreeAdaptor.cs | 138 * input symbol at which the error was detected. The stop token indicates 153 object ErrorNode( ITokenStream input, IToken start, IToken stop, RecognitionException e ); argument 205 * as the setting of start/stop indexes relies on a single non-nil root 211 * unless there is only one ID. For a list, the start/stop indexes 286 * That node would contain the start/stop indexes then. 294 /** <summary>Get the token stop index for this subtree; return -1 if no such index</summary> */ 333 * Replace from start to stop child index of parent with t, which might
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | ANTLRStringStream.java | 205 public String substring(int start, int stop) { argument 206 return new String(data,start,stop-start+1);
|
H A D | BufferedTokenStream.java | 148 /** Get all tokens from start..stop inclusively */ 149 public List get(int start, int stop) { argument 150 if ( start<0 || stop<0 ) return null; 153 if ( stop>=tokens.size() ) stop = tokens.size()-1; 154 for (int i = start; i <= stop; i++) { 195 public List getTokens(int start, int stop) { argument 196 return getTokens(start, stop, (BitSet)null); 199 /** Given a start and stop index, return a List of all tokens in 203 public List getTokens(int start, int stop, BitSe argument 223 getTokens(int start, int stop, List types) argument 227 getTokens(int start, int stop, int ttype) argument 240 toString(int start, int stop) argument 253 toString(Token start, Token stop) argument [all...] |
H A D | CharStream.java | 38 public String substring(int start, int stop); argument
|
H A D | CommonToken.java | 41 * start/stop are not affected by changing this. 52 protected int stop; field in class:CommonToken 58 public CommonToken(CharStream input, int type, int channel, int start, int stop) { argument 63 this.stop = stop; 82 stop = ((CommonToken)oldToken).stop; 102 if ( start<n && stop<n) { 103 return input.substring(start,stop); 112 * that start/stop indexe 155 setStopIndex(int stop) argument [all...] |
H A D | LegacyCommonTokenStream.java | 191 public List getTokens(int start, int stop) { argument 192 return getTokens(start, stop, (BitSet)null); 195 /** Given a start and stop index, return a List of all tokens in 199 public List getTokens(int start, int stop, BitSet types) { argument 203 if ( stop>=tokens.size() ) { 204 stop=tokens.size()-1; 209 if ( start>stop ) { 213 // list = tokens[start:stop]:{Token t, t.getType() in types} 215 for (int i=start; i<=stop; i++) { 227 public List getTokens(int start, int stop, Lis argument 231 getTokens(int start, int stop, int ttype) argument 304 get(int start, int stop) argument 370 toString(int start, int stop) argument 388 toString(Token start, Token stop) argument [all...] |
H A D | ParserRuleReturnScope.java | 40 * from start and stop using the input stream's toString() method. I 51 public Token start, stop; field in class:ParserRuleReturnScope 53 public Object getStop() { return stop; }
|
H A D | TokenStream.java | 61 /** Return the text of all tokens from start to stop, inclusive. 66 public String toString(int start, int stop); argument 74 public String toString(Token start, Token stop); argument
|
H A D | UnbufferedTokenStream.java | 71 public String toString(int start, int stop) { return "n/a"; } argument 73 public String toString(Token start, Token stop) { return "n/a"; } argument
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
H A D | DebugTokenStream.java | 149 public String toString(int start, int stop) { argument 150 return input.toString(start,stop); 153 public String toString(Token start, Token stop) { argument 154 return input.toString(start,stop);
|
H A D | DebugTreeAdaptor.java | 66 public Object errorNode(TokenStream input, Token start, Token stop, argument 69 Object node = adaptor.errorNode(input, start, stop, e);
|