v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::torque::ParseResultIterator Class Reference

#include <earley-parser.h>

Collaboration diagram for v8::internal::torque::ParseResultIterator:

Public Member Functions

 ParseResultIterator (std::vector< ParseResult > results, MatchedInput matched_input)
 
 ParseResultIterator (const ParseResultIterator &)=delete
 
ParseResultIteratoroperator= (const ParseResultIterator &)=delete
 
ParseResult Next ()
 
template<class T >
T NextAs ()
 
bool HasNext () const
 
const MatchedInputmatched_input () const
 

Private Attributes

std::vector< ParseResultresults_
 
size_t i_ = 0
 
MatchedInput matched_input_
 

Detailed Description

Definition at line 161 of file earley-parser.h.

Constructor & Destructor Documentation

◆ ParseResultIterator() [1/2]

v8::internal::torque::ParseResultIterator::ParseResultIterator ( std::vector< ParseResult > results,
MatchedInput matched_input )
inlineexplicit

Definition at line 163 of file earley-parser.h.

◆ ParseResultIterator() [2/2]

v8::internal::torque::ParseResultIterator::ParseResultIterator ( const ParseResultIterator & )
delete

Member Function Documentation

◆ HasNext()

bool v8::internal::torque::ParseResultIterator::HasNext ( ) const
inline

Definition at line 178 of file earley-parser.h.

Here is the caller graph for this function:

◆ matched_input()

const MatchedInput & v8::internal::torque::ParseResultIterator::matched_input ( ) const
inline

Definition at line 180 of file earley-parser.h.

Here is the caller graph for this function:

◆ Next()

ParseResult v8::internal::torque::ParseResultIterator::Next ( )
inline

Definition at line 170 of file earley-parser.h.

Here is the caller graph for this function:

◆ NextAs()

template<class T >
T v8::internal::torque::ParseResultIterator::NextAs ( )
inline

Definition at line 175 of file earley-parser.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

ParseResultIterator & v8::internal::torque::ParseResultIterator::operator= ( const ParseResultIterator & )
delete

Member Data Documentation

◆ i_

size_t v8::internal::torque::ParseResultIterator::i_ = 0
private

Definition at line 184 of file earley-parser.h.

◆ matched_input_

MatchedInput v8::internal::torque::ParseResultIterator::matched_input_
private

Definition at line 185 of file earley-parser.h.

◆ results_

std::vector<ParseResult> v8::internal::torque::ParseResultIterator::results_
private

Definition at line 183 of file earley-parser.h.


The documentation for this class was generated from the following file: