scala.tools.nsc.ast.parser.MarkupParsers

MarkupParser

class MarkupParser extends MarkupParserCommon

Source
MarkupParsers.scala
Linear Supertypes
MarkupParserCommon, TokenTests, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MarkupParser
  2. MarkupParserCommon
  3. TokenTests
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MarkupParser(parser: SourceFileParser, preserveWS: Boolean)

Type Members

  1. type AttributesType = Map[String, Global.Tree]

    Definition Classes
    MarkupParser → MarkupParserCommon
  2. type ElementType = Global.Tree

    Definition Classes
    MarkupParser → MarkupParserCommon
  3. type InputType = CharArrayReader

    Definition Classes
    MarkupParser → MarkupParserCommon
  4. type NamespaceType = Any

    Definition Classes
    MarkupParser → MarkupParserCommon
  5. type PositionType = Position

    Definition Classes
    MarkupParser → MarkupParserCommon

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Parsers.MarkupParser, B)

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to ArrowAssoc[Parsers.MarkupParser] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def appendText(pos: Global.Position, ts: Buffer[Global.Tree], txt: String): Unit

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def ch: Char

    Definition Classes
    MarkupParser → MarkupParserCommon
  11. def ch_returning_nextch: Char

    Attributes
    protected
    Definition Classes
    MarkupParser → MarkupParserCommon
  12. def checkPubID(s: String): Boolean

    Definition Classes
    TokenTests
  13. def checkSysID(s: String): Boolean

    Definition Classes
    TokenTests
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def content: Buffer[Global.Tree]

  16. def content_AMP(ts: ArrayBuffer[Global.Tree]): Unit

    adds entity/character to ts as side-effect

  17. def content_BRACE(p: Global.Position, ts: ArrayBuffer[Global.Tree]): Unit

  18. def curOffset: Int

  19. def element: Global.Tree

    '<' element ::= xmlTag1 '>' { xmlExpr | '{' simpleExpr '}' } ETag | xmlTag1 '/' '>'

  20. def ensuring(cond: (Parsers.MarkupParser) ⇒ Boolean, msg: ⇒ Any): Parsers.MarkupParser

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to Ensuring[Parsers.MarkupParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: (Parsers.MarkupParser) ⇒ Boolean): Parsers.MarkupParser

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to Ensuring[Parsers.MarkupParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean, msg: ⇒ Any): Parsers.MarkupParser

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to Ensuring[Parsers.MarkupParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean): Parsers.MarkupParser

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to Ensuring[Parsers.MarkupParser] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. val eof: Boolean

    Definition Classes
    MarkupParser → MarkupParserCommon
  25. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  27. def errorAndResult[T](msg: String, x: T): T

    Attributes
    protected
    Definition Classes
    MarkupParserCommon
  28. def errorNoEnd(tag: String): Nothing

    Definition Classes
    MarkupParser → MarkupParserCommon
  29. def escapeToScala[A](op: ⇒ A, kind: String): A

  30. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  32. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. var input: CharArrayReader

  35. def isAlpha(c: Char): Boolean

    Definition Classes
    TokenTests
  36. def isAlphaDigit(c: Char): Boolean

    Definition Classes
    TokenTests
  37. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  38. def isName(s: String): Boolean

    Definition Classes
    TokenTests
  39. def isNameChar(ch: Char): Boolean

    Definition Classes
    TokenTests
  40. def isNameStart(ch: Char): Boolean

    Definition Classes
    TokenTests
  41. def isPubIDChar(ch: Char): Boolean

    Definition Classes
    TokenTests
  42. final def isSpace(cs: Seq[Char]): Boolean

    Definition Classes
    TokenTests
  43. final def isSpace(ch: Char): Boolean

    Definition Classes
    TokenTests
  44. def isValidIANAEncoding(ianaEncoding: Seq[Char]): Boolean

    Definition Classes
    TokenTests
  45. def lookahead(): BufferedIterator[Char]

    Definition Classes
    MarkupParser → MarkupParserCommon
  46. def mkAttributes(name: String, other: NamespaceType): AttributesType

    Definition Classes
    MarkupParser → MarkupParserCommon
  47. def mkProcInstr(position: Global.Position, name: String, text: String): ElementType

    Definition Classes
    MarkupParser → MarkupParserCommon
  48. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  49. def nextch(): Unit

    this method assign the next character to ch and advances in input

    this method assign the next character to ch and advances in input

    Definition Classes
    MarkupParser → MarkupParserCommon
  50. final def notify(): Unit

    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  52. final val preserveWS: Boolean

  53. def reportSyntaxError(str: String): Unit

    Definition Classes
    MarkupParser → MarkupParserCommon
  54. def reportSyntaxError(pos: Int, str: String): Unit

    Definition Classes
    MarkupParser → MarkupParserCommon
  55. def returning[T](x: T)(f: (T) ⇒ Unit): T

    Definition Classes
    MarkupParserCommon
  56. def saving[A, B](getter: A, setter: (A) ⇒ Unit)(body: ⇒ B): B

    Definition Classes
    MarkupParserCommon
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. var tmppos: Global.Position

    Definition Classes
    MarkupParser → MarkupParserCommon
  59. def toString(): String

    Definition Classes
    AnyRef → Any
  60. def truncatedError(msg: String): Nothing

    Definition Classes
    MarkupParser → MarkupParserCommon
  61. def unreachable: Nothing

    Attributes
    protected
    Definition Classes
    MarkupParserCommon
  62. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  63. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  64. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  65. def xAttributeValue(): String

    Definition Classes
    MarkupParserCommon
  66. def xAttributeValue(endCh: Char): String

    Definition Classes
    MarkupParserCommon
  67. def xAttributes: LinkedHashMap[String, Global.Tree]

    parse attribute and add it to listmap [41] Attributes ::= { S Name Eq AttValue } AttValue ::= ' { _ } ' | " { _ } " | { scalablock }

  68. def xCharData: Global.Tree

    '<! CharData ::= [CDATA[ ( {char} - {char}"]]>"{char} ) ']]>'

    '<! CharData ::= [CDATA[ ( {char} - {char}"]]>"{char} ) ']]>'

    see [15]

  69. def xCharRef: String

    Definition Classes
    MarkupParserCommon
  70. def xCharRef(it: Iterator[Char]): String

    Definition Classes
    MarkupParserCommon
  71. def xCharRef(ch: () ⇒ Char, nextch: () ⇒ Unit): String

    Definition Classes
    MarkupParserCommon
  72. def xCheckEmbeddedBlock: Boolean

    checks whether next character starts a Scala block, if yes, skip it.

    checks whether next character starts a Scala block, if yes, skip it.

    returns

    true if next character starts a scala block

  73. def xComment: Global.Tree

    Comment ::=

    Comment ::=

    see [15]

  74. def xEQ(): Unit

    Definition Classes
    MarkupParserCommon
  75. var xEmbeddedBlock: Boolean

  76. def xEmbeddedExpr: Global.Tree

  77. def xEndTag(startName: String): Unit

    Definition Classes
    MarkupParserCommon
  78. def xHandleError(that: Char, msg: String): Unit

    Definition Classes
    MarkupParser → MarkupParserCommon
  79. def xLiteral: Global.Tree

    xLiteral = element { element }

    xLiteral = element { element }

    returns

    Scala representation of this xml literal

  80. def xLiteralPattern: Global.Tree

    returns

    this xml pattern

    See also

    xmlPattern. resynchronizes after successful parse

  81. def xName: String

    Definition Classes
    MarkupParserCommon
  82. def xPattern: Global.Tree

    '<' xPattern ::= Name [S] { xmlPattern | '{' pattern3 '}' } ETag | Name [S] '/' '>'

  83. def xProcInstr: ElementType

    Definition Classes
    MarkupParserCommon
  84. def xScalaPatterns: List[Global.Tree]

    xScalaPatterns ::= patterns

  85. def xSpace(): Unit

    Definition Classes
    MarkupParserCommon
  86. def xSpaceOpt(): Unit

    Definition Classes
    MarkupParserCommon
  87. def xTag(pscope: NamespaceType): (String, AttributesType)

    Attributes
    protected
    Definition Classes
    MarkupParserCommon
  88. def xTakeUntil[T](handler: (PositionType, String) ⇒ T, positioner: () ⇒ PositionType, until: String): T

    Attributes
    protected
    Definition Classes
    MarkupParserCommon
  89. def xToken(that: Seq[Char]): Unit

    Definition Classes
    MarkupParserCommon
  90. def xToken(that: Char): Unit

    Definition Classes
    MarkupParserCommon
  91. def xUnparsed: Global.Tree

  92. def [B](y: B): (Parsers.MarkupParser, B)

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to ArrowAssoc[Parsers.MarkupParser] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (markupParser: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (markupParser: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Parsers.MarkupParser

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to ArrowAssoc[Parsers.MarkupParser] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (markupParser: ArrowAssoc[Parsers.MarkupParser]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Parsers.MarkupParser

    Implicit information
    This member is added by an implicit conversion from Parsers.MarkupParser to Ensuring[Parsers.MarkupParser] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (markupParser: Ensuring[Parsers.MarkupParser]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from MarkupParserCommon

Inherited from TokenTests

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Parsers.MarkupParser to StringAdd

Inherited by implicit conversion any2stringfmt from Parsers.MarkupParser to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Parsers.MarkupParser to ArrowAssoc[Parsers.MarkupParser]

Inherited by implicit conversion any2Ensuring from Parsers.MarkupParser to Ensuring[Parsers.MarkupParser]

Ungrouped