public static GatorCloseExpression Create(
            AphidExpressionContext context_aphidExpressionContext,
            int value_i,
            int value_i1
            )
        {
            GatorCloseExpression gatorCloseExpression
                = new GatorCloseExpression(context_aphidExpressionContext);

            ((AphidExpression)gatorCloseExpression).Index  = value_i;
            ((AphidExpression)gatorCloseExpression).Length = value_i1;
            return(gatorCloseExpression);

            // TODO: Edit factory method of GatorCloseExpression
            // 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.
        }
Esempio n. 2
0
 [DebuggerStepThrough] protected virtual void EmitGatorCloseExpression(GatorCloseExpression expression, bool isStatement = false)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 protected override void EmitGatorCloseExpression(GatorCloseExpression expression, bool isStatement = false) =>
 Append("?>");