@Override public String defaultPType(PType node, PrettyPrinterEnv question) throws AnalysisException { return node.toString(); }
@Override public String toString() { return type.toString(); }
public String toString() { return (_patterns!=null?_patterns.toString():this.getClass().getSimpleName())+ (_type!=null?_type.toString():this.getClass().getSimpleName()); }
public String toString() { return (_nameList!=null?_nameList.toString():this.getClass().getSimpleName())+ (_exportType!=null?_exportType.toString():this.getClass().getSimpleName()); }
public String toString() { return (_nameList!=null?_nameList.toString():this.getClass().getSimpleName())+ (_exportType!=null?_exportType.toString():this.getClass().getSimpleName()); }
public String toString() { return (_mode!=null?_mode.toString():this.getClass().getSimpleName())+ (_identifiers!=null?_identifiers.toString():this.getClass().getSimpleName())+ (_type!=null?_type.toString():this.getClass().getSimpleName()); }
public String toString() { return (_nameList!=null?_nameList.toString():this.getClass().getSimpleName())+ (_exportType!=null?_exportType.toString():this.getClass().getSimpleName())+ (_typeParams!=null?_typeParams.toString():this.getClass().getSimpleName()); }
public String toString() { return (_patternBind!=null?_patternBind.toString():this.getClass().getSimpleName())+ (_statement!=null?_statement.toString():this.getClass().getSimpleName())+ (_exp!=null?_exp.toString():this.getClass().getSimpleName()); }
@Override public String caseAUnionType(AUnionType type) throws AnalysisException { List<PType> types = type.getTypes(); if (types.size() == 1) { return types.iterator().next().toString(); } else { return Utils.setToString(new PTypeSet(types, af), " | "); } }
public String toString() { return "" + ""+(_types.size() == 1?_types.iterator().next().toString() : Utils.setToString(_types, " | ")); }
if (ptype.toString().indexOf('@') >= 0) // Ought to have isPolymorphic?