Beispiel #1
0
 protected Definition(eAccessLevel lvl, bool isProtected, bool isStatic, TypeNode type, List <VarDefinition> args, string name)
 {
     Type        = type;
     AccessLevel = lvl;
     IsProtected = isProtected;
     IsStatic    = isStatic;
     Args        = args;
     Name        = name;
 }
 public static byte e(this eAccessLevel o) => (byte)o;
Beispiel #3
0
 public PropertyDef(eAccessLevel lvl, bool isProtected, bool isStatic, TypeNode type, string name)
     : base(lvl, isProtected, isStatic, type, null, name)
 {
 }
Beispiel #4
0
 public IndexerDef(eAccessLevel lvl, bool isProtected, bool isStatic, TypeNode type, List <VarDefinition> args)
     : base(lvl, isProtected, isStatic, type, args, null)
 {
 }
Beispiel #5
0
 public FunctionDef(eAccessLevel lvl, bool isProtected, bool isStatic, TypeNode type, string name, List <VarDefinition> args)
     : base(lvl, isProtected, isStatic, type, args, name)
 {
 }
Beispiel #6
0
 public EventDef(eAccessLevel lvl, bool isProtected, bool isStatic, List <VarDefinition> args, string name)
     : base(lvl, isProtected, isStatic, null, args, name)
 {
 }