class InlineDelimiter extends Delimiter[InlineResult]
Delimiter implementation for parsing inline spans that distinguishes between a delimiter that marks the end of the span and a delimiter that marks the start of a nested span.
- Alphabetic
- By Inheritance
- InlineDelimiter
- Delimiter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new InlineDelimiter(nestedDelimiters: Set[Char], endDelimiters: Delimiter[String])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atEOF(charsConsumed: Int, source: SourceCursor): Parsed[InlineResult]
Method invoked when the end of the input is reached.
Method invoked when the end of the input is reached.
- charsConsumed
the number of characters consumed before EOF has been reached
- source
the parser context at the position EOF has been reached
- returns
the result of the parser
- Definition Classes
- InlineDelimiter → Delimiter
-
def
atStartChar(startChar: Char, charsConsumed: Int, source: SourceCursor): DelimiterResult[InlineResult]
Method invoked every time the parser encounters any of the
startChars
.Method invoked every time the parser encounters any of the
startChars
. The result is eitherContinue
in case the additional conditions for the delimiter are not met at this position, or aComplete
instance containing the result.- startChar
the start character that was encountered on the input string (matches one of the characters in the
startChar
set)- charsConsumed
the number of characters consumed before the delimiter has been reached
- source
the parser context at the position the delimiter has been reached
- returns
either
Continue
in case the additional conditions for the delimiter are not met at this position, or aComplete
instance containing the result
- Definition Classes
- InlineDelimiter → Delimiter
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
startChars: Set[Char]
The start characters that mark the (potential) end of the delimited text in case the conditions implemented in
atStartChar
are met.The start characters that mark the (potential) end of the delimited text in case the conditions implemented in
atStartChar
are met.- Definition Classes
- InlineDelimiter → Delimiter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated