Lines Matching defs:DateToken
126 struct DateToken { struct
128 bool IsInvalid() { return tag_ == kInvalidTokenTag; } in IsInvalid()
129 bool IsUnknown() { return tag_ == kUnknownTokenTag; } in IsUnknown()
130 bool IsNumber() { return tag_ == kNumberTag; } in IsNumber()
131 bool IsSymbol() { return tag_ == kSymbolTag; } in IsSymbol()
132 bool IsWhiteSpace() { return tag_ == kWhiteSpaceTag; } in IsWhiteSpace()
133 bool IsEndOfInput() { return tag_ == kEndOfInputTag; } in IsEndOfInput()
134 bool IsKeyword() { return tag_ >= kKeywordTagStart; } in IsKeyword()
136 int length() { return length_; } in length()
138 int number() { in number()
142 KeywordType keyword_type() { in keyword_type()
146 int keyword_value() { in keyword_value()
150 char symbol() { in symbol()
177 static DateToken Keyword(KeywordType tag, int value, int length) { in Keyword() argument
180 static DateToken Number(int value, int length) { in Number() argument
183 static DateToken Symbol(char symbol) { in Symbol() argument
186 static DateToken EndOfInput() { in EndOfInput() argument
189 static DateToken WhiteSpace(int length) { in WhiteSpace() argument
192 static DateToken Unknown() { in Unknown() argument
195 static DateToken Invalid() { in Invalid() argument
209 DateToken(int tag, int length, int value) in DateToken() argument
224 DateToken Next() { in Next() argument