Aprepro 5.0x
Loading...
Searching...
No Matches
SEAMS::Parser::context Class Reference

#include <aprepro_parser.h>

Collaboration diagram for SEAMS::Parser::context:

Public Member Functions

 context (const Parser &yyparser, const symbol_type &yyla)
const symbol_typelookahead () const YY_NOEXCEPT
symbol_kind_type token () const YY_NOEXCEPT
int expected_tokens (symbol_kind_type yyarg[], int yyargn) const

Private Attributes

const Parseryyparser_
const symbol_typeyyla_

Constructor & Destructor Documentation

◆ context()

SEAMS::Parser::context::context ( const Parser & yyparser,
const symbol_type & yyla )

Member Function Documentation

◆ expected_tokens()

int SEAMS::Parser::context::expected_tokens ( symbol_kind_type yyarg[],
int yyargn ) const

Put in YYARG at most YYARGN of the expected tokens, and return the number of tokens stored in YYARG. If YYARG is null, return the number of expected tokens (guaranteed to be less than YYNTOKENS).

◆ lookahead()

const symbol_type & SEAMS::Parser::context::lookahead ( ) const
inline

◆ token()

symbol_kind_type SEAMS::Parser::context::token ( ) const
inline

Member Data Documentation

◆ yyla_

const symbol_type& SEAMS::Parser::context::yyla_
private

◆ yyparser_

const Parser& SEAMS::Parser::context::yyparser_
private

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