Lines Matching refs:token
47 /** <summary>A single token is the payload</summary> */
49 public IToken token;
52 * What token indexes bracket all tokens associated with this node
73 this.token = node.token;
79 this.token = t;
85 if (token == null || token.CharPositionInLine == -1) {
91 return token.CharPositionInLine;
107 return token == null;
112 if (token == null || token.Line == 0) {
118 return token.Line;
134 if (token == null)
137 return token.Text;
144 return token;
147 token = value;
152 if (startIndex == -1 && token != null) {
153 return token.TokenIndex;
163 if (stopIndex == -1 && token != null) {
164 return token.TokenIndex;
174 if (token == null)
177 return token.Type;
189 * For every node in this subtree, make sure it's start/stop token's
191 * with at least one token index < 0.
197 startIndex = stopIndex = token.TokenIndex;
221 if (token == null) {
224 return token.Text;