Class CommandNoteLong3
java.lang.Object
net.sourceforge.plantuml.command.CommandMultilines2<ActivityDiagram3>
net.sourceforge.plantuml.activitydiagram3.command.CommandNoteLong3
- All Implemented Interfaces:
Command<ActivityDiagram3>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommandExecutionResultexecuteNow(ActivityDiagram3 diagram, BlocLines lines, ParserPass currentPass) protected StringexplainNow(BlocLines lines) The same answer asCommand.mandatoryFirstTokensSlow(), written by hand so that it costs nothing to get.Methods inherited from class net.sourceforge.plantuml.command.CommandMultilines2
execute, explain, finalVerification, getEndPattern, getPatternEndToto, getStartingPattern, isEligibleFor, isValid, mandatoryFirstTokensSlow, syntaxWithFinalBracketMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sourceforge.plantuml.command.Command
isCommandForbidden, mandatoryFirstTokens
-
Constructor Details
-
CommandNoteLong3
public CommandNoteLong3()
-
-
Method Details
-
explainNow
- Specified by:
explainNowin classCommandMultilines2<ActivityDiagram3>
-
executeNow
protected CommandExecutionResult executeNow(ActivityDiagram3 diagram, BlocLines lines, ParserPass currentPass) throws NoSuchColorException - Specified by:
executeNowin classCommandMultilines2<ActivityDiagram3>- Throws:
NoSuchColorException
-
mandatoryFirstTokensFast
Description copied from interface:CommandThe same answer asCommand.mandatoryFirstTokensSlow(), written by hand so that it costs nothing to get. Returningnull(FirstTokens.ANYTHING) means "I can match any line" and keeps the command in the list tried for every token nobody claimed. That is the safe answer: a command that declares too much only costs the regex attempts it could have skipped, while one that declares too few of its tokens stops being reachable for the ones it left out. A non-null set is never empty in practice: it would mean the command matches no line at all.
-