Uses of Class
net.diversionmc.parser.pattern.Sentence
Packages that use Sentence
-
Uses of Sentence in net.diversionmc.parser
Classes in net.diversionmc.parser with type parameters of type SentenceModifier and TypeClassDescriptionfinal classParser - convert any written language into custom formatMethods in net.diversionmc.parser with type parameters of type SentenceModifier and TypeMethodDescriptionParser.parser()Create Parser without any input attached and automatically set name.Create Parser from a file.Create Parser of a text with a title.Parser.parser(String name, InputStream is) Create Parser from an input stream with a title.Create Parser of a text with a title. -
Uses of Sentence in net.diversionmc.parser.pattern
Classes in net.diversionmc.parser.pattern with type parameters of type SentenceModifier and TypeInterfaceDescriptioninterfaceParsePattern<T extends Sentence>Pattern is a function which consumes Expression Pieces and converts them into aSentencelist.final recordPatternResult<T extends Sentence>Represents a result of a sentence parse.Methods in net.diversionmc.parser.pattern with type parameters of type SentenceModifier and TypeMethodDescriptionstatic <T extends Sentence>
LinkedList<T>ParsePattern.match(List<ExpressionPiece> expressions, ParsePattern<T>... patterns) Match all the given patterns or fail.static <T extends Sentence>
PatternResult<T>ParsePattern.matchOne(List<ExpressionPiece> expressions, ParsePattern<T>... patterns) Try to match at least one pattern from the given patterns.