Kea 2.7.5
isc::agent::AgentParser::context Class Reference

#include <agent_parser.h>

Public Member Functions

 context (const AgentParser &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.
 
const location_typelocation () const YY_NOEXCEPT
 
const symbol_typelookahead () const YY_NOEXCEPT
 
symbol_kind_type token () const YY_NOEXCEPT
 

Detailed Description

Definition at line 1983 of file agent_parser.h.

Constructor & Destructor Documentation

◆ context()

isc::agent::AgentParser::context::context ( const AgentParser & yyparser,
const symbol_type & yyla )

Definition at line 2048 of file agent_parser.cc.

Member Function Documentation

◆ expected_tokens()

int isc::agent::AgentParser::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 2054 of file agent_parser.cc.

References isc::agent::AgentParser::symbol_kind::S_YYEMPTY, isc::agent::AgentParser::symbol_kind::S_YYerror, YY_CAST, and isc::agent::AgentParser::YYNTOKENS.

◆ location()

const location_type & isc::agent::AgentParser::context::location ( ) const
inline

Definition at line 1989 of file agent_parser.h.

◆ lookahead()

const symbol_type & isc::agent::AgentParser::context::lookahead ( ) const
inline

Definition at line 1987 of file agent_parser.h.

◆ token()

symbol_kind_type isc::agent::AgentParser::context::token ( ) const
inline

Definition at line 1988 of file agent_parser.h.


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