public static ObjectExpression Create( AphidExpressionContext context_aphidExpressionContext, List <BinaryOperatorExpression> pairs_list, IdentifierExpression identifier_identifierExpression, int value_i, int value_i1 ) { ObjectExpression objectExpression = new ObjectExpression(context_aphidExpressionContext, pairs_list, identifier_identifierExpression); ((AphidExpression)objectExpression).Index = value_i; ((AphidExpression)objectExpression).Length = value_i1; return(objectExpression); // TODO: Edit factory method of ObjectExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static ExtendExpression Create( AphidExpressionContext context_aphidExpressionContext, IdentifierExpression extendType_identifierExpression, ObjectExpression object_objectExpression, int value_i, int value_i1 ) { ExtendExpression extendExpression = new ExtendExpression(context_aphidExpressionContext, extendType_identifierExpression, object_objectExpression); ((AphidExpression)extendExpression).Index = value_i; ((AphidExpression)extendExpression).Length = value_i1; return(extendExpression); // TODO: Edit factory method of ExtendExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static IfExpression Create( AphidExpressionContext context_aphidExpressionContext, AphidExpression condition_aphidExpression, List <AphidExpression> body_list, List <AphidExpression> elseBody_list1, int value_i, int value_i1 ) { IfExpression ifExpression = new IfExpression(context_aphidExpressionContext, condition_aphidExpression, body_list, elseBody_list1); ((AphidExpression)ifExpression).Index = value_i; ((AphidExpression)ifExpression).Length = value_i1; return(ifExpression); // TODO: Edit factory method of IfExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static UnaryOperatorExpression Create( AphidExpressionContext context_aphidExpressionContext, AphidTokenType operator_w, AphidExpression operand_aphidExpression, bool isPostfix_b, int value_i, int value_i1 ) { UnaryOperatorExpression unaryOperatorExpression = new UnaryOperatorExpression(context_aphidExpressionContext, operator_w, operand_aphidExpression, isPostfix_b); ((AphidExpression)unaryOperatorExpression).Index = value_i; ((AphidExpression)unaryOperatorExpression).Length = value_i1; return(unaryOperatorExpression); // TODO: Edit factory method of UnaryOperatorExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static SwitchExpression Create( AphidExpressionContext context_aphidExpressionContext, AphidExpression expression_aphidExpression, List <SwitchCase> cases_list, List <AphidExpression> defaultCase_list1_, int value_i, int value_i1 ) { SwitchExpression switchExpression = new SwitchExpression (context_aphidExpressionContext, expression_aphidExpression, cases_list, defaultCase_list1_); ((AphidExpression)switchExpression).Index = value_i; ((AphidExpression)switchExpression).Length = value_i1; return(switchExpression); // TODO: Edit factory method of SwitchExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static ForExpression Create( AphidExpressionContext context_aphidExpressionContext, AphidExpression initialization_aphidExpression, AphidExpression condition_aphidExpression1, AphidExpression afterthought_aphidExpression2, List <AphidExpression> body_list, int value_i, int value_i1 ) { ForExpression forExpression = new ForExpression (context_aphidExpressionContext, initialization_aphidExpression, condition_aphidExpression1, afterthought_aphidExpression2, body_list); ((AphidExpression)forExpression).Index = value_i; ((AphidExpression)forExpression).Length = value_i1; return(forExpression); // TODO: Edit factory method of ForExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static TryExpression Create( AphidExpressionContext context_aphidExpressionContext, List <AphidExpression> tryBody_list, IdentifierExpression catchArg_identifierExpression, List <AphidExpression> catchBody_list1, List <AphidExpression> finallyBody_list2, int value_i, int value_i1 ) { TryExpression tryExpression = new TryExpression(context_aphidExpressionContext, tryBody_list, catchArg_identifierExpression, catchBody_list1, finallyBody_list2); ((AphidExpression)tryExpression).Index = value_i; ((AphidExpression)tryExpression).Length = value_i1; return(tryExpression); // TODO: Edit factory method of TryExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
public static TernaryOperatorExpression Create( AphidExpressionContext context_aphidExpressionContext, AphidTokenType operator_w, AphidExpression firstOperand_aphidExpression, AphidExpression secondOperand_aphidExpression1, AphidExpression thirdOperand_aphidExpression2, int value_i, int value_i1 ) { TernaryOperatorExpression ternaryOperatorExpression = new TernaryOperatorExpression(context_aphidExpressionContext, operator_w, firstOperand_aphidExpression, secondOperand_aphidExpression1, thirdOperand_aphidExpression2); ((AphidExpression)ternaryOperatorExpression).Index = value_i; ((AphidExpression)ternaryOperatorExpression).Length = value_i1; return(ternaryOperatorExpression); // TODO: Edit factory method of TernaryOperatorExpression // This method should be able to configure the object in all possible ways. // Add as many parameters as needed, // and assign their values to each field by using the API. }
internal PartialFunctionExpression( AphidExpressionContext context, AphidExpression call) : this(context, (CallExpression)call) { }