Lines Matching refs:token
1 /* $NetBSD: token.h,v 1.1.1.1 2016/01/13 18:41:48 christos Exp $ */
29 class token {
67 token();
68 ~token();
69 token(const token &);
70 void operator=(const token &);
76 int space(); // is the current token a space?
77 int stretchable_space(); // is the current token a stretchable space?
78 int unstretchable_space(); // is the current token an unstretchable space?
79 int white_space(); // is the current token space or tab?
80 int special(); // is the current token a special character?
81 int newline(); // is the current token a newline?
82 int tab(); // is the current token a tab?
94 int operator==(const token &); // need this for delimiters, and for conditions
95 int operator!=(const token &); // ditto
107 extern token tok; // the current token
141 inline int token::newline()
146 inline int token::space()
151 inline int token::stretchable_space()
156 inline int token::unstretchable_space()
161 inline int token::special()
166 inline int token::nspaces()
174 inline int token::white_space()
179 inline int token::transparent()
184 inline int token::page_ejector()
189 inline unsigned char token::ch()
194 inline int token::eof()
199 inline int token::dummy()
204 inline int token::transparent_dummy()
209 inline int token::left_brace()
214 inline int token::right_brace()
219 inline int token::tab()
224 inline int token::leader()
229 inline int token::backspace()
234 inline int token::hyphen_indicator()
239 inline int token::zero_width_break()