Ejemplo n.º 1
0
 public FunctionArgument(IExpression type, IExpression defaultValue, string name, IASTLocation location)
 {
     Type         = type;
     DefaultValue = defaultValue;
     Name         = name;
     Location     = location;
 }
Ejemplo n.º 2
0
 public Variable(IASTLocation location, IEnumerable <Name> names, IExpression type, IExpression initializer)
 {
     Location    = location;
     Names       = names;
     Type        = type;
     Initializer = initializer;
 }
Ejemplo n.º 3
0
 public BinaryExpression(IASTLocation location, IExpression left, IExpression right, ITokenType type)
 {
     Location = location;
     Left     = left;
     Right    = right;
     Type     = type;
 }
Ejemplo n.º 4
0
 public Lambda(IASTLocation location, IEnumerable <FunctionArgument> args, IEnumerable <IStatement> body, IEnumerable <Variable> captures, CaptureMode defaultref)
 {
     Location              = location;
     Arguments             = args;
     Body                  = body;
     Captures              = captures;
     CaptureByRefByDefault = defaultref;
 }
Ejemplo n.º 5
0
 public Constructor(IASTLocation location, IEnumerable <FunctionArgument> args, IEnumerable <Attribute> attributes, IEnumerable <IStatement> body, bool defaulted)
 {
     Location   = location;
     Arguments  = args;
     Attributes = attributes;
     Body       = body;
     Defaulted  = defaulted;
 }
Ejemplo n.º 6
0
 public Destructor(IEnumerable <FunctionArgument> arguments, IEnumerable <Attribute> attributes, IEnumerable <IStatement> body, bool defaulted, bool dynamic, IASTLocation location)
 {
     Arguments  = arguments;
     Attributes = attributes;
     Body       = body;
     Defaulted  = defaulted;
     Dynamic    = dynamic;
     Location   = location;
 }
Ejemplo n.º 7
0
 public Function(
     IASTLocation location,
     IEnumerable <FunctionArgument> arguments,
     IEnumerable <IStatement> body,
     IEnumerable <Attribute> attributes,
     IExpression explicitReturn,
     bool @abstract,
     bool defaulted,
     bool dynamic)
 {
     Location       = location;
     Arguments      = arguments;
     Body           = body;
     Attributes     = attributes;
     ExplicitReturn = explicitReturn;
     Abstract       = @abstract;
     Defaulted      = defaulted;
     Dynamic        = dynamic;
 }
Ejemplo n.º 8
0
 public IndexExpression(IASTLocation location, IExpression obj, IExpression index)
 {
     Location = location;
     Object   = obj;
     Index    = index;
 }
Ejemplo n.º 9
0
 public MemberAccess(IASTLocation location, IExpression obj, Name member)
 {
     Location = location;
     Object   = obj;
     Member   = member;
 }
Ejemplo n.º 10
0
 public This(IASTLocation location)
 {
     Location = location;
 }
Ejemplo n.º 11
0
 public Using(IASTLocation location, IExpression expr)
 {
     Location   = location;
     Expression = expr;
 }
Ejemplo n.º 12
0
 public Attribute(IASTLocation location, IExpression initializer, IExpression initialized)
 {
     Location    = location;
     Initializer = initializer;
     Initialized = initialized;
 }
Ejemplo n.º 13
0
 public Throw(IASTLocation where)
 {
     Location = where;
 }
Ejemplo n.º 14
0
 public Throw(IASTLocation where, IExpression what)
     : this(where)
 {
     Exception = what;
 }
Ejemplo n.º 15
0
 public True(IASTLocation loc)
 {
     Location = loc;
 }
Ejemplo n.º 16
0
 public Identifier(Name name, Import import, IASTLocation location)
 {
     Name     = name;
     Import   = import;
     Location = location;
 }
Ejemplo n.º 17
0
 public DestructorAccess(IASTLocation location, IExpression obj)
 {
     Location = location;
     Object   = obj;
 }
Ejemplo n.º 18
0
 public String(string value, IASTLocation location)
 {
     Value    = value;
     Location = location;
 }
Ejemplo n.º 19
0
 public FunctionCall(IASTLocation location, IExpression callee, IEnumerable <IExpression> arguments)
 {
     Location  = location;
     Callee    = callee;
     Arguments = arguments;
 }
Ejemplo n.º 20
0
 public Integer(IASTLocation loc, string value)
 {
     Location = loc;
     Value    = value;
 }
Ejemplo n.º 21
0
 public False(IASTLocation loc)
 {
     Location = loc;
 }