#include "types.h"
Include dependency graph for token.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
class | Lex |
struct | Slot |
class | Token |
class | TokenFifo |
Defines | |
#define | Identifier 258 |
#define | Constant 262 |
#define | CharConst 263 |
#define | StringL 264 |
#define | AssignOp 267 |
#define | EqualOp 268 |
#define | RelOp 269 |
#define | ShiftOp 270 |
#define | LogOrOp 271 |
#define | LogAndOp 272 |
#define | IncOp 273 |
#define | Scope 274 |
#define | Ellipsis 275 |
#define | PmOp 276 |
#define | ArrowOp 277 |
#define | BadToken 278 |
#define | AUTO 281 |
#define | CHAR 282 |
#define | CLASS 283 |
#define | CONST 284 |
#define | DELETE 285 |
#define | DOUBLE 286 |
#define | ENUM 287 |
#define | EXTERN 288 |
#define | FLOAT 289 |
#define | FRIEND 290 |
#define | INLINE 291 |
#define | INT 292 |
#define | LONG 293 |
#define | NEW 294 |
#define | OPERATOR 295 |
#define | PRIVATE 296 |
#define | PROTECTED 297 |
#define | PUBLIC 298 |
#define | REGISTER 299 |
#define | SHORT 300 |
#define | SIGNED 301 |
#define | STATIC 302 |
#define | STRUCT 303 |
#define | TYPEDEF 304 |
#define | UNION 305 |
#define | UNSIGNED 306 |
#define | VIRTUAL 307 |
#define | VOID 308 |
#define | VOLATILE 309 |
#define | TEMPLATE 310 |
#define | MUTABLE 311 |
#define | BREAK 312 |
#define | CASE 313 |
#define | CONTINUE 314 |
#define | DEFAULT 315 |
#define | DO 316 |
#define | ELSE 317 |
#define | FOR 318 |
#define | GOTO 319 |
#define | IF 320 |
#define | RETURN 321 |
#define | SIZEOF 322 |
#define | SWITCH 323 |
#define | THIS 324 |
#define | WHILE 325 |
#define | ATTRIBUTE 326 |
#define | METACLASS 327 |
#define | UserKeyword 328 |
#define | UserKeyword2 329 |
#define | UserKeyword3 330 |
#define | UserKeyword4 331 |
#define | BOOLEAN 332 |
#define | EXTENSION 333 |
#define | TRY 334 |
#define | CATCH 335 |
#define | THROW 336 |
#define | UserKeyword5 337 |
#define | NAMESPACE 338 |
#define | USING 339 |
#define | ntDeclarator 400 |
#define | ntName 401 |
#define | ntFstyleCast 402 |
#define | ntClassSpec 403 |
#define | ntEnumSpec 404 |
#define | ntDeclaration 405 |
#define | ntTypedef 406 |
#define | ntTemplateDecl 407 |
#define | ntMetaclassDecl 408 |
#define | ntLinkageSpec 409 |
#define | ntAccessSpec 410 |
#define | ntUserAccessSpec 411 |
#define | ntUserdefKeyword 412 |
#define | ntExternTemplate 413 |
#define | ntAccessDecl 414 |
#define | ntNamespaceSpec 415 |
#define | ntUsing 416 |
#define | ntTemplateInstantiation 417 |
#define | ntIfStatement 420 |
#define | ntSwitchStatement 421 |
#define | ntWhileStatement 422 |
#define | ntDoStatement 423 |
#define | ntForStatement 424 |
#define | ntBreakStatement 425 |
#define | ntContinueStatement 426 |
#define | ntReturnStatement 427 |
#define | ntGotoStatement 428 |
#define | ntCaseStatement 429 |
#define | ntDefaultStatement 430 |
#define | ntLabelStatement 431 |
#define | ntExprStatement 432 |
#define | ntTryStatement 433 |
#define | ntCommaExpr 450 |
#define | ntAssignExpr 451 |
#define | ntCondExpr 452 |
#define | ntInfixExpr 453 |
#define | ntPmExpr 454 |
#define | ntCastExpr 455 |
#define | ntUnaryExpr 456 |
#define | ntSizeofExpr 457 |
#define | ntNewExpr 458 |
#define | ntDeleteExpr 459 |
#define | ntArrayExpr 460 |
#define | ntFuncallExpr 461 |
#define | ntPostfixExpr 462 |
#define | ntUserStatementExpr 463 |
#define | ntDotMemberExpr 464 |
#define | ntArrowMemberExpr 465 |
#define | ntParenExpr 466 |
#define | ntStaticUserStatementExpr 467 |
#define | ntThrowExpr 468 |
#define | Ignore 500 |
#define | ASM 501 |
#define | DECLSPEC 502 |
#define | INT64 503 |
Functions | |
bool | is_blank (char c) |
bool | is_letter (char c) |
bool | is_digit (char c) |
bool | is_xletter (char c) |
bool | is_eletter (char c) |
bool | is_hexdigit (char c) |
bool | is_int_suffix (char c) |
bool | is_float_suffix (char c) |
|
Definition at line 188 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rOperatorName(), and Parser::rPostfixExpr(). |
|
Definition at line 307 of file token.h. Referenced by InitializeOtherKeywords(), and Lex::ReadToken(). |
|
Definition at line 178 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rExpression(), and Parser::rOperatorName(). |
|
Definition at line 235 of file token.h. Referenced by Lex::ReadToken(). |
|
Definition at line 190 of file token.h. Referenced by LeafAUTO::LeafAUTO(), Parser::optStorageSpec(), parse_specifier(), and LeafAUTO::What(). |
|
Definition at line 189 of file token.h. Referenced by Lex::ReadSeparator(), Lex::SingleCharOp(), and Ptree::What(). |
|
Definition at line 241 of file token.h. Referenced by Parser::isTypeSpecifier(), LeafBOOLEAN::LeafBOOLEAN(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafBOOLEAN::What(). |
|
Definition at line 221 of file token.h. Referenced by Parser::rStatement(). |
|
Definition at line 222 of file token.h. Referenced by Parser::rStatement(). |
|
Definition at line 244 of file token.h. Referenced by Parser::rTryStatement(). |
|
Definition at line 191 of file token.h. Referenced by InitializeOtherKeywords(), Parser::isTypeSpecifier(), LeafCHAR::LeafCHAR(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafCHAR::What(). |
|
Definition at line 176 of file token.h. Referenced by Lex::ReadLine(), and Parser::rPrimaryExpr(). |
|
Definition at line 192 of file token.h. Referenced by Parser::isTypeSpecifier(), Parser::optIntegralTypeOrClassSpec(), Parser::rClassSpec(), and Parser::rTempArgDeclaration(). |
|
Definition at line 193 of file token.h. Referenced by convert_decl_to_expr(), Encoding::CvQualify(), Parser::isConstructorDecl(), Parser::isTypeSpecifier(), LeafCONST::LeafCONST(), Parser::optCvQualify(), parse_qualifier(), Walker::StripCvFromIntegralType(), and LeafCONST::What(). |
|
Definition at line 175 of file token.h. Referenced by Parser::rConstructorDecl(), Lex::ReadFloat(), Lex::ReadNumber(), and Parser::rPrimaryExpr(). |
|
Definition at line 223 of file token.h. Referenced by Parser::rStatement(). |
|
Definition at line 308 of file token.h. Referenced by InitializeOtherKeywords(), and Lex::ReadToken(). |
|
Definition at line 224 of file token.h. Referenced by Parser::rStatement(). |
|
Definition at line 194 of file token.h. Referenced by Parser::isAllocateExpr(), Parser::rAllocateExpr(), and Parser::rOperatorName(). |
|
Definition at line 225 of file token.h. Referenced by Parser::rDoStatement(), and Parser::rStatement(). |
|
Definition at line 195 of file token.h. Referenced by Parser::isTypeSpecifier(), LeafDOUBLE::LeafDOUBLE(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafDOUBLE::What(). |
|
Definition at line 186 of file token.h. Referenced by Parser::rArgDeclList(), Lex::ReadSeparator(), and Parser::rTryStatement(). |
|
Definition at line 226 of file token.h. Referenced by Parser::rIfStatement(). |
|
Definition at line 196 of file token.h. Referenced by Parser::isTypeSpecifier(), Parser::optIntegralTypeOrClassSpec(), and Parser::rEnumSpec(). |
|
Definition at line 179 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rEqualityExpr(), and Parser::rOperatorName(). |
|
Definition at line 242 of file token.h. Referenced by Lex::ReadToken(). |
|
Definition at line 197 of file token.h. Referenced by LeafEXTERN::LeafEXTERN(), Parser::optStorageSpec(), parse_specifier(), Parser::rDefinition(), Parser::rExternTemplateDecl(), Parser::rLinkageSpec(), and LeafEXTERN::What(). |
|
Definition at line 198 of file token.h. Referenced by Parser::isTypeSpecifier(), LeafFLOAT::LeafFLOAT(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafFLOAT::What(). |
|
Definition at line 227 of file token.h. Referenced by Parser::rForStatement(), and Parser::rStatement(). |
|
Definition at line 199 of file token.h. Referenced by LeafFRIEND::LeafFRIEND(), Parser::optMemberSpec(), Parser::rOtherDeclaration(), and LeafFRIEND::What(). |
|
Definition at line 228 of file token.h. Referenced by Parser::rStatement(). |
|
Definition at line 174 of file token.h. Referenced by InitializeOtherKeywords(), Parser::isPtrToMember(), Parser::isTypeSpecifier(), Parser::moreVarName(), Parser::rDeclaration(), Parser::rDeclarationStatement(), Parser::rDeclarator2(), Parser::rEnumBody(), Parser::rEnumSpec(), Parser::rMetaclassDecl(), Parser::rName(), Parser::rNamespaceSpec(), Parser::rPtrToMember(), Parser::rStatement(), Parser::rTempArgDeclaration(), Parser::rVarNameCore(), Lex::Screening(), and Lex::SkipExtensionToken(). |
|
Definition at line 229 of file token.h. Referenced by Parser::rIfStatement(), and Parser::rStatement(). |
|
Definition at line 306 of file token.h. Referenced by InitializeOtherKeywords(), Lex::ReadComment(), Lex::ReadToken(), and Lex::SkipExtensionToken(). |
|
Definition at line 184 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rOperatorName(), Parser::rPostfixExpr(), and Parser::rUnaryExpr(). |
|
Definition at line 200 of file token.h. Referenced by MemberList::CheckHeader(), InitializeOtherKeywords(), Member::IsInlineFuncImpl(), LeafINLINE::LeafINLINE(), Parser::optMemberSpec(), parse_specifier(), and LeafINLINE::What(). |
|
Definition at line 201 of file token.h. Referenced by InitializeOtherKeywords(), Parser::isTypeSpecifier(), LeafINT::LeafINT(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafINT::What(). |
|
Definition at line 309 of file token.h. Referenced by InitializeOtherKeywords(), Parser::isTypeSpecifier(), and Parser::optIntegralTypeOrClassSpec(). |
|
Definition at line 183 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rLogicalAndExpr(), and Parser::rOperatorName(). |
|
Definition at line 182 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rLogicalOrExpr(), and Parser::rOperatorName(). |
|
Definition at line 202 of file token.h. Referenced by Parser::isTypeSpecifier(), LeafLONG::LeafLONG(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafLONG::What(). |
|
Definition at line 236 of file token.h. Referenced by InitializeOtherKeywords(), Parser::rClassMember(), Parser::rDefinition(), and Parser::rMetaclassDecl(). |
|
Definition at line 220 of file token.h. Referenced by MemberList::CheckHeader(), LeafMUTABLE::LeafMUTABLE(), Parser::optStorageSpec(), parse_specifier(), and LeafMUTABLE::What(). |
|
Definition at line 247 of file token.h. Referenced by LeafNAMESPACE::LeafNAMESPACE(), Parser::rDefinition(), Parser::rNamespaceSpec(), Parser::rUsing(), and LeafNAMESPACE::What(). |
|
Definition at line 203 of file token.h. Referenced by Parser::isAllocateExpr(), Parser::rAllocateExpr(), and Parser::rOperatorName(). |
|
Definition at line 266 of file token.h. Referenced by MemberList::AppendThisClass(), and PtreeAccessDecl::What(). |
|
Definition at line 262 of file token.h. Referenced by MemberList::AppendThisClass(), and PtreeAccessSpec::What(). |
|
|
|
Definition at line 301 of file token.h. Referenced by ClassWalker::TranslateAssign(), ClassWalker::TranslateFuncall(), ClassWalker::TranslatePostfix(), and ClassWalker::TranslateUnary(). |
|
|
|
|
|
|
|
|
|
Definition at line 255 of file token.h. Referenced by Class::Comments(), Walker::GetClassOrEnumSpec(), Walker::GetClassTemplateSpec(), Type_reader::read_type(), Parser::rTemplateDecl(), Walker::TranslateTemplateDecl(), and PtreeClassSpec::What(). |
|
|
|
|
|
|
|
Definition at line 257 of file token.h. Referenced by MemberList::AppendThisClass(), ClassWalker::RecordMembers(), Walker::SetDeclaratorComments(), and PtreeDeclaration::What(). |
|
|
|
|
|
|
|
|
Definition at line 300 of file token.h. Referenced by ClassWalker::TranslateAssign(), ClassWalker::TranslateFuncall(), ClassWalker::TranslatePostfix(), and ClassWalker::TranslateUnary(). |
|
Definition at line 256 of file token.h. Referenced by Walker::GetClassOrEnumSpec(), Type_reader::read_type(), and PtreeEnumSpec::What(). |
|
Definition at line 283 of file token.h. Referenced by Program::MinimumSubst2(), and PtreeExprStatement::What(). |
|
Definition at line 265 of file token.h. Referenced by PtreeExternTemplate::What(). |
|
|
|
Definition at line 254 of file token.h. Referenced by PtreeFstyleCastExpr::What(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 261 of file token.h. Referenced by PtreeLinkageSpec::What(). |
|
Definition at line 260 of file token.h. Referenced by ClassWalker::RecordMembers(), and PtreeMetaclassDecl::What(). |
|
Definition at line 253 of file token.h. Referenced by convert_node_to_name(), make_dup_leaf(), make_name(), Enum_symbol::process_value(), ptree_is_name(), and PtreeName::What(). |
|
Definition at line 267 of file token.h. Referenced by PtreeNamespaceSpec::What(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 303 of file token.h. Referenced by Parser::rExprStatement(). |
|
|
|
Definition at line 259 of file token.h. Referenced by ClassWalker::RecordMembers(), and PtreeTemplateDecl::What(). |
|
Definition at line 269 of file token.h. Referenced by ClassWalker::RecordMembers(), and PtreeTemplateInstantiation::What(). |
|
|
|
|
|
Definition at line 258 of file token.h. Referenced by Program::MinimumSubst2(), ClassWalker::RecordMembers(), and PtreeTypedef::What(). |
|
|
|
Definition at line 263 of file token.h. Referenced by MemberList::AppendThisClass(), and PtreeUserAccessSpec::What(). |
|
Definition at line 264 of file token.h. Referenced by Member::Arguments(), MemberList::CheckHeader(), Member::GetUserArgumentModifiers(), Walker::TranslateArgDeclList2(), ClassWalker::TranslateStorageSpecifiers2(), and PtreeUserdefKeyword::What(). |
|
Definition at line 299 of file token.h. Referenced by Parser::rExprStatement(). |
|
Definition at line 268 of file token.h. Referenced by ClassWalker::RecordMembers(), and PtreeUsing::What(). |
|
|
|
Definition at line 204 of file token.h. Referenced by Parser::moreVarName(), Parser::rName(), and Parser::rVarNameCore(). |
|
Definition at line 187 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rOperatorName(), and Parser::rPmExpr(). |
|
Definition at line 205 of file token.h. Referenced by MemberList::AppendBaseClass(), MemberList::AppendThisClass(), Member::IsPrivate(), LeafPRIVATE::LeafPRIVATE(), process_base_classes(), Parser::rBaseSpecifiers(), Parser::rClassMember(), and LeafPRIVATE::What(). |
|
Definition at line 206 of file token.h. Referenced by MemberList::AppendBaseClass(), Member::IsProtected(), LeafPROTECTED::LeafPROTECTED(), process_base_classes(), Parser::rBaseSpecifiers(), Parser::rClassMember(), and LeafPROTECTED::What(). |
|
Definition at line 207 of file token.h. Referenced by MemberList::AppendBaseClass(), Member::IsPublic(), LeafPUBLIC::LeafPUBLIC(), process_base_classes(), Parser::rBaseSpecifiers(), Parser::rClassMember(), and LeafPUBLIC::What(). |
|
Definition at line 208 of file token.h. Referenced by Member::Arguments(), LeafREGISTER::LeafREGISTER(), Parser::optStorageSpec(), parse_specifier(), Parser::rArgDeclaration(), Walker::TranslateArgDeclList2(), and LeafREGISTER::What(). |
|
Definition at line 180 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rOperatorName(), and Parser::rRelationalExpr(). |
|
Definition at line 230 of file token.h. Referenced by Parser::rStatement(). |
|
Definition at line 185 of file token.h. Referenced by Parser::isAllocateExpr(), Parser::isPtrToMember(), Parser::isTemplateArgs(), Parser::isTypeSpecifier(), Parser::moreVarName(), Parser::rAllocateExpr(), Parser::rDeclarator2(), Lex::ReadSeparator(), Parser::rName(), Parser::rPrimaryExpr(), Parser::rPtrToMember(), and Parser::rVarNameCore(). |
|
Definition at line 181 of file token.h. Referenced by Lex::ReadSeparator(), Parser::rOperatorName(), Parser::rShiftExpr(), and Parser::rTemplateArgs(). |
|
Definition at line 209 of file token.h. Referenced by InitializeOtherKeywords(), Parser::isTypeSpecifier(), LeafSHORT::LeafSHORT(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafSHORT::What(). |
|
Definition at line 210 of file token.h. Referenced by Parser::isTypeSpecifier(), LeafSIGNED::LeafSIGNED(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafSIGNED::What(). |
|
Definition at line 231 of file token.h. Referenced by Parser::rSizeofExpr(), and Parser::rUnaryExpr(). |
|
Definition at line 211 of file token.h. Referenced by MemberList::CheckHeader(), LeafSTATIC::LeafSTATIC(), Parser::optStorageSpec(), parse_specifier(), and LeafSTATIC::What(). |
|
Definition at line 177 of file token.h. Referenced by Parser::rDefinition(), Lex::ReadLine(), Parser::rLinkageSpec(), and Parser::rPrimaryExpr(). |
|
Definition at line 212 of file token.h. Referenced by Parser::isTypeSpecifier(), Parser::optIntegralTypeOrClassSpec(), and Parser::rClassSpec(). |
|
Definition at line 232 of file token.h. Referenced by Parser::rStatement(), and Parser::rSwitchStatement(). |
|
Definition at line 219 of file token.h. Referenced by Parser::rClassMember(), Parser::rDefinition(), Parser::rExternTemplateDecl(), Parser::rTempArgDeclaration(), and Parser::rTemplateDecl2(). |
|
Definition at line 233 of file token.h. Referenced by make_this(), Parser::rPrimaryExpr(), and LeafThis::What(). |
|
Definition at line 245 of file token.h. Referenced by Parser::optThrowDecl(), Parser::rThrowExpr(), and Parser::rUnaryExpr(). |
|
Definition at line 243 of file token.h. Referenced by Parser::rStatement(), and Parser::rTryStatement(). |
|
Definition at line 213 of file token.h. Referenced by Parser::rClassMember(), Parser::rDefinition(), Parser::rStatement(), and Parser::rTypedef(). |
|
Definition at line 214 of file token.h. Referenced by Parser::isTypeSpecifier(), Parser::optIntegralTypeOrClassSpec(), and Parser::rClassSpec(). |
|
Definition at line 215 of file token.h. Referenced by Parser::isTypeSpecifier(), LeafUNSIGNED::LeafUNSIGNED(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafUNSIGNED::What(). |
|
Definition at line 237 of file token.h. Referenced by Parser::isAllocateExpr(), Parser::optIntegralTypeOrClassSpec(), Parser::rAllocateExpr(), Parser::rArgDeclaration(), Parser::rClassSpec(), Class::RegisterMetaclass(), Class::RegisterNewModifier(), Class::RegisterNewWhileStatement(), Parser::rPostfixExpr(), Parser::rUserdefKeyword(), and Parser::rUserdefStatement(). |
|
Definition at line 238 of file token.h. Referenced by LeafUserKeyword2::LeafUserKeyword2(), Class::RegisterNewClosureStatement(), Parser::rPostfixExpr(), Parser::rUserdefStatement(), ClassWalker::TranslateStaticUserStatement(), ClassWalker::TranslateUserStatement(), and LeafUserKeyword2::What(). |
|
Definition at line 239 of file token.h. Referenced by Class::RegisterNewForStatement(), Parser::rPostfixExpr(), and Parser::rUserdefStatement(). |
|
Definition at line 240 of file token.h. Referenced by Parser::rClassMember(), Class::RegisterNewAccessSpecifier(), and Parser::rUserAccessSpec(). |
|
Definition at line 246 of file token.h. Referenced by Parser::optMemberSpec(), Class::RegisterNewMemberModifier(), and Parser::rUserdefKeyword(). |
|
Definition at line 248 of file token.h. Referenced by LeafUSING::LeafUSING(), Parser::rClassMember(), Parser::rDefinition(), Parser::rUsing(), and LeafUSING::What(). |
|
Definition at line 216 of file token.h. Referenced by MemberList::CheckHeader(), LeafVIRTUAL::LeafVIRTUAL(), Parser::optMemberSpec(), parse_specifier(), process_base_classes(), Parser::rBaseSpecifiers(), and LeafVIRTUAL::What(). |
|
Definition at line 217 of file token.h. Referenced by Parser::isTypeSpecifier(), LeafVOID::LeafVOID(), Parser::optIntegralTypeOrClassSpec(), Type_reader::read_type(), and LeafVOID::What(). |
|
Definition at line 218 of file token.h. Referenced by convert_decl_to_expr(), Encoding::CvQualify(), Parser::isConstructorDecl(), Parser::isTypeSpecifier(), LeafVOLATILE::LeafVOLATILE(), Parser::optCvQualify(), parse_qualifier(), Walker::StripCvFromIntegralType(), and LeafVOLATILE::What(). |
|
Definition at line 234 of file token.h. Referenced by Parser::rDoStatement(), Parser::rStatement(), and Parser::rWhileStatement(). |
|
|
|
Definition at line 154 of file token.h. Referenced by is_hexdigit(), Lex::ReadFloat(), Lex::ReadIdentifier(), Lex::ReadLine(), Program::ReadLineDirective(), Lex::ReadNumber(), and Lex::Reify(). |
|
Definition at line 158 of file token.h. Referenced by Lex::ReadFloat(), and Lex::ReadNumber(). |
|
Definition at line 168 of file token.h. Referenced by Lex::ReadFloat(). |
|
Definition at line 160 of file token.h. References is_digit(). Referenced by Lex::ReadNumber(). |
|
Definition at line 164 of file token.h. Referenced by Lex::ReadNumber(), and Lex::Reify(). |
|
Definition at line 149 of file token.h. Referenced by Encoding::NameToPtree(), Lex::ReadIdentifier(), and Lex::ReadLine(). |
|
Definition at line 156 of file token.h. Referenced by Lex::ReadNumber(), and Lex::Reify(). |