cfml.parsing.cfscript.script.CFEmptyStatement Maven / Gradle / Ivy
The newest version!
package cfml.parsing.cfscript.script;
import java.util.List;
/*
* A completely empty statement (";") which does nothing.
*/
import org.antlr.v4.runtime.Token;
import cfml.parsing.cfscript.CFExpression;
import cfml.parsing.util.ArrayBuilder;
public class CFEmptyStatement extends CFParsedStatement implements java.io.Serializable {
private static final long serialVersionUID = 1L;
public CFEmptyStatement(Token t) {
super(t);
}
public CFEmptyStatement() {
super(0, 0, 0);
}
@Override
public String Decompile(int indent) {
return Indent(indent) + ";";
}
@Override
public List decomposeExpression() {
return ArrayBuilder.createCFExpression();
}
@Override
public List decomposeScript() {
return ArrayBuilder.createCFScriptStatement();
}
}