dotty.tools.dotc.parsing

SymbolicXMLBuilder

Related Doc: package parsing

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!

Version

1.0

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

Instance Constructors

  1. new SymbolicXMLBuilder(parser: Parser, preserveWS: Boolean)(implicit ctx: Context)

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. def Comment(txt: ast.untpd.Tree): ast.untpd.Tree

    Attributes
    protected
  5. def ProcInstr(target: ast.untpd.Tree, txt: ast.untpd.Tree): ast.untpd.Tree

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

    Definition Classes
    Any
  7. def charData(pos: Position, txt: String): ast.untpd.Tree

  8. def clone(): AnyRef

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

  10. def convertToTextPat(buf: Seq[ast.untpd.Tree]): List[ast.untpd.Tree]

    Attributes
    protected
  11. def convertToTextPat(t: ast.untpd.Tree): ast.untpd.Tree

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

  13. final def entityRef(pos: Position, n: String): ast.untpd.Tree

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

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

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

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

    Definition Classes
    AnyRef → Any
  18. def group(pos: Position, args: Seq[ast.untpd.Tree]): ast.untpd.Tree

    Various node constructions.

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def isEmptyText(t: ast.untpd.Tree): Boolean

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def makeText1(txt: ast.untpd.Tree): ast.untpd.Tree

  23. def makeTextPat(txt: ast.untpd.Tree): ast.untpd.Apply

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

  25. def makeXMLseq(pos: Position, args: Seq[ast.untpd.Tree]): ast.untpd.Block

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  30. def parseAttribute(pos: Position, s: String): ast.untpd.Tree

  31. def procInstr(pos: Position, target: String, txt: String): ast.untpd.Tree

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

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

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

    Definition Classes
    AnyRef
  34. final def text(pos: Position, txt: String): ast.untpd.Tree

  35. def toString(): String

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

  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped