Top Fields Constructors Methods
org.jparsec

pack-priv final Class SkipTimesParser

extends Parser<Void>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final int
private final int
private final Parser<?>

Constructor Summary

AccessConstructor and Description
pack-priv
SkipTimesParser(Parser<?> parser, int min, int max)

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean
apply(ParseContext ctxt)

Implements abstract org.jparsec.Parser.apply.

private boolean
repeatAtMost(int times, ParseContext ctxt)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.jparsec.Parser:
asDelimiterasOptionalatLeastatomicbetweencastendByendBy1failsfollowedByfromfromgetReturnifelseifelseinfixlinfixninfixrlabellexermanymany1mapnewReferencenextnextnotnotnotFollowedByoptionaloptionalorotherwiseparseparseparseparseparseparseTreepeekpostfixprefixreadreluctantBetweenretnsepBysepBy1sepEndBysepEndBy1skipAtLeastskipManyskipMany1skipTimesskipTimessourcesucceedstimestimestokenuntilwithSource

Field Detail

maxback to summary
private final int max
minback to summary
private final int min
parserback to summary
private final Parser<?> parser

Constructor Detail

SkipTimesParserback to summary
pack-priv SkipTimesParser(Parser<?> parser, int min, int max)

Method Detail

applyback to summary
pack-priv boolean apply(ParseContext ctxt)

Implements abstract org.jparsec.Parser.apply.

Annotations
@Override
repeatAtMostback to summary
private boolean repeatAtMost(int times, ParseContext ctxt)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override