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; }
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; }
public ConstDef(TypeRef type, Identifier name, Vis vis, CsExpr source, Lst <AttributeDef> attributes, Option <Document> document) { Type = type; Name = name; Visibility = vis; Source = source; Attributes = attributes; Document = document; }
public ConvOperatorDef(bool impl, TypeRef toType, Arg fromArg, Vis vis, CsExpr source, Lst <AttributeDef> attributes, Option <Document> document) { Implicit = impl; ToType = toType; FromArg = fromArg; Visibility = vis; Source = source; Attributes = attributes; Document = document; }
public UnaryOperatorDef(string op, TypeRef type, Arg arg, Vis vis, CsExpr source, Lst <AttributeDef> attributes, Option <Document> document) { Op = op; Type = type; Arg = arg; Visibility = vis; Source = source; Attributes = attributes; Document = document; }
public BinaryOperatorDef(string op, TypeRef type, Arg lhs, Arg rhs, Vis vis, CsExpr source, Lst <AttributeDef> attributes, Option <Document> document) { Op = op; Type = type; ArgLHS = lhs; ArgRHS = rhs; Visibility = vis; Source = source; Attributes = attributes; Document = document; }
public FieldDef(TypeRef type, Identifier name, Vis vis, CsExpr source, Lst <AttributeDef> attributes, Option <Document> document, bool isReadOnly, bool isStatic, bool isEvent, bool isVolatile) { Type = type; Name = name; Visibility = vis; Source = source; Attributes = attributes; Document = document; IsReadOnly = isReadOnly; IsStatic = isStatic; IsEvent = isEvent; IsVolatile = isVolatile; }
public TernaryExpr(CsExpr boolExpr, CsExpr thenExpr, CsExpr elseExpr) { BoolExpr = boolExpr; ThenExpr = thenExpr; ElseExpr = elseExpr; }
public IfExpr(CsExpr boolExpr, Lst <CsExpr> thenExpr, Option <Lst <CsExpr> > elseExpr) { BoolExpr = boolExpr; ThenExpr = thenExpr; ElseExpr = elseExpr; }
public VarAssign(FQName name, CsExpr rhs) { Name = name; RHS = rhs; }
public UnaryExpr(CsExpr expr, string op, bool prefix) { Expr = expr; Op = op; Prefix = prefix; }
public BinaryExpr(CsExpr left, CsExpr right, string op) { Left = left; Right = right; Op = op; }