moves
Class End
java.lang.Object
|
+--moves.EuMove
|
+--moves.bracketFamily
|
+--moves.End
- public class End
- extends moves.bracketFamily
Implements the LEA command End
Constructor Summary |
End(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon)
This constructor checks syntax and sets up the variables in, out, in.mode, out.mode |
Method Summary |
protected int |
postprocess(interagents.EuLab lab,
librarian.ppProcessor ppp)
Performs various postprocessing of the move, updating the ppProcessor
and changing segment. |
protected boolean |
specialSegmentOK(int segment)
Determines whether a call to this move is legal in the passed
special segment. |
Methods inherited from class moves.EuMove |
checkSegment, ex, executeMacro, executeMain, executeSegmentOnly, exMacro, exMain, getFirstOutIndex, initArguments, initBeacon, iobUsageChecks, issueBeacon, name, operationName, passExceptionDetails, passHintDetails, passSelection, postMacro, postMain, preMacro, preMain, preprocess, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
End
public End(interagents.finalWrapper in,
interagents.finalWrapper out,
fundamentals.EuArguments args,
int beacon)
throws DesignException
- This constructor checks syntax and sets up the variables in, out, in.mode, out.mode
- Parameters:
in
- the input @see finalWrapperout
- the output @see finalWrapperargs
- argumentsbeacon
- a beacon, or 0 if no such was requested
specialSegmentOK
protected boolean specialSegmentOK(int segment)
- Determines whether a call to this move is legal in the passed
special segment. This instance true only for BEFORE_END.
- Overrides:
specialSegmentOK
in class EuMove
- Parameters:
segment
- the current segment
- Returns:
- true if a call to this move is legal in the passed
special segment
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, 0 to indicate end
LeaException