Skip to content
Snippets Groups Projects
Select Git revision
  • b35ee46b2f5e7bcdebc32bebf76769a6ad367bfb
  • master default
  • labcomm2014_tc31
  • labcomm2014
  • js
  • java_dyn_msg_dec
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.1
  • v2014.0
  • v2013.0
14 results

LCRobot.lc

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();
    }