Changeset 3373 for devel-tools/trunk


Ignore:
Timestamp:
Feb 5, 2008, 11:57:18 AM (13 years ago)
Author:
yura
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.plus.rfpdt/src/org/refal/plus/rfpdt/comp/ast/AstFuncDecl.java

    r3332 r3373  
    1717    public AstTopNode funcDef = null;
    1818
    19     public AstFuncDecl (SrcPosition pos, AstName name, boolean isPublic, RetMode retMode, AstExp inFormat, AstExp outFormat) {
     19    public AstFuncDecl (SrcPosition pos, AstName name, boolean isPublic, RetMode retMode, AstExp inFormat,
     20            AstExp outFormat) {
    2021        super(pos, name, isPublic);
    2122        this.retMode = retMode;
     
    3334        v.visit(this, e);
    3435    }
     36
     37    @Override
     38    public String toString () {
     39        return retMode.select("$func? ", "$func ") + (module != null ? module + "." : "") + name + " " + inFormat + " = "
     40                + outFormat + ";";
     41    }
    3542}
Note: See TracChangeset for help on using the changeset viewer.