• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop QMake parser
 

KDevelop QMake parser

  • TQMake
  • Parser
Classes | Public Types | Public Member Functions | List of all members
TQMake::Parser Class Reference

#include <qmake_yacc.hpp>

Classes

struct  token
 

Public Types

typedef YYSTYPE semantic_type
 
typedef location location_type
 
typedef token::yytokentype token_type
 
typedef int debug_level_type
 

Public Member Functions

 Parser (TQMake::Lexer *lexer_yyarg, TQValueStack< ProjectAST *> &projects_yyarg, int depth_yyarg)
 
virtual int parse ()
 
std::ostream & debug_stream () const
 
void set_debug_stream (std::ostream &)
 
debug_level_type debug_level () const
 
void set_debug_level (debug_level_type l)
 

Detailed Description

A Bison parser.

Definition at line 209 of file qmake_yacc.hpp.

Member Typedef Documentation

◆ debug_level_type

typedef int TQMake::Parser::debug_level_type

Type for debugging levels.

Definition at line 265 of file qmake_yacc.hpp.

◆ location_type

typedef location TQMake::Parser::location_type

Symbol locations.

Definition at line 219 of file qmake_yacc.hpp.

◆ semantic_type

typedef YYSTYPE TQMake::Parser::semantic_type

Symbol semantic values.

Definition at line 216 of file qmake_yacc.hpp.

◆ token_type

typedef token::yytokentype TQMake::Parser::token_type

Token type.

Definition at line 249 of file qmake_yacc.hpp.

Constructor & Destructor Documentation

◆ Parser()

TQMake::Parser::Parser ( TQMake::Lexer *  lexer_yyarg,
TQValueStack< ProjectAST *> &  projects_yyarg,
int  depth_yyarg 
)

Build a parser object.

Definition at line 147 of file qmake_yacc.cpp.

Member Function Documentation

◆ debug_level()

Parser::debug_level_type TQMake::Parser::debug_level ( ) const

The current debugging level.

Definition at line 231 of file qmake_yacc.cpp.

◆ debug_stream()

std::ostream & TQMake::Parser::debug_stream ( ) const

The current debugging stream.

Definition at line 218 of file qmake_yacc.cpp.

◆ parse()

int TQMake::Parser::parse ( )
virtual

Parse.

Returns
0 iff parsing succeeded.

Look-ahead and look-ahead in internal form.

Semantic value of the look-ahead.

Location of the look-ahead.

The locations where the error started and ended.

$$.

$.

Definition at line 244 of file qmake_yacc.cpp.

◆ set_debug_level()

void TQMake::Parser::set_debug_level ( debug_level_type  l)

Set the current debugging level.

Definition at line 237 of file qmake_yacc.cpp.

◆ set_debug_stream()

void TQMake::Parser::set_debug_stream ( std::ostream &  o)

Set the current debugging stream.

Definition at line 224 of file qmake_yacc.cpp.


The documentation for this class was generated from the following files:
  • qmake_yacc.hpp
  • qmake_yacc.cpp

KDevelop QMake parser

Skip menu "KDevelop QMake parser"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop QMake parser

Skip menu "KDevelop QMake parser"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop QMake parser by doxygen 1.8.13
This website is maintained by Timothy Pearson.