Skip to content

Target

INCLUDE FILE
#include "Target.h"

class Target

DEFINITION
class Target;

constructor Target

DEFINITION
Target ( );

constructor Target

DEFINITION
Target ( Symbol  name );
PARAMETERDESCRIPTION
name

method clear_current_targetstatic

DEFINITION
static void  clear_current_target ( );

method define

DEFINITION
void  define ( const std::unordered_set< Symbol > & defines );
PARAMETERDESCRIPTION
defines

method define

DEFINITION
void  define ( Symbol  name );
PARAMETERDESCRIPTION
name

method file_scopeconst

DEFINITION
std::shared_ptr< Scope >  file_scope ( ) const;
RETURNSDESCRIPTION
std::shared_ptr< Scope >

method getstatic

DEFINITION
static Target & get ( Symbol  name );
PARAMETERDESCRIPTION
name
RETURNSDESCRIPTION
Target &

method getstatic

DEFINITION
static Target & get ( const std::string & name );
PARAMETERDESCRIPTION
name
RETURNSDESCRIPTION
Target &

method get_definesconst

DEFINITION
const std::unordered_set< Symbol > & get_defines ( ) const;
RETURNSDESCRIPTION
const std::unordered_set< Symbol > &

method is_compatible_withconst

DEFINITION
bool  is_compatible_with ( const Target & other ) const;
PARAMETERDESCRIPTION
other
RETURNSDESCRIPTION
bool

method public_scopeconst

DEFINITION
std::shared_ptr< Scope >  public_scope ( ) const;
RETURNSDESCRIPTION
std::shared_ptr< Scope >

method set_current_targetstatic

DEFINITION
static void  set_current_target ( const Target * target );
PARAMETERDESCRIPTION
target

method set_fill_byte

DEFINITION
void  set_fill_byte ( uint8_t  fill_byte );
PARAMETERDESCRIPTION
fill_byte

method string_encodingconst

DEFINITION
const StringEncoding * string_encoding ( Symbol  name ) const;
PARAMETERDESCRIPTION
name
RETURNSDESCRIPTION
const StringEncoding *

member cpu

DEFINITION
const CPU * cpu;

member current_targetstatic

DEFINITION
static const Target * current_target;

member default_string_encoding

DEFINITION
const StringEncoding * default_string_encoding;

member emptystatic

DEFINITION
static const Target  empty;

member extension

DEFINITION
std::string  extension;

member file_scope_

DEFINITION
std::shared_ptr< Scope >  file_scope_;

member map

DEFINITION
MemoryMap  map;

member module

DEFINITION
Module  module;

member name

DEFINITION
Symbol  name;

member output

DEFINITION
std::shared_ptr< Output >  output;

member string_encodings

DEFINITION
std::unordered_map< Symbol, StringEncoding >  string_encodings;