public class TrivDSLParser implements ExtParser {
@Override
public TypedAST parse(ParseBuffer input) {
New newv = new New(new HashMap<>(), null);
TypedAST dbody = new IntegerConstant(Integer.parseInt(input.getSrcString().trim()));
newv.setBody(new DeclSequence(Arrays.asList(new DefDeclaration("getValue", new Arrow(Unit.getInstance(), Int.getInstance()), new ArrayList<>(), dbody, false))));
return newv;
}