Changeset 13793


Ignore:
Timestamp:
Oct 21, 2019 5:18:38 PM (3 weeks ago)
Author:
tgutzmann
Message:

#5740 add asSrcLibNode()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/ModelicaFrontEnd/src/jastadd/util/Util.jrag

    r13476 r13793  
    15841584
    15851585    syn boolean SrcBaseNode.isLibNode() = false;
    1586     eq SrcLibNode.isLibNode()            = true;
     1586    eq SrcLibNode.isLibNode()           = true;
     1587    syn SrcLibNode SrcBaseNode.asSrcLibNode() {
     1588        throw new UnsupportedOperationException();
     1589    }
     1590    syn SrcLibNode SrcLibNode.asSrcLibNode() = this;
    15871591}
    15881592
Note: See TracChangeset for help on using the changeset viewer.