
public class ClassNode extends StatementNode {
	private Symbol name;
	private BlockNode content;
	public ClassNode(Symbol name, BlockNode content) {
		this.setContent(content);
		this.name = name;
	}
	public void setContent(BlockNode content) {
		this.content = content;
	}
	public BlockNode getContent() {
		return content;
	}
	public void setName(Symbol name) {
		this.name = name;
	}
	public Symbol getName() {
		return name;
	}
	@Override
	public String toIndentedString(int surroundingIndentation) {
		// TODO make class content a BlockNode?
		return String.format("%sclass %s %s", Node.newline(surroundingIndentation), name, Node.toIndentedString(content, surroundingIndentation));
	}
}
