public string GetStringOfEntireStreamContentsWithNodeTypesOnly(ITreeNodeStream nodes) { StringBuilder buf = new StringBuilder(); for (int i = 0; i < nodes.Size(); i++) { object t = nodes.LT(i + 1); int type = nodes.TreeAdaptor.GetNodeType(t); if (!((type == Token.DOWN) || (type == Token.UP))) { buf.Append(" "); buf.Append(type); } } return buf.ToString(); }
public string GetStringOfEntireStreamContentsWithNodeTypesOnly(ITreeNodeStream nodes) { StringBuilder buf = new StringBuilder(); for (int i = 0; i < nodes.Size(); i++) { object t = nodes.LT(i + 1); int type = nodes.TreeAdaptor.GetNodeType(t); if (!((type == Token.DOWN) || (type == Token.UP))) { buf.Append(" "); buf.Append(type); } } return(buf.ToString()); }
public virtual int Size() { return(input.Size()); }
public int Size() { return(input.Size()); }