Changeset 13984


Ignore:
Timestamp:
Nov 7, 2019 12:21:40 PM (5 days ago)
Author:
molsson
Message:

#5843 Added SrcAccess.isFirstAccess().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-mo-2530/Compiler/ModelicaFrontEnd/src/jastadd/util/Util.jrag

    r13919 r13984  
    955955    eq InstGlobalAccess.getLastInstAccess()       = getInstAccess().getLastInstAccess();
    956956   
     957   
     958    syn boolean SrcAccess.isFirstAccess() = this == getTopAccess().getFirstAccess();
     959   
    957960    /**
    958961     * Access method for the first SrcAccess of a qualified or
     
    10321035   
    10331036    inh SrcAccess SrcAccess.retrieveTopAccess(SrcAccess pre);
    1034     eq ASTNode.getChild().retrieveTopAccess(SrcAccess pre)      = pre;
     1037    eq BaseNode.getChild().retrieveTopAccess(SrcAccess pre)        = pre;
    10351038    eq SrcDot.getChild().retrieveTopAccess(SrcAccess pre)          = retrieveTopAccess(this);
    10361039    eq SrcGlobalAccess.getChild().retrieveTopAccess(SrcAccess pre) = retrieveTopAccess(this);
Note: See TracChangeset for help on using the changeset viewer.