Lines Matching refs:getTok
84 Lexer->getTok()); in expect()
101 return error("Expected section flags, instead got: ", Lexer->getTok()); in parseSectionFlags()
115 return error("expected string in directive, instead got: ", Lexer->getTok()); in parseSectionDirective()
137 if (parseSectionFlags(getTok().getStringContents(), Passive)) in parseSectionDirective()
142 return Parser->Error(getTok().getLoc(), in parseSectionDirective()
183 Lexer->getTok()); in parseDirectiveType()
186 Lexer->getTok().getString())); in parseDirectiveType()
190 return error("Expected label,@type declaration, got: ", Lexer->getTok()); in parseDirectiveType()
191 auto TypeName = Lexer->getTok().getString(); in parseDirectiveType()
199 return error("Unknown WASM symbol type: ", Lexer->getTok()); in parseDirectiveType()
210 StringRef Data = getTok().getIdentifier(); in ParseDirectiveIdent()