Package org.springframework.shell.command.parser
package org.springframework.shell.command.parser
-
ClassDescriptionBase abstract
NodeVisitor
which visits all nodes allowing user to implement callback methods.Interface to generate abstract syntax tree from tokens.Representing result from tokens to ast tree generation.Default implementation of anAst
.Represents a node in anabstract syntax tree
and knows aboutToken
.Node representing a command argument.Helper class to make it easier to work with command registrations and how those are used with parser model.Node representing a command.Node representingEncapsulatingDirective
with its fields,name
andvalue
.Interface to tokenize arguments into tokens.Default implementation of aLexer
.Representing result fromLexer
tokenisation.EncapsulatingParserMessage
with position andinserts
.Interface to vising nodes.Nonterminal
node means that it can have children and doesn't necessarily terminalast tree branch
.Node representing an option argument.Node representing an option.Interface to parse command line arguments.Default implementation of aNodeVisitor
.Default implementation of aParser
.Results from aParser
containing needed information like resolvedCommandRegistration
, list ofCommandOption
instances, errors and directive.Contains all the messages that can be produced during parsing.Terminal
node means that it is end ofast tree branch
.