Top Description Fields Constructors Methods
org.jparsec

pack-priv final Class NestableBlockCommentScanner

extends Parser<Void>
Class Inheritance

Parses any nestable comment pattern.
Author
Ben Yu

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
NestableBlockCommentScanner(Parser<?> openQuote, Parser<?> closeQuote, Parser<?> commented)

Method Summary

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

Implements abstract org.jparsec.Parser.apply.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.jparsec.Parser:
asDelimiterasOptionalatLeastatomicbetweencastendByendBy1failsfollowedByfromfromgetReturnifelseifelseinfixlinfixninfixrlabellexermanymany1mapnewReferencenextnextnotnotnotFollowedByoptionaloptionalorotherwiseparseparseparseparseparseparseTreepeekpostfixprefixreadreluctantBetweenretnsepBysepBy1sepEndBysepEndBy1skipAtLeastskipManyskipMany1skipTimesskipTimessourcesucceedstimestimestokenuntilwithSource

Field Detail

closeQuoteback to summary
private final Parser<?> closeQuote
commentedback to summary
private final Parser<?> commented
openQuoteback to summary
private final Parser<?> openQuote

Constructor Detail

NestableBlockCommentScannerback to summary
pack-priv NestableBlockCommentScanner(Parser<?> openQuote, Parser<?> closeQuote, Parser<?> commented)

Method Detail

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

Implements abstract org.jparsec.Parser.apply.

Annotations
@Override
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