package st.gravel.support.compiler.jvm;
/*
This file is automatically generated from typed smalltalk source. Do not edit by hand.
(C) AG5.com
*/
import java.math.BigInteger;
import st.gravel.support.jvm.NonLocalReturn;
import st.gravel.support.compiler.jvm.JVMNodeVisitor;
public class JVMNode extends Object implements Cloneable {
public static JVMNode_Factory factory = new JVMNode_Factory();
public static class JVMNode_Factory extends st.gravel.support.jvm.SmalltalkFactory {
public JVMNode basicNew() {
JVMNode newInstance = new JVMNode();
newInstance.initialize();
return newInstance;
}
}
public <X> X accept_(final JVMNodeVisitor<X> _visitor) {
return _visitor.visitJVMNode_(this);
}
public JVMNode copy() {
try {
JVMNode _temp1 = (JVMNode) this.clone();
_temp1.postCopy();
return _temp1;
} catch (CloneNotSupportedException e) {
throw new RuntimeException(e);
}
}
public JVMNode_Factory factory() {
return factory;
}
public JVMNode initialize() {
return this;
}
public JVMNode postCopy() {
return this;
}
public JVMNode printOn_(final StringBuilder _aStream) {
this.sourceOn_(_aStream);
return this;
}
public JVMNode sourceOn_(final StringBuilder _aStream) {
_aStream.append(st.gravel.core.Symbol.value(this.getClass().getSimpleName()));
return this;
}
public String sourceString() {
final StringBuilder _aStream;
_aStream = st.gravel.support.jvm.WriteStreamFactory.on_(new String());
this.sourceOn_(_aStream);
return _aStream.toString();
}
public String toString() {
final StringBuilder _aStream;
_aStream = st.gravel.support.jvm.WriteStreamFactory.on_(new String());
this.printOn_(_aStream);
return _aStream.toString();
}
}