public TypeScriptMethod(string name, 
         List<TypeScriptField> arguments, 
         TypeScriptType returnType) :
     base(name) {
     this.IsMethod = true;
     this.Arguments = arguments;
     this.ReturnType = returnType;
 }
Beispiel #2
0
 public TypeScriptClass(string name,
     TypeScriptType baseType,
     List<TypeScriptType> implementedInterfaces,
     List<TypeScriptField> fields, 
     List<TypeScriptProperty> properties) :
     base(name) { 
     this.IsClass = true;
     this.BaseType = baseType;
     this.ImplementedInterfaces = implementedInterfaces;
     this.Fields = fields;
     this.Properties = properties;
 }
 public TypeScriptArray(string name, TypeScriptType type) :
     base(name) {
     this.IsArray = true;
     this.Type = type;
 }
Beispiel #4
0
 public TypeScriptField(string name, object value, TypeScriptType type) :
     base(name) {
     this.IsField = true;
     this.Type = type;
     this.Value = value;
 }