Package jjparse.description
Class Empty
java.lang.Object
jjparse.description.Description
jjparse.description.Empty
A
Description for Parsing.Parsers with no expectation hints (which is the default).- Author:
- Björn Lötters
- See Also:
-
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
-
Constructor Details
-
Empty
public Empty()Constructs a newEmptyDescription.
-
-
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.
-