OpenASIP  2.0
Classes | Typedefs | Variables
AssemblerParser.hh File Reference
#include <boost/version.hpp>
#include "CompilerWarnings.hh"
#include <boost/spirit.hpp>
#include <boost/spirit/actor/push_back_actor.hpp>
#include <boost/spirit/actor/clear_actor.hpp>
#include <boost/spirit/actor/assign_actor.hpp>
#include <boost/spirit/actor/increment_actor.hpp>
#include <boost/spirit/actor/assign_key_actor.hpp>
#include <boost/spirit/actor/insert_at_actor.hpp>
#include <boost/spirit/iterator/file_iterator.hpp>
#include "Exception.hh"
#include "ParserStructs.hh"
#include "MachineResourceManager.hh"
#include "DataSectionCreator.hh"
#include "CodeSectionCreator.hh"
#include "LabelManager.hh"
#include "AssemblyParserDiagnostic.hh"
Include dependency graph for AssemblerParser.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ParserTemp
 
class  PrintString
 
class  NewCodeSectionActor
 
class  AddMoveActor
 
class  SetStartAddressActor
 
class  AddDataLineActor
 
class  AddLabelActor
 
class  AddProcedureActor
 
class  SetGlobalActor
 
struct  AssemblerParser
 
struct  AssemblerParser::definition< ScannerT >
 

Typedefs

typedef file_iterator< char_titerator_t
 
typedef scanner< iterator_tscanner_t
 
typedef rule< scanner_trule_t
 

Variables

POP_COMPILER_DIAGS typedef char char_t
 
const bool MY_TRUE = true
 
const bool MY_FALSE = false
 
const UValue MY_ZERO = 0
 
const ParserMove::MoveType EMPTY_MOVE = ParserMove::EMPTY
 
const ParserMove::MoveType TRANSPORT_MOVE = ParserMove::TRANSPORT
 
const ParserMove::MoveType LONG_IMM = ParserMove::LONG_IMMEDIATE
 
const RegisterTerm::TermType BUS_TERM = RegisterTerm::BUS
 
const RegisterTerm::TermType FUNCTION_UNIT_TERM = RegisterTerm::FUNCTION_UNIT
 
const RegisterTerm::TermType INDEX_TERM = RegisterTerm::INDEX
 
const ParserMove EMPTY_BEGIN_MOVE (ParserMove::EMPTY, true)
 Empty parser move with isBegin flag set. More...
 

Detailed Description

Syntax declarations and callbacks of assembler language.

Author
Mikael Lepistö 2005 (tmlepist-no.spam-cs.tut.fi)
Pekka Jääskeläinen 2009
Henry Linjamäki 2017 (henry.linjamaki-no.spam-tut.fi)
Note
rating: yellow

Definition in file AssemblerParser.hh.

Typedef Documentation

◆ iterator_t

typedef file_iterator<char_t> iterator_t

Definition at line 82 of file AssemblerParser.hh.

◆ rule_t

typedef rule<scanner_t> rule_t

Definition at line 84 of file AssemblerParser.hh.

◆ scanner_t

typedef scanner<iterator_t> scanner_t

Definition at line 83 of file AssemblerParser.hh.

Variable Documentation

◆ BUS_TERM

◆ char_t

POP_COMPILER_DIAGS typedef char char_t

Definition at line 81 of file AssemblerParser.hh.

◆ EMPTY_BEGIN_MOVE

const ParserMove EMPTY_BEGIN_MOVE(ParserMove::EMPTY, true)

Empty parser move with isBegin flag set.

Referenced by AssemblerParser::definition< ScannerT >::definition().

◆ EMPTY_MOVE

◆ FUNCTION_UNIT_TERM

◆ INDEX_TERM

◆ LONG_IMM

◆ MY_FALSE

const bool MY_FALSE = false

◆ MY_TRUE

const bool MY_TRUE = true

◆ MY_ZERO

const UValue MY_ZERO = 0

◆ TRANSPORT_MOVE