moves
Class Name

java.lang.Object
  |
  +--moves.EuMove
        |
        +--moves.Name

public class Name
extends EuMove

This class is behind the LEA move Name


Field Summary
 
Fields inherited from class moves.EuMove
allowedSegments, in, out
 
Constructor Summary
Name(interagents.finalWrapper in, interagents.finalWrapper out, fundamentals.EuArguments args, int beacon)
          This constructor checks syntax, given full information for a LEA program.
 
Method Summary
protected  void exMacro(interagents.EuLab lab, interagents.explicitHolder caller)
          Executes core commands of the move in macro mode, possibly affecting the passed @see EuLab Send or recieve data to/from calling program as explicits in a passed explicitHolder.
protected  void exMain(interagents.EuLab lab)
          Executes core commands of the move in main mode, possibly affecting the passed @see EuLab Calls ex() as default.
protected  int postprocess(interagents.EuLab lab, librarian.ppProcessor ppp)
          Performs various postprocessing of the move, updating the ppProcessor and changing segment.
 
Methods inherited from class moves.EuMove
checkSegment, ex, executeMacro, executeMain, executeSegmentOnly, getFirstOutIndex, initArguments, initBeacon, iobUsageChecks, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postMacro, postMain, preMacro, preMain, preprocess, specialSegmentOK, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Name

public Name(interagents.finalWrapper in,
            interagents.finalWrapper out,
            fundamentals.EuArguments args,
            int beacon)
     throws DesignException
This constructor checks syntax, given full information for a LEA program.

Parameters:
in - the input @see finalWrapper
out - the output @see finalWrapper
args - arguments
beacon - a beacon, or 0 if no such was requested
Method Detail

exMacro

protected void exMacro(interagents.EuLab lab,
                       interagents.explicitHolder caller)
                throws LeaException
Description copied from class: EuMove
Executes core commands of the move in macro mode, possibly affecting the passed @see EuLab Send or recieve data to/from calling program as explicits in a passed explicitHolder. Forgets explicitHolder as default and calls ex().

Overrides:
exMacro in class EuMove
Parameters:
lab - the @see EuLab on which to work
caller - the explicitHolder with which to communicate with the calling program.
LeaException

exMain

protected void exMain(interagents.EuLab lab)
               throws LeaException
Description copied from class: EuMove
Executes core commands of the move in main mode, possibly affecting the passed @see EuLab Calls ex() as default.

Overrides:
exMain in class EuMove
Parameters:
lab - the @see EuLab on which to work
LeaException

postprocess

protected int postprocess(interagents.EuLab lab,
                          librarian.ppProcessor ppp)
                   throws LeaException
Performs various postprocessing of the move, updating the ppProcessor and changing segment.

Overrides:
postprocess in class EuMove
Parameters:
ppp - the ppProcessor to be updated
Returns:
the new segment, BEFORE_SOLUTION
LeaException