summaryrefslogtreecommitdiff
path: root/src/main/java/io/devnulllabs/openjava/ptree/EmptyStatement.java
blob: e7021cedb819b467685b5840a81cb33a627ad15b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * EmptyStatement.java 1.0
 *
 *
 * Jun 20, 1997 by mich
 * Sep 29, 1997 by bv
 * Oct 23, 1997 by mich
 *
 * @see io.devnulllabs.openjava.ptree.ParseTree
 * @version 1.0 last updated:  Oct 23, 1997
 * @author  Michiaki Tatsubori
 */
package io.devnulllabs.openjava.ptree;

import io.devnulllabs.openjava.ptree.util.ParseTreeVisitor;

/**
 * The EmptyStatement class represents an empty statement node
 * of parse tree.
 *
 * @see io.devnulllabs.openjava.ptree.NonLeaf
 * @see io.devnulllabs.openjava.ptree.Statement
 */
public class EmptyStatement extends NonLeaf implements Statement {
    /**
     * Allocates a new object.
     *
     * @param statement prototype object
     */
    public EmptyStatement() {
        super();
    }

    public void accept(ParseTreeVisitor v) throws ParseTreeException {
        v.visit(this);
    }

}