Lines Matching defs:lexer
34 static void writeH(const DFA& dfa, const char* lexer, const char* token,
39 out << "#ifndef SKSL_" << lexer << "\n";
40 out << "#define SKSL_" << lexer << "\n";
69 class )" << lexer << R"( {
104 static void writeCPP(const DFA& dfa, const char* lexer, const char* token, const char* include,
143 out << token << " " << lexer << "::next() {";
145 // note that we cheat here: normally a lexer needs to worry about the case
184 static void process(const char* inPath, const char* lexer, const char* token, const char* hPath,
222 writeH(dfa, lexer, token, tokens, hPath);
223 writeCPP(dfa, lexer, token, (std::string("src/sksl/SkSL") + lexer + ".h").c_str(), cppPath);