public TypeScriptFunctionCallExpression([NotNull] TypeScriptExpression methodName,
                                         [NotNull, ItemNotNull] params TypeScriptExpression[] arguments)
 {
     MethodName     = methodName;
     TypeParameters = new List <TypeScriptType>();
     Arguments      = new List <TypeScriptExpression>(arguments);
 }
Exemplo n.º 2
0
 public TypeScriptMethodCallExpression([NotNull] TypeScriptExpression subject, [NotNull] string methodName,
                                       [NotNull, ItemNotNull] params TypeScriptExpression[] arguments)
 {
     Subject    = subject;
     MethodName = methodName;
     Arguments  = new List <TypeScriptExpression>(arguments);
 }
 public TypeScriptObjectLiteralProperty([NotNull] TypeScriptExpression name, [NotNull] TypeScriptExpression value)
 {
     Name  = name;
     Value = value;
 }
 public TypeScriptCastExpression([NotNull] TypeScriptExpression expression, [NotNull] TypeScriptType targetType)
 {
     Expression = expression;
     TargetType = targetType;
 }
 public TypeScriptConstantDefinition([NotNull] string name, [NotNull] TypeScriptExpression value)
 {
     Name  = name;
     Value = value;
 }
Exemplo n.º 6
0
 public TypeScriptMethodCallExpression(TypeScriptExpression subject, string methodName, params TypeScriptExpression[] arguments)
 {
     Subject    = subject;
     MethodName = methodName;
     Arguments  = new List <TypeScriptExpression>(arguments);
 }
Exemplo n.º 7
0
 public TypeScriptFunctionCallExpression(TypeScriptExpression methodName, TypeScriptType[] typeParameters, params TypeScriptExpression[] arguments)
 {
     MethodName     = methodName;
     TypeParameters = new List <TypeScriptType>(typeParameters);
     Arguments      = new List <TypeScriptExpression>(arguments);
 }
Exemplo n.º 8
0
 public TypeScriptVaribaleDefinition([NotNull] string name, [NotNull] TypeScriptExpression value)
 {
     Name  = name;
     Value = value;
 }
 public TypeScriptReturnStatement([NotNull] TypeScriptExpression expression)
 {
     Expression = expression;
 }
Exemplo n.º 10
0
 public TypeScriptConstructorCallExpression(TypeScriptExpression className, params TypeScriptExpression[] arguments)
 {
     ClassName = className;
     Arguments = new List <TypeScriptExpression>(arguments);
 }