Inheritance: TypedNode
Exemplo n.º 1
0
 public AssignStatement(string name, Expression value, Location location)
     : base(location)
 {
     this.name = name;
     this.value = value;
     call = null;
 }
Exemplo n.º 2
0
Arquivo: class.cs Projeto: shugo/babel
 public SharedAttrDefinition(string name,
                             TypeSpecifier typeSpecifier,
                             Expression value,
                             AttrModifier modifier,
                             Location location)
     : base(name, typeSpecifier, modifier, location)
 {
     this.value = value;
 }
Exemplo n.º 3
0
 public VoidTestExpression(Expression expression, Location location)
     : base(location)
 {
     this.expression = expression;
 }
Exemplo n.º 4
0
 public OrExpression(Expression left, Expression right,
                     Location location)
     : base(left, right, location)
 {
 }
Exemplo n.º 5
0
 public ModalExpression(ArgumentMode mode, Expression expression,
                        Location location)
     : base(location)
 {
     this.mode = mode;
     this.expression = expression;
 }
Exemplo n.º 6
0
 public IterCallExpression(Expression receiver,
                           string name,
                           TypedNodeList arguments,
                           Location location)
     : base(receiver, name, arguments, location)
 {
 }
Exemplo n.º 7
0
 public IfExpression(Expression test,
                     Node thenPart,
                     Node elsePart,
                     Location location)
     : base(location)
 {
     ifStatement = new IfStatement(test, thenPart, elsePart, location);
 }
Exemplo n.º 8
0
 public ConditionalExpression(Expression left, Expression right,
                              Location location)
     : base(location)
 {
     this.left = left;
     this.right = right;
 }
Exemplo n.º 9
0
 public CallExpression(TypeSpecifier typeSpecifier,
                       string name,
                       TypedNodeList arguments,
                       Location location)
     : base(location)
 {
     receiver = null;
     this.typeSpecifier = typeSpecifier;
     this.name = name;
     this.arguments = arguments;
     flip = false;
     method = null;
     isBuiltin = false;
 }
Exemplo n.º 10
0
 public CallExpression(Expression receiver,
                       string name,
                       TypedNodeList arguments)
     : this(receiver, name, arguments, false, Location.Null)
 {
 }
Exemplo n.º 11
0
 public CallExpression(Expression receiver,
                       string name,
                       TypedNodeList arguments,
                       bool flip,
                       Location location)
     : base(location)
 {
     this.receiver = receiver;
     typeSpecifier = null;
     this.name = name;
     this.arguments = arguments;
     this.flip = flip;
     method = null;
     isBuiltin = false;
 }
Exemplo n.º 12
0
 public CaseStatement(Expression test,
                      NodeList whenPartList,
                      StatementList elsePart,
                      Location location)
     : base(location)
 {
     this.test = test;
     this.whenPartList = whenPartList;
     this.elsePart = elsePart;
 }
Exemplo n.º 13
0
 public YieldStatement(Expression value, Location location)
     : base(value, location)
 {
     resumePoint = new ResumePoint();
 }
Exemplo n.º 14
0
 public ReturnStatement(Expression value, Location location)
     : base(location)
 {
     this.value = value;
 }
Exemplo n.º 15
0
 public IfStatement(Expression test,
                    Node thenPart,
                    Node elsePart,
                    Location location)
     : base(location)
 {
     this.test = test;
     this.thenPart = thenPart;
     this.elsePart = elsePart;
 }
Exemplo n.º 16
0
 public ExpressionStatement(Expression expression, Location location)
     : base(location)
 {
     expression.HasValue = false;
     this.expression = expression;
 }