v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
earley-parser.h File Reference
#include <map>
#include <memory>
#include <optional>
#include <vector>
#include "src/base/contextual.h"
#include "src/torque/source-positions.h"
#include "src/torque/utils.h"
Include dependency graph for earley-parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::torque::ParseResultHolderBase
 
class  v8::internal::torque::ParseResultHolder< T >
 
class  v8::internal::torque::ParseResult
 
struct  v8::internal::torque::MatchedInput
 
class  v8::internal::torque::ParseResultIterator
 
struct  v8::internal::torque::LexerResult
 
class  v8::internal::torque::Rule
 
class  v8::internal::torque::Symbol
 
class  v8::internal::torque::Item
 
class  v8::internal::torque::Lexer
 
class  v8::internal::torque::Grammar
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::torque
 

Typedefs

using v8::internal::torque::ParseResultTypeId = ParseResultHolderBase::TypeId
 
using v8::internal::torque::InputPosition = const char*
 
using v8::internal::torque::Action
 

Functions

std::optional< ParseResultv8::internal::torque::DefaultAction (ParseResultIterator *child_results)
 
template<class T , Action action>
Action v8::internal::torque::AsSingletonVector ()
 
const Itemv8::internal::torque::RunEarleyAlgorithm (Symbol *start, const LexerResult &tokens, std::unordered_set< Item, base::hash< Item > > *processed)
 
std::optional< ParseResultv8::internal::torque::ParseTokens (Symbol *start, const LexerResult &tokens)