Package org.jparsec
Class Matcher<T>
java.lang.Object
org.jparsec.Matcher<T>
- Direct Known Subclasses:
DropLeft,DropRight,Eos,FailIf,Indent,Lexeme,Many,Map,MapOrFail,MultilineComment,Newline,Not,Opt,Or,Recursive,Satisfy,Sep,Seq.SeqX,Seq2,SinglelineComment,Spaces,Str,TakeWhile,Times
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertEquals(Context input, T value) voidassertFails(String text) voidassertParses(String text) <U> Matcher<U> <U> Matcher<U> <U> Matcher<U> mapOrError(Function<MatchResult<T>, MatchResult<U>> fn) abstract MatchResult<T> parseMaybe(String text) parseMaybe(Context ctx) parseThrow(String text) setErrorMessage(String message) setInternalDescription(String message)
-
Field Details
-
errorMessage
-
customError
-
internalDescription
-
-
Constructor Details
-
Matcher
-
-
Method Details
-
parse
-
parse
-
parseThrow
-
parseMaybe
-
parseMaybe
-
assertParses
-
assertFails
-
assertEquals
-
setErrorMessage
-
setInternalDescription
-
map
-
failIf
-
mapOrError
-
takeWhile
-
or
-
any
-
seq
-
dropLeft
-
dropRight
-