Package net.apartium.cocoabeans.commands.parsers
package net.apartium.cocoabeans.commands.parsers
-
ClassDescriptionBase class for all parsersParse Result is the content of the parsingTsb completion result is the content of the tab completionAnnotations should be annotated with this annotation to specify their underlying factory implContextual Map-based parser that map of keyword to value When Map entry not found report
NoSuchElementInMapResponseA parser that parses an integer rangeMap-based parser that map of keyword to value When Map entry not found reportNoSuchElementInMapResponseUnlikeContextualMapBasedParserMapBasedParser doesn't care for contextParsers that let you press strings that are more than one word and are limited by using quotation marks and has support for new lines
Example
Input/test Hello\nWorld
OutputHello
WorldA factory associated with specific annotations to create argument parsers based on annotations present in the command classRepresents a parser to be registeredParser variant is a variant of compound parserQuoted string parser Parsers that let you press strings that are more than one word and are limited by using quotation marks
Examples
Input/test helloOutputhello
Input/test "hello world"Outputhello worldRepresents the scope of a parser factoryRegisters a source parser for a specific method that give that class access to itRegisters a parser for a specific command