Kea  2.3.6-git
isc::d2::D2Parser::context Class Reference

#include <d2_parser.h>

Public Member Functions

 context (const D2Parser &yyparser, const symbol_type &yyla)
 
int 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. More...
 
const location_typelocation () const YY_NOEXCEPT
 
const symbol_typelookahead () const YY_NOEXCEPT
 
symbol_kind_type token () const YY_NOEXCEPT
 

Detailed Description

Definition at line 2096 of file d2_parser.h.

Constructor & Destructor Documentation

◆ context()

isc::d2::D2Parser::context::context ( const D2Parser yyparser,
const symbol_type yyla 
)

Definition at line 2286 of file d2_parser.cc.

Member Function Documentation

◆ expected_tokens()

int isc::d2::D2Parser::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).

Definition at line 2292 of file d2_parser.cc.

References isc::d2::D2Parser::basic_symbol< Base >::empty(), expected_tokens(), lookahead(), isc::d2::D2Parser::symbol_kind::S_YYEMPTY, isc::d2::D2Parser::symbol_kind::S_YYerror, isc::d2::D2Parser::symbol_name(), token(), YY_, YY_CAST, YY_SYMBOL_PRINT, YYCASE_, and isc::d2::D2Parser::YYNTOKENS.

Referenced by expected_tokens().

+ Here is the call graph for this function:

◆ location()

const location_type& isc::d2::D2Parser::context::location ( ) const
inline

Definition at line 2102 of file d2_parser.h.

References YY_MOVE_REF, YY_NOEXCEPT, and YY_RVREF.

◆ lookahead()

const symbol_type& isc::d2::D2Parser::context::lookahead ( ) const
inline

Definition at line 2100 of file d2_parser.h.

Referenced by expected_tokens().

◆ token()

symbol_kind_type isc::d2::D2Parser::context::token ( ) const
inline

Definition at line 2101 of file d2_parser.h.

References isc::d2::D2Parser::by_kind::kind().

Referenced by expected_tokens().

+ Here is the call graph for this function:

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