package pw.koj.jetstreem.type;

import pw.koj.jetstreem.ast.Location;

public class IntegerTypeRef extends TypeRef {
    protected String name;

    public IntegerTypeRef(String name) {
        this(name, null);
    }

    public IntegerTypeRef(String name, Location loc) {
        super(loc);
        this.name = name;
    }

    public String name() {
        return name;
    }
}



@@ -374,12 +374,201 @@
 ;%0A    %7D%0A
+%0A    public static IntegerTypeRef intRef() %7B%0A        return new IntegerTypeRef(%22int%22);%0A    %7D%0A%0A    public static IntegerTypeRef charRef() %7B%0A        return new IntegerTypeRef(%22char%22);%0A    %7D%0A%0A
 %7D%0A%0A%0A

add intRef() and charRef() to IntegerTypeRef