CsStruct Struct ReferenceStruct AST node.
More...
Inheritance diagram for CsStruct:
List of all members.
Detailed Description
Struct AST node.
EBNF grammar:
struct-declaration:
(attributes)? (struct-modifiers)? "struct" identifier (type-base)? struct-body (";")?
struct-modifiers:
(struct-modifier)+
struct-modifier:
"public"
"protected"
"internal"
"private"
"extern"
struct-body:
"{" (struct-member-declarations)? "}"
struct-member-declarations:
(struct-member-declaration)+
struct-member-declaration:
constant-declaration
field-declaration
method-declaration
property-declaration
event-declaration
indexer-declaration
operator-declaration
constructor-declaration
destructor-declaration
static-constructor-declaration
type-declaration
Constructor & Destructor Documentation
CsStruct::CsStruct |
( |
|
) |
[inline] |
|
CsStruct::CsStruct |
( |
LineInfo |
line_info |
) |
[inline, explicit] |
|
Member Function Documentation
virtual void CsStruct::addTokens |
( |
CsTokenCollector & |
tokenCollector |
) |
[virtual] |
|
|
Collect token indexes associated with this AST node.
Implements CsNode. |
virtual void CsStruct::addTokensRecursive |
( |
CsTokenCollector & |
tokenCollector |
) |
[virtual] |
|
|
Recusively collect token indexes in source code order.
Implements CsNode. |
virtual void CsStruct::clearEntities |
( |
|
) |
[virtual] |
|
|
Clear all entity references (for internal purpose only).
Reimplemented from CsClassStruct. |
Member Data Documentation
|