H3D API  2.4.1
Classes | Public Types | Public Member Functions | List of all members
yy::VrmlParser Class Reference

A Bison parser. More...

#include </home/karlu/private/H3D/H3D/H3DAPI/src/vrml.hpp>

Classes

struct  token
 Tokens. More...
 

Public Types

typedef int semantic_type
 Symbol semantic values.
 
typedef location location_type
 Symbol locations.
 
typedef token::yytokentype token_type
 Token type.
 
typedef int debug_level_type
 Type for debugging levels.
 

Public Member Functions

 VrmlParser (VrmlDriver &driver_yyarg)
 Build a parser object.
 
virtual int parse ()
 Parse. More...
 
std::ostream & debug_stream () const
 The current debugging stream.
 
void set_debug_stream (std::ostream &)
 Set the current debugging stream.
 
debug_level_type debug_level () const
 The current debugging level.
 
void set_debug_level (debug_level_type l)
 Set the current debugging level.
 

Detailed Description

A Bison parser.

Member Function Documentation

◆ parse()

int yy::VrmlParser::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.

$$.

$.

References yy::location::begin, yy::location::end, and yy::position::filename.


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