mirror of https://github.com/tbklang/tlang.git
Entity
- Start off with `accessorType` set to its type's `.init` value AccessorType - Make the `.init` `UNKNOWN` InitScope - Make the `.init` `UNKNOWN`
This commit is contained in:
parent
8c55d451e4
commit
fd7a7687db
|
@ -138,12 +138,12 @@ public class Statement
|
|||
|
||||
public enum AccessorType
|
||||
{
|
||||
PUBLIC, PRIVATE, PROTECTED, UNKNOWN
|
||||
UNKNOWN, PUBLIC, PRIVATE, PROTECTED
|
||||
}
|
||||
|
||||
public enum InitScope
|
||||
{
|
||||
VIRTUAL, STATIC, UNKNOWN
|
||||
UNKNOWN, VIRTUAL, STATIC
|
||||
}
|
||||
|
||||
public class Assignment : Statement
|
||||
|
@ -166,8 +166,7 @@ public class Assignment : Statement
|
|||
public class Entity : Statement
|
||||
{
|
||||
/* Accessor type */
|
||||
// TODO: Should this really be set here? I mean it's a lot safer here
|
||||
private AccessorType accessorType = AccessorType.PUBLIC;
|
||||
private AccessorType accessorType;
|
||||
|
||||
/* Function/Modifier type */
|
||||
private InitScope initScope;
|
||||
|
|
Loading…
Reference in New Issue