final class WikiParser extends (CommentFactoryBase.this)#CharReader
TODO
- Attributes
- protected
- Self Type
- (CommentFactoryBase.this)#WikiParser
- Source
- CommentFactoryBase.scala
- Alphabetic
- By Inheritance
- WikiParser
- CharReader
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new WikiParser(buffer: String, pos: Position, site: Global.Symbol)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to any2stringadd[(CommentFactoryBase.this)#WikiParser] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): ((CommentFactoryBase.this)#WikiParser, B)
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to ArrowAssoc[(CommentFactoryBase.this)#WikiParser] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val CLOSE_TAG: Regex
- val OPEN_TAG: Regex
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
block(): Block
block ::= code | title | hrule | listBlock | table | para
-
def
blockEnded(blockType: String): Unit
eol ::= { whitespace } '\n'
- def bold(): Inline
- val buffer: String
-
def
char: Char
- Definition Classes
- CharReader
-
final
def
check(chars: String, checkOffset: Int): Boolean
- Definition Classes
- CharReader
-
final
def
check(chars: String): Boolean
- Definition Classes
- CharReader
-
def
checkList: Boolean
Checks if the current line is formed with more than one space and one the listStyles
- def checkParaEnded(): Boolean
- def checkSentenceEnded(): Boolean
-
def
checkSkipInitWhitespace(chars: String): Boolean
- Definition Classes
- CharReader
-
def
checkSkipInitWhitespace(c: Char): Boolean
- Definition Classes
- CharReader
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def code(): Block
-
def
countWhitespace: Int
- Definition Classes
- CharReader
- def document(): Body
-
def
ensuring(cond: ((CommentFactoryBase.this)#WikiParser) ⇒ Boolean, msg: ⇒ Any): (CommentFactoryBase.this)#WikiParser
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: ((CommentFactoryBase.this)#WikiParser) ⇒ Boolean): (CommentFactoryBase.this)#WikiParser
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): (CommentFactoryBase.this)#WikiParser
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): (CommentFactoryBase.this)#WikiParser
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to Ensuring[(CommentFactoryBase.this)#WikiParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hrule(): Block
hrule ::= "----" { '-' } '\n'
- def htmlTag(): HtmlTag
- def inline(isInlineEnd: ⇒ Boolean, textTransform: (String) ⇒ String = identity): Inline
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isWhitespace(c: Char): Boolean
- Definition Classes
- CharReader
-
def
isWhitespaceOrNewLine(c: Char): Boolean
- Definition Classes
- CharReader
- def italic(): Inline
-
final
def
jump(chars: String): Boolean
jumps all the characters in chars, consuming them in the process.
jumps all the characters in chars, consuming them in the process.
- returns
true only if the correct characters have been jumped
- Definition Classes
- CharReader
-
final
def
jump(ch: Char): Boolean
jumps a character and consumes it
jumps a character and consumes it
- returns
true only if the correct character has been jumped
- Definition Classes
- CharReader
-
final
def
jumpUntil(pred: ⇒ Boolean): Int
- Definition Classes
- CharReader
-
final
def
jumpUntil(ch: Char): Int
- Definition Classes
- CharReader
-
def
jumpWhitespace(): Int
- Definition Classes
- CharReader
-
def
jumpWhitespaceOrNewLine(): Int
- Definition Classes
- CharReader
- def link(): Inline
-
def
listBlock(): Block
nListBlock ::= nLine { mListBlock } nLine ::= nSpc listStyle para '\n'
Where n and m stand for the number of spaces. When
m > n
, a new list is nested. -
val
listStyles: Map[String, (collection.Seq[Block]) ⇒ Block]
listStyle ::= '-' spc | '1.' spc | 'I.' spc | 'i.' spc | 'A.' spc | 'a.' spc Characters used to build lists and their constructors
listStyle ::= '-' spc | '1.' spc | 'I.' spc | 'i.' spc | 'A.' spc | 'a.' spc Characters used to build lists and their constructors
- Attributes
- protected
- def monospace(): Inline
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
nextChar(): Unit
- Definition Classes
- CharReader
-
def
normalizeIndentation(_code: String): String
Eliminates the (common) leading spaces in all lines, based on the first line For indented pieces of code, it reduces the indent to the least whitespace prefix:
Eliminates the (common) leading spaces in all lines, based on the first line For indented pieces of code, it reduces the indent to the least whitespace prefix:
indented example another indented line if (condition) then do something; ^ this is the least whitespace prefix
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
var
offset: Int
- Definition Classes
- CharReader
-
def
para(): Block
para ::= inline '\n'
-
final
def
prevChar(): Unit
- Definition Classes
- CharReader
-
final
def
readUntil(pred: ⇒ Boolean): String
- Definition Classes
- CharReader
-
final
def
readUntil(chars: String): String
- Definition Classes
- CharReader
-
final
def
readUntil(c: Char): String
- Definition Classes
- CharReader
-
final
def
repeatJump(c: Char, max: Int = Int.MaxValue): Int
- Definition Classes
- CharReader
- def reportError(pos: Position, message: String, site: Global.Symbol): Unit
- def subscript(): Inline
- def summary(): Inline
- var summaryParsed: Boolean
- def superscript(): Inline
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
table(): Block
table ::= headerRow '\n' delimiterRow '\n' dataRows '\n' content ::= inline-content row ::= '|' { content '|' }+ headerRow ::= row dataRows ::= row* align ::= ':' '-'+ | '-'+ | '-'+ ':' | ':' '-'+ ':' delimiterRow :: = '|' { align '|' }+
-
def
title(): Block
title ::= ('=' inline '=' | "==" inline "==" | ...) '\n'
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def underline(): Inline
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
-
def
→[B](y: B): ((CommentFactoryBase.this)#WikiParser, B)
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to ArrowAssoc[(CommentFactoryBase.this)#WikiParser] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from (CommentFactoryBase.this)#WikiParser to StringFormat[(CommentFactoryBase.this)#WikiParser] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.