|  | v8
    V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. | 
#include <earley-parser.h>
| Public Types | |
| using | PatternFunction = bool (*)(InputPosition* pos) | 
| Public Member Functions | |
| void | SetWhitespace (PatternFunction whitespace) | 
| Symbol * | Pattern (PatternFunction pattern) | 
| Symbol * | Token (const std::string &keyword) | 
| V8_EXPORT_PRIVATE LexerResult | RunLexer (const std::string &input) | 
| Private Member Functions | |
| Symbol * | MatchToken (InputPosition *pos, InputPosition end) | 
| Private Attributes | |
| PatternFunction | match_whitespace_ = [](InputPosition*) { return false; } | 
| std::map< PatternFunction, Symbol > | patterns_ | 
| std::map< std::string, Symbol > | keywords_ | 
Definition at line 391 of file earley-parser.h.
| using v8::internal::torque::Lexer::PatternFunction = bool (*)(InputPosition* pos) | 
Definition at line 396 of file earley-parser.h.
| 
 | private | 
| 
 | inline | 
| LexerResult v8::internal::torque::Lexer::RunLexer | ( | const std::string & | input | ) | 
Definition at line 117 of file earley-parser.cc.
| 
 | inline | 
| 
 | inline | 
| 
 | private | 
Definition at line 409 of file earley-parser.h.
| 
 | private | 
Definition at line 407 of file earley-parser.h.
| 
 | private | 
Definition at line 408 of file earley-parser.h.