public interface Condition extends Syntaxable
Condition
interface represents a node in the command line
arguments syntax tree; simply extending the Syntaxable
interface and
adding the functionality of providing access to the added Operand
s
(leafs). In future extensions, a Condition
might provide access to
the child Syntaxable
elements contained in a Condition
instance. As of the current findings, access to the children of the
Condition
node is not required and would make the interface
unnecessarily complicated.Modifier and Type | Method and Description |
---|---|
List<? extends Operand<?>> |
toOperands()
|
parseArgs, parseSyntax, toState, toSyntax
Copyright © 2015. All rights reserved.