system/src/sc/lang/CommandSCLanguage.java
public Object process(SrcEntry srcEnt, boolean enablePartialValues) {
      Object resObj = super.process(srcEnt, enablePartialValues);
      resObj = ParseUtil.nodeToSemanticValue(resObj);
      if (!(resObj instanceof IFileProcessorResult))
         return resObj; // ParseError
      IFileProcessorResult res = (IFileProcessorResult) resObj;
      IFileProcessorResult current = fileIndex.get(srcEnt.relFileName);
      int cpos, spos;
      if (current == null || (cpos = current.getSrcFile().layer.layerPosition) < (spos = srcEnt.layer.layerPosition) || (processInAllLayers && cpos == spos)) {
         fileIndex.put(srcEnt.relFileName, res);
         return res;
      }
      else
         return res; //FILE_OVERRIDDEN_SENTINEL;
   }
/** This records the most specific file yet processed.  It goes along with logic in CmdScriptModel's getProcessedFiles - to select the most
    * specific file to copy over */
This records the most specific file yet processed.  It goes along with logic in CmdScriptModel's getProcessedFiles - to select the most
specific file to copy over
This records the most specific file yet processed . It goes along with logic in CmdScriptModel ' s getProcessedFiles - to select the most specific file to copy over
public Object process(SrcEntry srcEnt, boolean enablePartialValues) {
      Object resObj = super.process(srcEnt, enablePartialValues);
      resObj = ParseUtil.nodeToSemanticValue(resObj);
      if (!(resObj instanceof IFileProcessorResult))
         return resObj; 
      IFileProcessorResult res = (IFileProcessorResult) resObj;
      IFileProcessorResult current = fileIndex.get(srcEnt.relFileName);
      int cpos, spos;
      if (current == null || (cpos = current.getSrcFile().layer.layerPosition) < (spos = srcEnt.layer.layerPosition) || (processInAllLayers && cpos == spos)) {
         fileIndex.put(srcEnt.relFileName, res);
         return res;
      }
      else
         return res; 
   }
public Object process ( SrcEntry srcEnt , boolean enablePartialValues ) { Object resObj = super . process ( srcEnt , enablePartialValues ) ; resObj = ParseUtil . nodeToSemanticValue ( resObj ) ; if ( ! ( resObj instanceof IFileProcessorResult ) ) return resObj ; IFileProcessorResult res = ( IFileProcessorResult ) resObj ; IFileProcessorResult current = fileIndex . get ( srcEnt . relFileName ) ; int cpos , spos ; if ( current == null || ( cpos = current . getSrcFile ( ) . layer . layerPosition ) < ( spos = srcEnt . layer . layerPosition ) || ( processInAllLayers && cpos == spos ) ) { fileIndex . put ( srcEnt . relFileName , res ) ; return res ; } else return res ; }
This records the most specific file yet processed.
This records the most specific file yet processed .
// ParseError //FILE_OVERRIDDEN_SENTINEL;