scala.tools.nsc.ast.parser

SymbolicXMLBuilder

abstract class SymbolicXMLBuilder extends AnyRef

This class builds instance of Tree that represent XML.

Note from martin: This needs to have its position info reworked. I don't understand exactly what's done here. To make validation pass, I set many positions to be transparent. Not sure this is a good idea for navigating XML trees in the IDE but it's the best I can do right now. If someone who understands this part better wants to give it a shot, please do!

Source
SymbolicXMLBuilder.scala
Version

1.0

Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SymbolicXMLBuilder
  2. AnyRef
  3. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SymbolicXMLBuilder(p: Parser, preserveWS: Boolean)

Abstract Value Members

  1. abstract val global: Global

Concrete 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 SymbolicXMLBuilder to StringAdd[SymbolicXMLBuilder] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (SymbolicXMLBuilder, B)

    Implicit information
    This member is added by an implicit conversion from SymbolicXMLBuilder to ArrowAssoc[SymbolicXMLBuilder] performed by method ArrowAssoc 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 Comment(txt: Global.Tree): Global.Tree

    Attributes
    protected
  9. def ProcInstr(target: Global.Tree, txt: Global.Tree): Global.Tree

    Attributes
    protected
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def charData(pos: Global.Position, txt: String): Global.Tree

  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def comment(pos: Global.Position, text: String): Global.Tree

  14. def convertToTextPat(buf: Seq[Global.Tree]): List[Global.Tree]

    Attributes
    protected
  15. def convertToTextPat(t: Global.Tree): Global.Tree

    Attributes
    protected
  16. def element(pos: Global.Position, qname: String, attrMap: Map[String, Global.Tree], empty: Boolean, args: Seq[Global.Tree]): Global.Tree

  17. def ensuring(cond: (SymbolicXMLBuilder) ⇒ Boolean, msg: ⇒ Any): SymbolicXMLBuilder

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

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

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

    Implicit information
    This member is added by an implicit conversion from SymbolicXMLBuilder to Ensuring[SymbolicXMLBuilder] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def entityRef(pos: Global.Position, n: String): Global.Tree

  22. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  27. def group(pos: Global.Position, args: Seq[Global.Tree]): Global.Tree

    Various node constructions.

  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. def isEmptyText(t: Global.Tree): Boolean

  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def makeText1(txt: Global.Tree): Global.Tree

  32. def makeTextPat(txt: Global.Tree): Global.Apply

  33. def makeXMLpat(pos: Global.Position, n: String, args: Seq[Global.Tree]): Global.Tree

  34. def makeXMLseq(pos: Global.Position, args: Seq[Global.Tree]): Global.Block

    could optimize if args.

    could optimize if args.length == 0, args.length == 1 AND args(0) is <: Node.

  35. def mkXML(pos: Global.Position, isPattern: Boolean, pre: Global.Tree, label: Global.Tree, attrs: Global.Tree, scope: Global.Tree, empty: Boolean, children: Seq[Global.Tree]): Global.Tree

    Wildly wrong documentation deleted in favor of "self-documenting code.

    Wildly wrong documentation deleted in favor of "self-documenting code."

    Attributes
    protected
  36. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. final def notify(): Unit

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

    Definition Classes
    AnyRef
  39. def parseAttribute(pos: Global.Position, s: String): Global.Tree

  40. def procInstr(pos: Global.Position, target: String, txt: String): Global.Tree

  41. def splitPrefix(name: String): (Option[String], String)

    Returns (Some(prefix) | None, rest) based on position of ':'

  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. final def text(pos: Global.Position, txt: String): Global.Tree

  44. def toString(): String

    Definition Classes
    AnyRef → Any
  45. def unparsed(pos: Global.Position, str: String): Global.Tree

  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  49. def [B](y: B): (SymbolicXMLBuilder, B)

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from SymbolicXMLBuilder to StringAdd[SymbolicXMLBuilder]

Inherited by implicit conversion StringFormat from SymbolicXMLBuilder to StringFormat[SymbolicXMLBuilder]

Inherited by implicit conversion Ensuring from SymbolicXMLBuilder to Ensuring[SymbolicXMLBuilder]

Inherited by implicit conversion ArrowAssoc from SymbolicXMLBuilder to ArrowAssoc[SymbolicXMLBuilder]

Ungrouped