Class/Object

sangria.ast

Document

Related Docs: object Document | package ast

Permalink

case class Document(definitions: Vector[Definition], trailingComments: Vector[Comment] = Vector.empty, location: Option[AstLocation] = None, sourceMapper: Option[SourceMapper] = None) extends AstNode with WithTrailingComments with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, WithTrailingComments, AstNode, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Document
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WithTrailingComments
  7. AstNode
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Document(definitions: Vector[Definition], trailingComments: Vector[Comment] = Vector.empty, location: Option[AstLocation] = None, sourceMapper: Option[SourceMapper] = None)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: Document): Document

    Permalink

    An alias for merge

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. lazy val analyzer: DocumentAnalyzer

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def cacheKeyHash: Int

    Permalink
    Definition Classes
    AstNode
  8. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Document → Equals
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val definitions: Vector[Definition]

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Document → Equals → AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. lazy val fragments: Map[String, FragmentDefinition]

    Permalink
  15. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Document → AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val location: Option[AstLocation]

    Permalink
    Definition Classes
    DocumentAstNode
  19. def merge(other: Document): Document

    Permalink

    Merges two documents.

    Merges two documents. The sourceMapper is lost along the way.

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def operation(operationName: Option[String] = None): Option[OperationDefinition]

    Permalink
  24. def operationType(operationName: Option[String] = None): Option[OperationType]

    Permalink
  25. lazy val operations: Map[Option[String], OperationDefinition]

    Permalink
  26. def renderCompact: String

    Permalink
    Definition Classes
    AstNode
  27. def renderPretty: String

    Permalink
    Definition Classes
    AstNode
  28. def separateOperation(operationName: Option[String]): Option[Document]

    Permalink
  29. def separateOperation(definition: OperationDefinition): Document

    Permalink
  30. lazy val separateOperations: Map[Option[String], Document]

    Permalink
  31. lazy val source: Option[String]

    Permalink
  32. val sourceMapper: Option[SourceMapper]

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

    Permalink
    Definition Classes
    AnyRef
  34. val trailingComments: Vector[Comment]

    Permalink
    Definition Classes
    DocumentWithTrailingComments
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withoutSourceMapper: Document

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithTrailingComments

Inherited from AstNode

Inherited from AnyRef

Inherited from Any

Ungrouped