Home
last modified time | relevance | path

Searched defs:lexer (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/lexer/
Dlexer.go17 package lexer package
39 type lexer struct { struct
40 loc tok.Location
41 runes []rune
42 tokens []tok.Token
46 func (l *lexer) lex() error {
106 func (l *lexer) next() rune {
123 func (l *lexer) skip(n int) {
130 func (l *lexer) peek(i int) rune {
142 func (l *lexer) count(p predicate) int {
[all …]
/third_party/ninja/src/
Dlexer_test.cc23 Lexer lexer("plain text $var $VaR ${x}\n"); in TEST() local
33 Lexer lexer("$ $$ab c$: $\ncde\n"); in TEST() local
43 Lexer lexer("foo baR baz_123 foo-bar"); in TEST() local
58 Lexer lexer("foo.dots $bar.dots ${bar.dots}\n"); in TEST() local
72 Lexer lexer("foo$\nbad $"); in TEST() local
85 Lexer lexer("# foo"); in TEST() local
92 Lexer lexer(" \tfoobar"); in TEST() local
/third_party/PyYAML/examples/pygments-lexer/
Dyaml.py34 def callback(lexer, match, context): argument
44 def callback(lexer, match, context): argument
56 def callback(lexer, match, context): argument
78 def callback(lexer, match, context): argument
91 def callback(lexer, match, context): argument
108 def callback(lexer, match, context): argument
125 def callback(lexer, match, context): argument
145 def callback(lexer, match, context): argument
/third_party/spirv-tools/utils/vscode/src/parser/
Dparser.go164 type lexer struct { struct
165 source string
166 lexerState
167 diags []Diagnostic
168 e error
178 func (l *lexer) err(tok *Token, msg string, args ...interface{}) {
192 func (l *lexer) next() rune {
213 func (l *lexer) save() lexerState {
218 func (l *lexer) restore(s lexerState) {
224 func (l *lexer) pident() {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/
Dparser.go164 type lexer struct { struct
165 source string
166 lexerState
167 diags []Diagnostic
168 e error
178 func (l *lexer) err(tok *Token, msg string, args ...interface{}) {
192 func (l *lexer) next() rune {
213 func (l *lexer) save() lexerState {
218 func (l *lexer) restore(s lexerState) {
224 func (l *lexer) pident() {
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/parser/
Dparser.go164 type lexer struct { struct
165 source string
166 lexerState
167 diags []Diagnostic
168 e error
178 func (l *lexer) err(tok *Token, msg string, args ...interface{}) {
192 func (l *lexer) next() rune {
213 func (l *lexer) save() lexerState {
218 func (l *lexer) restore(s lexerState) {
224 func (l *lexer) pident() {
[all …]
/third_party/skia/src/sksl/lex/
DMain.cpp34 static void writeH(const DFA& dfa, const char* lexer, const char* token, in writeH()
104 static void writeCPP(const DFA& dfa, const char* lexer, const char* token, const char* include, in writeCPP()
184 static void process(const char* inPath, const char* lexer, const char* token, const char* hPath, in process()
/third_party/flutter/skia/src/sksl/lex/
DMain.cpp33 void writeH(const DFA& dfa, const char* lexer, const char* token, in writeH()
87 void writeCPP(const DFA& dfa, const char* lexer, const char* token, const char* include, in writeCPP()
173 void process(const char* inPath, const char* lexer, const char* token, const char* hPath, in process()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DExpressionParser.y80 pp::Lexer* lexer; member
438 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser()
DMacroExpander.cpp96 MacroExpander::MacroExpander(Lexer *lexer, in MacroExpander()
441 TokenLexer lexer(&arg); in collectMacroArgs() local
DDirectiveParser.cpp120 static void skipUntilEOD(pp::Lexer *lexer, pp::Token *token) in skipUntilEOD()
152 DefinedParser(Lexer *lexer, const MacroSet *macroSet, Diagnostics *diagnostics) in DefinedParser()
DExpressionParser.cpp130 pp::Lexer* lexer; member
2015 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DExpressionParser.y66 angle::pp::Lexer *lexer; member
426 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser()
DMacroExpander.cpp87 MacroExpander::MacroExpander(Lexer *lexer, in MacroExpander()
435 TokenLexer lexer(&arg); in collectMacroArgs() local
DExpressionParser.cpp122 angle::pp::Lexer *lexer; member
1868 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser()
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
Dpreprocessor.y68 angle::pp::Lexer *lexer; member
428 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser()
DMacroExpander.cpp87 MacroExpander::MacroExpander(Lexer *lexer, in MacroExpander()
435 TokenLexer lexer(&arg); in collectMacroArgs() local
Dpreprocessor_tab_autogen.cpp128 angle::pp::Lexer *lexer; member
1869 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser()
/third_party/json/test/src/
Dunit-class_lexer.cpp51 …auto lexer = nlohmann::detail::lexer<json, decltype(ia)>(std::move(ia), ignore_comments); // NOLIN… in get_error_message() local
/third_party/skia/third_party/externals/spirv-tools/tools/sva/src/
Dparser.js25 constructor(grammar, lexer) { argument
/third_party/spirv-tools/tools/sva/src/
Dparser.js25 constructor(grammar, lexer) { argument
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/src/
Dparser.js25 constructor(grammar, lexer) { argument
/third_party/vk-gl-cts/external/vulkan-docs/src/config/chunkindex/
Dlunr.js3083 lunr.QueryLexer.lexField = function (lexer) { argument
3090 lunr.QueryLexer.lexTerm = function (lexer) { argument
3103 lunr.QueryLexer.lexEditDistance = function (lexer) { argument
3110 lunr.QueryLexer.lexBoost = function (lexer) { argument
3117 lunr.QueryLexer.lexEOS = function (lexer) { argument
3136 lunr.QueryLexer.lexText = function (lexer) { argument
/third_party/json/include/nlohmann/detail/input/
Dlexer.hpp103 class lexer : public lexer_base<BasicJsonType> class
115 explicit lexer(InputAdapterType&& adapter, bool ignore_comments_ = false) noexcept in lexer() function in nlohmann::detail::lexer
/third_party/python/Lib/
Dshlex.py337 def _print_tokens(lexer): argument

12