Allow access to the numeric properties.
- Identifiers can now evaluate to type references. - The dot operator can now find symbols in type references.
This commit is contained in:
parent
e7616ec0bd
commit
39d7fa0605
6 changed files with 112 additions and 5 deletions
|
|
@ -67,6 +67,7 @@ enum EZCCTreeNodeType
|
|||
AST_ClassType,
|
||||
AST_Expression,
|
||||
AST_ExprID,
|
||||
AST_ExprTypeRef,
|
||||
AST_ExprConstant,
|
||||
AST_ExprFuncCall,
|
||||
AST_ExprMemberAccess,
|
||||
|
|
@ -288,6 +289,11 @@ struct ZCC_ExprID : ZCC_Expression
|
|||
ENamedName Identifier;
|
||||
};
|
||||
|
||||
struct ZCC_ExprTypeRef : ZCC_Expression
|
||||
{
|
||||
PType *RefType;
|
||||
};
|
||||
|
||||
struct ZCC_ExprConstant : ZCC_Expression
|
||||
{
|
||||
union
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue