Lines Matching refs:getDirective
48 static DirectiveType getDirective(const pp::Token* token) in getDirective() function
201 DirectiveType directive = getDirective(token); in parseDirective()
272 assert(getDirective(token) == DIRECTIVE_DEFINE); in parseDefine()
360 assert(getDirective(token) == DIRECTIVE_UNDEF); in parseUndef()
389 assert(getDirective(token) == DIRECTIVE_IF); in parseIf()
395 assert(getDirective(token) == DIRECTIVE_IFDEF); in parseIfdef()
401 assert(getDirective(token) == DIRECTIVE_IFNDEF); in parseIfndef()
407 assert(getDirective(token) == DIRECTIVE_ELSE); in parseElse()
448 assert(getDirective(token) == DIRECTIVE_ELIF); in parseElif()
488 assert(getDirective(token) == DIRECTIVE_ENDIF); in parseEndif()
512 assert(getDirective(token) == DIRECTIVE_ERROR); in parseError()
527 assert(getDirective(token) == DIRECTIVE_PRAGMA); in parsePragma()
583 assert(getDirective(token) == DIRECTIVE_EXTENSION); in parseExtension()
650 assert(getDirective(token) == DIRECTIVE_VERSION); in parseVersion()
728 assert(getDirective(token) == DIRECTIVE_LINE); in parseLine()
824 DirectiveType directive = getDirective(token); in parseConditionalIf()
850 assert((getDirective(token) == DIRECTIVE_IF) || in parseExpressionIf()
851 (getDirective(token) == DIRECTIVE_ELIF)); in parseExpressionIf()
873 assert((getDirective(token) == DIRECTIVE_IFDEF) || in parseExpressionIfdef()
874 (getDirective(token) == DIRECTIVE_IFNDEF)); in parseExpressionIfdef()