public ParsedDynamicExpression(
     IEnumerable <ParsedExpression> arguments,
     ParsedType delegateType)
     : base()
 {
     this.Arguments    = arguments.ToArray();
     this.DelegateType = delegateType;
 }
 public ParsedConstantExpression(
     ParsedType type,
     object value)
     : base()
 {
     this.Type  = type;
     this.Value = value;
 }
 public ParsedTypeBinaryExpression(
     ParsedExpression expression,
     ParsedType type)
     : base()
 {
     this.Expression = expression;
     this.Type       = type;
 }
 public ParsedMethodInfo(ParsedType declaringType, IEnumerable <ParsedType> genericArguments, bool isPublic, bool isStatic, string name, IEnumerable <ParsedParameterInfo> parameters, ParsedType reflectedType, ParsedType returnType)
     : base(declaringType, name, reflectedType)
 {
     this.GenericArguments = genericArguments.ToArray();
     this.IsPublic         = isPublic;
     this.IsStatic         = isStatic;
     this.Parameters       = parameters.ToArray();
     this.ReturnType       = returnType;
 }
 public ParsedMemberExpression(
     ParsedExpression expression,
     ParsedMemberInfo member,
     ParsedType type)
     : base()
 {
     this.Expression = expression;
     this.Member     = member;
     this.Type       = type;
 }
 public ParsedParameterExpression(
     bool isByRef,
     string name,
     ParsedType type)
     : base()
 {
     this.IsByRef = isByRef;
     this.Name    = name;
     this.Type    = type;
 }
 public ParsedNewArrayExpression(
     ParsedType type,
     IEnumerable <ParsedExpression> expressions,
     ExpressionType nodeType)
     : base()
 {
     this.Type        = type;
     this.Expressions = expressions.ToArray();
     this.NodeType    = nodeType;
 }
 public ParsedGotoExpression(
     GotoExpressionKind kind,
     ParsedLabelTarget target,
     ParsedType type,
     ParsedExpression value)
     : base()
 {
     this.Kind   = kind;
     this.Target = target;
     this.Type   = type;
     this.Value  = value;
 }
Exemple #9
0
 public ParsedUnaryExpression(
     ParsedExpression operand,
     ParsedMethodInfo method,
     ExpressionType nodeType,
     ParsedType type)
     : base()
 {
     this.Operand  = operand;
     this.Method   = method;
     this.NodeType = nodeType;
     this.Type     = type;
 }
Exemple #10
0
 public ParsedConditionalExpression(
     ParsedExpression ifFalse,
     ParsedExpression ifTrue,
     ParsedExpression test,
     ParsedType type)
     : base()
 {
     this.IfFalse = ifFalse;
     this.IfTrue  = ifTrue;
     this.Test    = test;
     this.Type    = type;
 }
Exemple #11
0
 public ParsedBlockExpression(
     IEnumerable <ParsedExpression> expressions,
     ParsedExpression result,
     ParsedType type,
     IEnumerable <ParsedParameterExpression> variables)
     : base()
 {
     this.Expressions = expressions.ToArray();
     this.Result      = result;
     this.Type        = type;
     this.Variables   = variables.ToArray();
 }
 public ParsedMethodCallExpression(
     IEnumerable <ParsedExpression> arguments,
     ParsedExpression instance,
     ParsedMethodInfo method,
     ParsedType type)
     : base()
 {
     this.Arguments = arguments.ToArray();
     this.Instance  = instance;
     this.Method    = method;
     this.Type      = type;
 }
Exemple #13
0
 public ParsedFieldInfo(
     ParsedType declaringType,
     ParsedType fieldType,
     string name,
     bool isPublic,
     bool isStatic,
     ParsedType reflectedType)
     : base(declaringType, name, reflectedType)
 {
     this.FieldType = fieldType;
     this.IsPublic  = isPublic;
     this.IsStatic  = isStatic;
 }
Exemple #14
0
 public ParsedTryExpression(
     ParsedType type,
     ParsedExpression body,
     ParsedExpression @finally,
     ParsedExpression fault,
     IEnumerable <ParsedCatchBlock> handlers)
     : base()
 {
     this.Type     = type;
     this.Body     = body;
     this.Finally  = @finally;
     this.Fault    = fault;
     this.Handlers = handlers.ToArray();
 }
 public ParsedSwitchExpression(
     ParsedType type,
     ParsedExpression switchValue,
     ParsedExpression defaultBody,
     ParsedMethodInfo comparison,
     IEnumerable <ParsedSwitchCase> cases)
     : base()
 {
     this.Type        = type;
     this.SwitchValue = switchValue;
     this.DefaultBody = defaultBody;
     this.Comparison  = comparison;
     this.Cases       = cases;
 }
Exemple #16
0
 public ParsedLambdaExpression(
     ParsedExpression body,
     string name,
     IEnumerable <ParsedParameterExpression> parameters,
     ParsedType returnType,
     bool tailCall)
     : base()
 {
     this.Body       = body;
     this.Name       = name;
     this.Parameters = parameters.ToArray();
     this.ReturnType = returnType;
     this.TailCall   = tailCall;
 }
Exemple #17
0
 public ParsedDefaultExpression(
     ParsedType type)
     : base()
 {
     this.Type = type;
 }
 public ParsedConstructorInfo(ParsedType declaringType, IEnumerable <ParsedType> genericArguments, bool isPublic, bool isStatic, string name, IEnumerable <ParsedParameterInfo> parameters, ParsedType reflectedType, ParsedType returnType)
     : base(declaringType, genericArguments, isPublic, isStatic, name, parameters, reflectedType, returnType)
 {
 }
 protected ParsedMemberInfo(ParsedType declaringType, string name, ParsedType reflectedType)
 {
     this.DeclaringType = declaringType;
     this.Name          = name;
     this.ReflectedType = reflectedType;
 }
 public ParsedPropertyInfo(ParsedType declaringType, string name, ParsedType propertyType, ParsedType reflectedType)
     : base(declaringType, name, reflectedType)
 {
     this.PropertyType = propertyType;
 }