Ignore:
Timestamp:
01/09/13 00:09:10 (11 years ago)
Author:
psniegowski
Message:

Add f0 parsing and f0->Model transformation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/core/LocalInstance.java

    r77 r78  
    4545
    4646    @Override
    47     protected void configure() {
     47    protected void configure() throws Exception {
    4848        super.configure();
    4949    }
     
    9797    }
    9898
    99 
    100 
    101     @Override
    102     public void resolve(Path path, Future<Path> future) {
    103         assert isActive();
    104         assert path.isOwner(this);
    105         if (path.getTop().getObject() != null) {
    106             future.result(path, null);
    107             return;
    108         }
    109         AccessInterface access = bindAccess(path.getUnder());
    110         Object object = access.get(path.getTop().getParam(), Object.class);
    111         if (object == null) {
    112             future.result(path, null);
    113             return;
    114         }
    115         future.result(path.appendResolution(object), null);
    116     }
    117 
    118 
    119     @Override
    120     public void fetchValue(Path path, Param param, StateFunctor stateFunctor) {
    121         stateFunctor.call(null);
    122     }
    123 
    124     @Override
    125     public void fetchValues(Path path, StateFunctor stateFunctor) {
    126         stateFunctor.call(null);
    127     }
    128 
    129 
    13099}
Note: See TracChangeset for help on using the changeset viewer.