Package org.jparsec
Class SkipTimesParser
- java.lang.Object
-
- org.jparsec.Parser<java.lang.Void>
-
- org.jparsec.SkipTimesParser
-
final class SkipTimesParser extends Parser<java.lang.Void>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jparsec.Parser
Parser.Mode, Parser.Reference<T>
-
-
Constructor Summary
Constructors Constructor Description SkipTimesParser(Parser<?> parser, int min, int max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
apply(ParseContext ctxt)
private boolean
repeatAtMost(int times, ParseContext ctxt)
java.lang.String
toString()
-
Methods inherited from class org.jparsec.Parser
asDelimiter, asOptional, atLeast, atomic, between, cast, endBy, endBy1, fails, followedBy, from, from, getReturn, ifelse, ifelse, infixl, infixn, infixr, label, lexer, many, many1, map, newReference, next, next, not, not, notFollowedBy, optional, optional, or, otherwise, parse, parse, parse, parse, parse, parseTree, peek, postfix, prefix, read, reluctantBetween, retn, sepBy, sepBy1, sepEndBy, sepEndBy1, skipAtLeast, skipMany, skipMany1, skipTimes, skipTimes, source, succeeds, times, times, token, until, withSource
-
-
-
-
Field Detail
-
parser
private final Parser<?> parser
-
min
private final int min
-
max
private final int max
-
-
Constructor Detail
-
SkipTimesParser
SkipTimesParser(Parser<?> parser, int min, int max)
-
-
Method Detail
-
apply
boolean apply(ParseContext ctxt)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
repeatAtMost
private boolean repeatAtMost(int times, ParseContext ctxt)
-
-