Lines Matching defs:stop
361 Console.Out.WriteLine( "stop at node: " + i + " " + nodes[i] );
484 public virtual string ToTokenString(int start, int stop) {
489 for (int i = start; i < nodes.Count && i <= stop; i++) {
497 public virtual string ToString(object start, object stop) {
499 if (start == null || stop == null) {
505 //Console.Out.WriteLine( "stop: " + stop );
510 if (stop is CommonTree)
511 Console.Out.WriteLine(((CommonTree)stop).Token);
513 Console.Out.WriteLine(stop);
517 int endTokenIndex = adaptor.GetTokenStopIndex(stop);
518 // if it's a tree, use start/stop index from start node
519 // else use token range from start/stop nodes
520 if (adaptor.GetType(stop) == TokenTypes.Up) {
522 } else if (adaptor.GetType(stop) == TokenTypes.EndOfFile) {
536 // now walk until we see stop, filling string buffer with text
539 while (t != stop) {
548 // include stop node too
549 string text2 = adaptor.GetText(stop);
551 text2 = " " + adaptor.GetType(stop).ToString();