Lines Matching refs:getDirective
45 DirectiveType getDirective(const pp::Token *token) in getDirective() function
205 DirectiveType directive = getDirective(token); in parseDirective()
275 ASSERT(getDirective(token) == DIRECTIVE_DEFINE); in parseDefine()
369 ASSERT(getDirective(token) == DIRECTIVE_UNDEF); in parseUndef()
409 ASSERT(getDirective(token) == DIRECTIVE_IF); in parseIf()
415 ASSERT(getDirective(token) == DIRECTIVE_IFDEF); in parseIfdef()
421 ASSERT(getDirective(token) == DIRECTIVE_IFNDEF); in parseIfndef()
427 ASSERT(getDirective(token) == DIRECTIVE_ELSE); in parseElse()
468 ASSERT(getDirective(token) == DIRECTIVE_ELIF); in parseElif()
508 ASSERT(getDirective(token) == DIRECTIVE_ENDIF); in parseEndif()
532 ASSERT(getDirective(token) == DIRECTIVE_ERROR); in parseError()
547 ASSERT(getDirective(token) == DIRECTIVE_PRAGMA); in parsePragma()
607 ASSERT(getDirective(token) == DIRECTIVE_EXTENSION); in parseExtension()
702 ASSERT(getDirective(token) == DIRECTIVE_VERSION); in parseVersion()
817 ASSERT(getDirective(token) == DIRECTIVE_LINE); in parseLine()
903 DirectiveType directive = getDirective(token); in parseConditionalIf()
929 ASSERT((getDirective(token) == DIRECTIVE_IF) || (getDirective(token) == DIRECTIVE_ELIF)); in parseExpressionIf()
955 ASSERT((getDirective(token) == DIRECTIVE_IFDEF) || (getDirective(token) == DIRECTIVE_IFNDEF)); in parseExpressionIfdef()