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
    @HotSpotIntrinsicCandidate() @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. lazy val fragments: Map[String, FragmentDefinition]

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int

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

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

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

    Permalink

    Merges two documents.

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def operation(operationName: Option[String] = None): Option[OperationDefinition]

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

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

    Permalink
  25. def renderCompact: String

    Permalink
    Definition Classes
    AstNode
  26. def renderPretty: String

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

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

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

    Permalink
  30. lazy val source: Option[String]

    Permalink
  31. val sourceMapper: Option[SourceMapper]

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

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

    Permalink
    Definition Classes
    DocumentWithTrailingComments
  34. def visit(onEnter: (AstNode) ⇒ VisitorCommand, onLeave: (AstNode) ⇒ VisitorCommand): Document.this.type

    Permalink
    Definition Classes
    AstNode
  35. def visit(visitor: AstVisitor): Document.this.type

    Permalink
    Definition Classes
    AstNode
  36. def visitAstWithState[S](schema: Schema[_, _], state: S)(visitorFn: (TypeInfo, S) ⇒ AstVisitor): S

    Permalink
    Definition Classes
    AstNode
  37. def visitAstWithTypeInfo(schema: Schema[_, _])(visitorFn: (TypeInfo) ⇒ AstVisitor): Document.this.type

    Permalink
    Definition Classes
    AstNode
  38. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(): Unit

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

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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