ArgumentType
class ArgumentType
Represents an argument type, which defines the valid values for an instruction's operands.
DEFINITION
class ArgumentType;
enum Type
DEFINITION
enum Type;
| VALUE | DESCRIPTION |
|---|---|
ANY |
|
ENCODING |
|
ENUM |
|
MAP |
|
RANGE |
constructor ArgumentType
DEFINITION
| ArgumentType | ( | Symbol name | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
destructor ~ArgumentTypevirtual
DEFINITION
| virtual ~ArgumentType | ( | ); |
method as_encodingconst
DEFINITION
| const ArgumentTypeEncoding * as_encoding | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
const ArgumentTypeEncoding * |
method is_encodingconst
DEFINITION
| bool is_encoding | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method typeconstvirtual
DEFINITION
| virtual Type type | ( | ) const | = 0; |
| RETURNS | DESCRIPTION |
|---|---|
Type |
member name
DEFINITION
Symbol name;
class ArgumentTypeAny
DEFINITION
class ArgumentTypeAny;
constructor ArgumentTypeAny
DEFINITION
| ArgumentTypeAny | ( | Symbol name | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
method typeconstvirtual
DEFINITION
| virtual Type type | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
Type |
class ArgumentTypeEncoding
DEFINITION
class ArgumentTypeEncoding;
constructor ArgumentTypeEncoding
DEFINITION
| ArgumentTypeEncoding | ( | Symbol name, | |
| const IntegerEncoder & encoding | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
|
encoding |
method range_typeconst
DEFINITION
| std::unique_ptr< ArgumentType > range_type | ( | Symbol range_name | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
range_name |
| RETURNS | DESCRIPTION |
|---|---|
std::unique_ptr< ArgumentType > |
method typeconstvirtual
DEFINITION
| virtual Type type | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
Type |
member encoding
DEFINITION
IntegerEncoder encoding;
class ArgumentTypeEnum
DEFINITION
class ArgumentTypeEnum;
constructor ArgumentTypeEnum
DEFINITION
| ArgumentTypeEnum | ( | Symbol name | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
method entryconst
DEFINITION
| Value entry | ( | Symbol name | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
name |
| RETURNS | DESCRIPTION |
|---|---|
Value |
method has_entryconst
DEFINITION
| bool has_entry | ( | Symbol name | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
name |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method typeconstvirtual
DEFINITION
| virtual Type type | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
Type |
member entries
DEFINITION
std::unordered_map< Symbol, Value > entries;
class ArgumentTypeMap
DEFINITION
class ArgumentTypeMap;
constructor ArgumentTypeMap
DEFINITION
| ArgumentTypeMap | ( | Symbol name | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
method entryconst
DEFINITION
| Value entry | ( | const Value & value | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
value |
| RETURNS | DESCRIPTION |
|---|---|
Value |
method has_entryconst
DEFINITION
| bool has_entry | ( | const Value & value | ) const; |
| PARAMETER | DESCRIPTION |
|---|---|
value |
| RETURNS | DESCRIPTION |
|---|---|
bool |
method typeconstvirtual
DEFINITION
| virtual Type type | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
Type |
member entries
DEFINITION
std::unordered_map< Value, Value > entries;
class ArgumentTypeRange
DEFINITION
class ArgumentTypeRange;
constructor ArgumentTypeRange
DEFINITION
| ArgumentTypeRange | ( | Symbol name | ); |
| PARAMETER | DESCRIPTION |
|---|---|
name |
method typeconstvirtual
DEFINITION
| virtual Type type | ( | ) const; |
| RETURNS | DESCRIPTION |
|---|---|
Type |
member lower_bound
DEFINITION
Value lower_bound;
member upper_bound
DEFINITION
Value upper_bound;