Exemplo n.º 1
0
 public MethodMember(Source source, object name, object parameters, object body)
     : base(source)
 {
     this.name = (Name) name;
     this.parameters = (List<object>) parameters;
     this.body = (Statement) body;
 }
Exemplo n.º 2
0
 public ModuleStatement(Source source, object name,
     object body)
         : base(source)
 {
     this.name = (Name) name;
     this.body = (Statement) body;
 }
Exemplo n.º 3
0
 public WhileStatement(Source source, object condition,
     object body)
         : base(source)
 {
     this.condition = (Expression) condition;
     this.body = (Statement) body;
 }
Exemplo n.º 4
0
 public FunctionStatement(Source source, object name,
     object parameters, object body)
         : base(source)
 {
     this.name = (Name) name;
     this.parameters = (List<object>) parameters;
     this.body = (Statement) body;
 }
Exemplo n.º 5
0
 public TryStatement(Source source, object tryBody,
     object catchVariable, object catchBody)
         : base(source)
 {
     this.tryBody = (Statement) tryBody;
     this.catchVariable = (Expression) catchVariable;
     this.catchBody = (Statement) catchBody;
 }
Exemplo n.º 6
0
 public IfStatement(Source source, object condition,
     object trueBody, object falseBody)
         : base(source)
 {
     this.condition = (Expression) condition;
     this.trueBody = (Statement) trueBody;
     this.falseBody = (Statement) falseBody;
 }
Exemplo n.º 7
0
 public TopLevelStatement(Source source,
     object statement)
         : base(source)
 {
     this.statement = (Statement) statement;
 }
Exemplo n.º 8
0
 public ConstructorMember(Source source, object parameters, object body)
     : base(source)
 {    
     this.parameters = (List<object>) parameters;
     this.body = (Statement) body;
 }