All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webit.script.core.ast.statements.NoneStatement Maven / Gradle / Ivy

The newest version!
// Copyright (c) 2013-2014, Webit Team. All Rights Reserved.
package webit.script.core.ast.statements;

import webit.script.Context;
import webit.script.core.ast.Optimizable;
import webit.script.core.ast.Statement;

/**
 *
 * @author Zqq
 */
public final class NoneStatement extends Statement implements Optimizable {

    public static final NoneStatement INSTANCE = new NoneStatement();

    private NoneStatement() {
        this(-1, -1);
    }

    public NoneStatement(int line, int column) {
        super(line, column);
    }

    public Object execute(final Context context) {
        return null;
    }

    public Statement optimize() {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy