org.waxeye.ast.Empty Maven / Gradle / Ivy
The newest version!
/*
* Waxeye Parser Generator
* www.waxeye.org
* Copyright (C) 2008-2010 Orlando Hill
* Licensed under the MIT license. See 'LICENSE' for details.
*/
package org.waxeye.ast;
/**
* A class to represent an kevs.empty AST.
*
* @param The node types for the AST.
*
* @author Orlando Hill
*/
public final class Empty > extends NoChildren
implements IEmpty
{
/**
* Creates a new Empty AST.
*
* @param type The type of the AST.
*/
public Empty(final E type)
{
super(type);
}
/** {@inheritDoc} */
public void acceptASTVisitor(final IASTVisitor visitor)
{
visitor.visitEmpty(this);
}
/** {@inheritDoc} */
public String toString()
{
return "";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy