Package jjparse.description
Class RegExp
java.lang.Object
jjparse.description.Description
jjparse.description.RegExp
- Author:
- Björn Lötters
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()Produces aStringthat explains what a correspondingParsing.Parserwould expect according to thisDescription.Methods inherited from class jjparse.description.Description
and, negate, normalize, or
-
Field Details
-
pattern
The expectedPatternof thisDescription.
-
-
Constructor Details
-
RegExp
Constructs a newRegExpDescription.- Parameters:
pattern- The expectedPatternof thisDescription.
-
-
Method Details
-
describe
Description copied from class:DescriptionProduces aStringthat explains what a correspondingParsing.Parserwould expect according to thisDescription.- Specified by:
describein classDescription- Returns:
- An
OptionalStringwhereOptional.empty()is returned in case thisDescriptionisEmpty.
-