clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Classes | Public Types | Public Member Functions | List of all members
Gringo::Input::NonGroundGrammar::parser Class Reference

A Bison parser. More...

#include <grammar.hh>

Collaboration diagram for Gringo::Input::NonGroundGrammar::parser:
Collaboration graph

Classes

union  semantic_type
 Symbol semantic values. More...
 
struct  token
 Tokens. More...
 

Public Types

typedef DefaultLocation location_type
 Symbol locations. More...
 
typedef token::yytokentype token_type
 Token type. More...
 

Public Member Functions

 parser (Gringo::Input::NonGroundParser *lexer_yyarg)
 Build a parser object. More...
 
virtual ~parser ()
 
virtual int parse ()
 

Detailed Description

A Bison parser.

Member Typedef Documentation

Symbol locations.

Token type.

Constructor & Destructor Documentation

Gringo::Input::NonGroundGrammar::parser::parser ( Gringo::Input::NonGroundParser lexer_yyarg)

Build a parser object.

Gringo::Input::NonGroundGrammar::parser::~parser ( )
virtual

Member Function Documentation

int Gringo::Input::NonGroundGrammar::parser::parse ( )
virtual

Parse.

Returns
0 iff parsing succeeded.

Lookahead and lookahead in internal form.

Semantic value of the lookahead.

Location of the lookahead.

The locations where the error started and ended.

$$.

$.

Here is the call graph for this function:


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