@@ -0,0 +1,720 @@
+package pw.koj.jetstreem.ast;%0A%0Aimport pw.koj.jetstreem.type.*;%0A%0Apublic class TypeNode extends Node %7B%0A    TypeRef typeRef;%0A    Type type;%0A%0A    public TypeNode(TypeRef ref) %7B%0A        super();%0A        this.typeRef = ref;%0A    %7D%0A%0A    public TypeNode(Type type) %7B%0A        super();%0A        this.type = type;%0A    %7D%0A%0A    public TypeRef typeRef() %7B%0A        return typeRef;%0A    %7D%0A%0A    public Type type() %7B%0A        return type;%0A    %7D%0A%0A    public void type(Type t) %7B%0A        if (type != null) %7B%0A            // TBD error - set type twice%0A        %7D%0A        type = t;%0A    %7D%0A%0A    public Location location() %7B%0A        return typeRef == null ? null : typeRef.location();%0A    %7D%0A%0A    protected void _dump(Dumper d) %7B%0A        // TBD%0A    %7D%0A%7D%0A%0A

add class TypeNode