示例#1
0
 public MemberExpression(Source source, object obj,
     object member)
         : base(source)
 {
     this.obj = (Expression) obj;
     this.member = (Name) member;
 }
示例#2
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;
 }
示例#3
0
 public ModuleStatement(Source source, object name,
     object body)
         : base(source)
 {
     this.name = (Name) name;
     this.body = (Statement) body;
 }
示例#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;
 }
示例#5
0
 public ClassStatement(Source source, object name, object baseType,
     object members)
         : base(source)
 {
     this.name = (Name) name;
     this.baseType = (Expression) baseType;
     this.members = (List<object>) members;
 }
 public LabelPatternExpression(Source source, object label, object body)
     : base(source)
 {
     this.label = (Name) label;
     this.body = (PatternExpression) body;
 }
示例#7
0
 public NameExpression(Source source, object name)
     : base(source)
 {
     this.name = (Name) name;
 }
示例#8
0
 public Option(Source source, object optionKey, object optionValue)
     : base(source)
 {
     this.optionKey = (Name) optionKey;
     this.optionValue = (Expression) optionValue;
 }
示例#9
0
 public FieldMember(Source source, object name)
     : base(source)
 {
     this.name = (Name) name;
 }