1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2
* This file is part of SableCC. *
3
* See the file "LICENSE" for copyright information and the *
4
* terms and conditions for copying, distribution and *
5
* modification of SableCC. *
6
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
8
package org.sablecc.sablecc.node;
10
import org.sablecc.sablecc.Switch;
11
import org.sablecc.sablecc.analysis.Analysis;
13
public final class SpecifierOpt1 extends SpecifierOpt
15
public void apply(Switch sw)
17
((Analysis) sw).caseSpecifierOpt1(this);
20
public String toString()
26
private Specifier node1;
28
public Specifier getNode1()
33
public void setNode1(Specifier node)
37
node1.setParent(null);
40
if(node.getParent() != null)
42
node.getParent().removeChild(node);
50
void removeChild(Node child)