Select Git revision
FlatSignature.jrag
Forked from
Anders Blomdell / LabComm
Source project has a limited visibility.
-
Anders Blomdell authored
Conflicts: compiler/C_CodeGen.jrag compiler/LabCommmTokens.jrag compiler/PrettyPrint.jrag compiler/Signature.jrag lib/c/labcomm_decoder.c lib/c/labcomm_private.h
Anders Blomdell authoredConflicts: compiler/C_CodeGen.jrag compiler/LabCommmTokens.jrag compiler/PrettyPrint.jrag compiler/Signature.jrag lib/c/labcomm_decoder.c lib/c/labcomm_private.h
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();
}