示例#1
0
 public PropDef(
     TypeRef type,
     FQName name,
     Vis vis,
     CsExpr getSource,
     CsExpr setSource,
     CsExpr assignSource,
     Lst <AttributeDef> attributes,
     Option <Document> document,
     bool isStatic,
     bool isAbstract,
     bool isVirtual,
     bool isOverride,
     bool isNew,
     Option <Arg> indexerArg
     )
 {
     Type         = type;
     Name         = name;
     Visibility   = vis;
     SetSource    = setSource;
     GetSource    = getSource;
     AssignSource = assignSource;
     Attributes   = attributes;
     Document     = document;
     IsStatic     = isStatic;
     IsAbstract   = isAbstract;
     IsVirtual    = isVirtual;
     IsOverride   = isOverride;
     IsNew        = isNew;
     IndexerArg   = indexerArg;
 }
示例#2
0
 public MethodDef(
     TypeRef type,
     FQName name,
     Lst <Arg> args,
     Vis vis,
     CsExpr source,
     Lst <AttributeDef> attributes,
     Option <Document> document,
     Lst <Constraint> constraints,
     bool isStatic,
     bool isAbstract,
     bool isVirtual,
     bool isOverride,
     bool isNew,
     bool isAsync
     )
 {
     Type        = type;
     Name        = name;
     Visibility  = vis;
     Source      = source;
     Args        = args;
     Attributes  = attributes;
     Document    = document;
     IsStatic    = isStatic;
     IsAbstract  = isAbstract;
     IsVirtual   = isVirtual;
     IsOverride  = isOverride;
     IsNew       = isNew;
     IsAsync     = isAsync;
     Constraints = constraints;
 }
示例#3
0
 public TypeRef(FQName name, Option <ArrayDef> arrayDef, bool isNullable, bool isIn, bool isOut)
 {
     Name       = name;
     ArrayDef   = arrayDef;
     IsNullable = isNullable;
     IsIn       = isIn;
     IsOut      = isOut;
 }
示例#4
0
 public Namespace(FQName name, Lst <Using> usings, Lst <Namespace> namespaces, Lst <TypeDef> types, Lst <EnumDef> enums, Lst <DelegateDef> delegates)
 {
     Name       = name;
     Usings     = usings;
     Namespaces = namespaces;
     Types      = types;
     Enums      = enums;
     Delegates  = delegates;
 }
示例#5
0
 public Using(bool isStatic, FQName name)
 {
     IsStatic = isStatic;
     Name     = name;
 }
示例#6
0
 public VarExpr(FQName name)
 {
     Name = name;
 }
示例#7
0
 public CallExpr(FQName name, Lst <CsExpr> args)
 {
     Name = name;
     Args = args;
 }
示例#8
0
 public VarAssign(FQName name, CsExpr rhs)
 {
     Name = name;
     RHS  = rhs;
 }