Skip to content
Snippets Groups Projects
Select Git revision
  • 0b80660092ab062a6896da643b9b9987ae0bfc7e
  • master default
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.1
  • v2014.0
  • v2013.0
10 results

PrettyPrint.jrag

Blame
  • Forked from Anders Blomdell / LabComm
    Source project has a limited visibility.
    DeclNames.jrag 434 B
    aspect DeclNames {
    	inh String Type.declName();
    	eq Decl.getType().declName() = getName();
    
    	inh String Field.declName();
    	eq StructType.getField(int i).declName() = declName();
        
            //TODO: aspect should be renamed to parent-something
    
            inh Decl Type.parentDecl();
            inh Decl Field.parentDecl();
            eq Decl.getType().parentDecl() = this;
            eq StructType.getField(int i).parentDecl() = parentDecl();
    }