Exemple #1
0
        protected ObjectDef EmitExpressionStatement(CParser.ExpressionStatementContext expressionStatement)
        {
            ObjectDef returnObjectDef = null;

            if (expressionStatement.expression() != null)
            {
                returnObjectDef = EmitExpression(expressionStatement.expression());
            }

            return(returnObjectDef);
        }
 public override void ExitExpressionStatement(CParser.ExpressionStatementContext context)
 {
     //expression? ';'
     if (context.expression() != null)
     {
         SafeCall(context, CStatment.ExpressionStatement);
     }
 }