CsTypeRef Struct Reference
Type AST node.
More...
List of all members.
Detailed Description
Type AST node.
EBNF grammar:
type:
type-name
"bool"
"byte"
"char"
"decimal"
"double"
"float"
"int"
"long"
"object"
"sbyte"
"string"
"short"
"uint"
"ulong"
"ushort"
non-array-type rank-specifiers
pointer-type
pointer-type:
unmanaged-type "*"
void "*"
unmanaged-type:
type
rank-specifiers:
( rank-specifier )+
rank-specifier:
"[" ( "," )* "]"
Constructor & Destructor Documentation
CsTypeRef::CsTypeRef |
( |
|
) |
[inline] |
CsTypeRef::CsTypeRef |
( |
LineInfo |
line_info |
) |
[inline, explicit] |
virtual CsTypeRef::~CsTypeRef |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual void CsTypeRef::addEntityDefinitions |
( |
CsEntityCollector & |
tokenCollector |
) |
[inline, virtual] |
Collect entities defined in this AST node.
Implements CsNode.
virtual void CsTypeRef::addEntityReferences |
( |
CsEntityCollector & |
tokenCollector |
) |
[inline, virtual] |
Collect entity references.
Implements CsNode.
virtual void CsTypeRef::addTokens |
( |
CsTokenCollector & |
tokenCollector |
) |
[virtual] |
Collect token indexes associated with this AST node.
Implements CsNode.
virtual void CsTypeRef::addTokensRecursive |
( |
CsTokenCollector & |
tokenCollector |
) |
[virtual] |
Recursively collect token indexes in source code order.
Implements CsNode.
virtual void CsTypeRef::build_entities |
( |
CsDisplay & |
display |
) |
[inline, virtual] |
Build Entities - pass 2 (for internal purpose only).
Implements CsNode.
virtual void CsTypeRef::callback |
( |
CsAstCallback * |
visitor |
) |
[inline, virtual] |
virtual void CsTypeRef::clearEntities |
( |
|
) |
[virtual] |
Clear all entity references (for internal purpose only).
Implements CsNode.
bool CsTypeRef::isTypeName |
( |
|
) |
const [inline] |
virtual void CsTypeRef::member_lookup |
( |
CsDisplay & |
display |
) |
[inline, virtual] |
Member Lookup - pass 4 (for internal purpose only).
Implements CsNode.
virtual void CsTypeRef::type_lookup |
( |
CsDisplay & |
display |
) |
[inline, virtual] |
Type Lookup - pass 3 (for internal purpose only).
Implements CsNode.
virtual void CsTypeRef::visit |
( |
CsAstVisitor * |
visitor |
) |
[inline, virtual] |
Member Data Documentation
Predefined type (CsTokenType).
tkEOF - if type is a type-name,
or one of: tkBOOL, tkBYTE, tkCHAR, tkDECIMAL, tkDOUBLE, tkFLOAT, tkINT, tkLONG, tkOBJECT, tkSBYTE, tkSHORT, tkSTRING, tkUINT, tkULONG, tkUSHORT, tkVOID.
Using-directive which was used in type lookup.
This field was introduced for rename refactoring support.