scala.tools.nsc.ast.parser

SymbolicXMLBuilder

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!

Attributes
abstract
Source
SymbolicXMLBuilder.scala
Version

1.0

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SymbolicXMLBuilder
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

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

Type Members

  1. trait XMLTermNames extends LibraryTermNames

  2. trait XMLTypeNames extends LibraryTypeNames

Abstract Value Members

  1. val global : Global

    Attributes
    abstract

Concrete Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  6. def Comment (txt: Tree): Tree

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

    Attributes
    protected
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def charData (pos: Position, txt: String): Tree

  10. def clone (): AnyRef

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

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

    Attributes
    protected
  13. def convertToTextPat (t: Tree): Tree

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

  15. def entityRef (pos: Position, n: String): Tree

    Attributes
    final
  16. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  20. def group (pos: Position, args: Seq[Tree]): Tree

    Various node constructions.

  21. def hashCode (): Int

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

  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. var isPattern : Boolean

  25. def makeText1 (txt: Tree): Tree

  26. def makeTextPat (txt: Tree): Apply

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

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

    could optimize if args.

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

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

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

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

    Attributes
    protected
  30. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  31. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  32. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  33. def parseAttribute (pos: Position, s: String): Tree

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

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

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

  36. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Attributes
    final
  38. def toString (): String

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

  40. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any