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

cfml.parsing.cfscript.script.CFAdminStatement Maven / Gradle / Ivy

There is a newer version: 2.11.0
Show newest version
package cfml.parsing.cfscript.script;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Map;

import cfml.parsing.cfscript.CFExpression;
import cfml.parsing.cfscript.CFIdentifier;

public class CFAdminStatement extends CFParsedAttributeStatement implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private static HashSet validAttributes;
	static {
		validAttributes = new HashSet();
		validAttributes.add("TYPE");
		validAttributes.add("ACTION");
		validAttributes.add("PASSWORD");
		validAttributes.add("RETURNVARIABLE");
	}
	
	public CFAdminStatement(org.antlr.v4.runtime.Token t, Map _attributes) {
		super(t, _attributes);
		// validateAttributes(t, validAttributes);
	}
	
	@Override
	public String Decompile(int indent) {
		StringBuilder sb = new StringBuilder();
		sb.append("admin");
		DecompileAttributes(sb);
		return sb.toString();
	}
	
	public static HashSet getValidAttributes() {
		return validAttributes;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy