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 Helpers1 extends Helpers
15
public void apply(Switch sw)
17
((Analysis) sw).caseHelpers1(this);
20
public String toString()
27
private THelpers node1;
29
public THelpers getNode1()
34
public void setNode1(THelpers node)
38
node1.setParent(null);
41
if(node.getParent() != null)
43
node.getParent().removeChild(node);
51
private HelperDefs node2;
53
public HelperDefs getNode2()
58
public void setNode2(HelperDefs node)
62
node2.setParent(null);
65
if(node.getParent() != null)
67
node.getParent().removeChild(node);
75
void removeChild(Node child)