CsParserTypes.h File Reference
|
Defines |
#define | DEFINE_AST_ALLOCATOR(Type) |
#define | INVARIANT() |
#define | DELETE_FROM_CONTAINER(cont_type, cont) |
Enumerations |
enum | cs_node {
n_null,
n_using_alias_directive,
n_using_namespace_directive,
n_simple_name,
n_literal,
n_embedded_type_member_access,
n_this_access,
n_base_member_access,
n_base_indexer_access,
n_typeof_expression,
n_checked_expression,
n_unchecked_expression,
n_sizeof_expression,
n_parenthesized_expression,
n_new_object_expression,
n_new_array_expression,
n_invocation_expression,
n_element_access,
n_member_access,
n_pointer_member_access,
n_post_increment_decrement_expression,
n_binary_expression,
n_as_is_expression,
n_conditional_expression,
n_operator_unary_expression,
n_pre_increment_decrement_expression,
n_cast_unary_expression,
n_assignment_expression,
n_expression_list,
n_makeref,
n_reftype,
n_refvalue,
n_arglist,
n_attribute_named_argument,
n_attribute,
n_attribute_section,
n_attributes,
n_type_ref,
n_type_base,
n_argument_list,
n_class,
n_struct,
n_interface,
n_enum_member,
n_enum,
n_formal_parameter,
n_formal_parameter_list,
n_delegate,
n_namespace,
n_argument,
n_label,
n_labeled_statement,
n_empty_statement,
n_expression_statement,
n_declaration_statement,
n_local_constant_declarator,
n_local_constant_declaration,
n_if_statement,
n_switch_label,
n_switch_section,
n_switch_statement,
n_while_statement,
n_do_while_statement,
n_local_variable_declarator,
n_local_variable_declaration,
n_statement_expression_list,
n_for_statement,
n_foreach_statement,
n_break_statement,
n_continue_statement,
n_goto_statement,
n_return_statement,
n_throw_statement,
n_catch_clause,
n_try_statement,
n_checked_statement,
n_unchecked_statement,
n_lock_statement,
n_using_statement,
n_unsafe_statement,
n_fixed_point_declarator,
n_fixed_statement,
n_stack_alloc_expression,
n_block,
n_constructor_declaration,
n_constant_declarator,
n_constant_declaration,
n_variable_declarator,
n_variable_declaration,
n_array_initializer,
n_method_declaration,
n_property_accessor,
n_property_declaration,
n_event_declaration,
n_event_declarator,
n_event_accessor,
n_indexer_declaration,
n_operator_declaration,
n_conversion_operator_declaration,
n_destructor_declaration,
n_compilation_unit,
n_end
} |
| AST node enumaration type. More...
|
enum | expression_classification {
ec_unknown,
ec_value,
ec_variable,
ec_namespace,
ec_type,
ec_method_group,
ec_property_access,
ec_indexer_access,
ec_event_access,
ec_nothing
} |
| Expression classification. More...
|
enum | TypeSpecifierEnum { tsArrayPostfix,
tsPointer
} |
| Type specifier enumeration. More...
|
enum | AttributeSpecifierEnum {
asNONE = 0x0000,
asASSEMBLY = 0x0001,
asEVENT = 0x0002,
asFIELD = 0x0003,
asMETHOD = 0x0004,
asPARAM = 0x0005,
asPROPERTY = 0x0006,
asRETURN = 0x0007,
asTYPE = 0x0008
} |
| Attribute specifier enumeration. More...
|
enum | CsModifierEnum {
mINTERNAL = 0x0001,
mPRIVATE = 0x0002,
mPROTECTED = 0x0004,
mPUBLIC = 0x0008,
m_non_access_modifiers_mask = 0x3ff0,
mABSTRACT = 0x0010,
mEXTERN = 0x0020,
mNEW = 0x0040,
mOVERRIDE = 0x0080,
mREADONLY = 0x0100,
mSEALED = 0x0200,
mSTATIC = 0x0400,
mVIRTUAL = 0x0800,
mVOLATILE = 0x1000,
mUNSAFE = 0x2000
} |
| Modifier enumeration type. More...
|
Define Documentation
#define DEFINE_AST_ALLOCATOR |
( |
Type |
|
) |
|
|
|
Value: inline void * Type::operator new ( size_t size )\
{\
return FixedSmallObjAllocator < ALIGN_TO_2_POW_N_OR_64 ( sizeof ( Type ) ), AstAllocatorId, OwnPageAllocator >::allocate();\
}\
\
inline void Type::operator delete ( void * address )\
{\
FixedSmallObjAllocator < ALIGN_TO_2_POW_N_OR_64 ( sizeof ( Type ) ), AstAllocatorId, OwnPageAllocator >::deallocate ( address );\
}\
|
#define DELETE_FROM_CONTAINER |
( |
cont_type, |
|
|
cont |
|
) |
|
|
|
Value: {\
for ( cont_type::iterator it = cont.begin(); it != cont.end(); ++it )\
delete *it;\
}\
|
Enumeration Type Documentation
|
Attribute specifier enumeration.
- Enumeration values:
-
asNONE |
No attribute specifier. |
asASSEMBLY |
assembly: attribute specifier. |
asEVENT |
event: attribute specifier. |
asFIELD |
field: attribute specifier. |
asMETHOD |
method: attribute specifier. |
asPARAM |
param: attribute specifier. |
asPROPERTY |
property: attribute specifier. |
asRETURN |
return: attribute specifier. |
asTYPE |
type: attribute specifier. |
|
|
AST node enumaration type.
- Enumeration values:
-
|
|
Modifier enumeration type.
- Enumeration values:
-
mINTERNAL |
internal |
mPRIVATE |
private |
mPROTECTED |
protected |
mPUBLIC |
public |
m_non_access_modifiers_mask |
|
mABSTRACT |
abstract |
mEXTERN |
extern |
mNEW |
new |
mOVERRIDE |
override |
mREADONLY |
readonly |
mSEALED |
sealed |
mSTATIC |
static |
mVIRTUAL |
virtual |
mVOLATILE |
volatile |
mUNSAFE |
unsafe |
|
|
Expression classification.
[ECMA-334, 14.1] - Enumeration values:
-
ec_unknown |
Not evaluated. |
ec_value |
A value. |
ec_variable |
A variable. |
ec_namespace |
A namespace. |
ec_type |
A type. |
ec_method_group |
A method group. |
ec_property_access |
A property access. |
ec_indexer_access |
An indexer access. |
ec_event_access |
An event access. |
ec_nothing |
Nothing. |
|
|
Type specifier enumeration.
- Enumeration values:
-
tsArrayPostfix |
Array postfix specifier (Example: array[][]). |
tsPointer |
Pointer specifier (Example: char**). |
|
|