Package net.sourceforge.plantuml.command
Class CommandSkinParamMultilines
java.lang.Object
net.sourceforge.plantuml.command.CommandMultilinesBracket<TitledDiagram>
net.sourceforge.plantuml.command.CommandSkinParamMultilines
- All Implemented Interfaces:
Command<TitledDiagram>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionexecute(TitledDiagram diagram, BlocLines lines, ParserPass currentPass) booleanisEligibleFor(ParserPass pass) protected booleanisLineConsistent(String line, int level) The same answer asCommand.mandatoryFirstTokensSlow(), written by hand so that it costs nothing to get.Methods inherited from class net.sourceforge.plantuml.command.CommandMultilinesBracket
finalVerification, getStartingPattern, isValid, mandatoryFirstTokensSlowMethods 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
-
Field Details
-
ME
-
-
Method Details
-
isLineConsistent
- Specified by:
isLineConsistentin classCommandMultilinesBracket<TitledDiagram>
-
explain
-
execute
public CommandExecutionResult execute(TitledDiagram diagram, BlocLines lines, ParserPass currentPass) -
isEligibleFor
-
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.
-