Package net.diversionmc.parser.pattern
package net.diversionmc.parser.pattern
-
ClassDescriptionWhen confronted with a pattern of kind <value>[<operator><value>]..., you do not need to completely rewrite a custom pattern, as Parser comes with a tool specifically made for that.Operation between two values and an operator.ParsePattern<T extends Sentence>Pattern is a function which consumes Expression Pieces and converts them into a
Sentencelist.PatternResult<T extends Sentence>Represents a result of a sentence parse.Sentence is a real data structure,which can be directly used by an application and no longer belong to the parser (but Sentence knows where in the file it was defined).