summaryrefslogtreecommitdiff
path: root/dice/src/example/java/bjc/dicelang/neodice/statements/VoidStatementValue.java
blob: a71d49c836e3ad1578ea8caaa800afe6398618ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package bjc.dicelang.neodice.statements;

import static bjc.dicelang.neodice.statements.StatementValue.Type.*;

/**
 * The statement value of the null type.
 * @author Ben Culkin
 *
 */
public class VoidStatementValue extends StatementValue {
    /** The singular instance of the null value. */
    public static final VoidStatementValue VOID_INST = new VoidStatementValue();
	
	private VoidStatementValue() {
		super(VOID);
	}
	
	@Override
	public String toString() {
		return "(void)";
	}
}