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, Product, Equals, WithTrailingComments, AstNode, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Document
  2. Serializable
  3. Product
  4. Equals
  5. WithTrailingComments
  6. AstNode
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: Document): Document

    An alias for merge

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. lazy val analyzer: DocumentAnalyzer
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cacheKeyHash: Int
    Definition Classes
    AstNode
  8. def canEqual(other: Any): Boolean
    Definition Classes
    Document → Equals
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. val definitions: Vector[Definition]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean
    Definition Classes
    Document → Equals → AnyRef → Any
  13. lazy val fragments: Map[String, FragmentDefinition]
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    Document → AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val location: Option[AstLocation]
    Definition Classes
    DocumentAstNode
  18. def merge(other: Document): Document

    Merges two documents.

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

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def operation(operationName: Option[String] = None): Option[OperationDefinition]
  23. def operationType(operationName: Option[String] = None): Option[OperationType]
  24. lazy val operations: Map[Option[String], OperationDefinition]
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def renderCompact: String
    Definition Classes
    AstNode
  27. def renderPretty: String
    Definition Classes
    AstNode
  28. def separateOperation(operationName: Option[String]): Option[Document]
  29. def separateOperation(definition: OperationDefinition): Document
  30. lazy val separateOperations: Map[Option[String], Document]
  31. lazy val source: Option[String]
  32. val sourceMapper: Option[SourceMapper]
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. val trailingComments: Vector[Comment]
    Definition Classes
    DocumentWithTrailingComments
  35. def visit(onEnter: (AstNode) => VisitorCommand, onLeave: (AstNode) => VisitorCommand): Document.this.type
    Definition Classes
    AstNode
  36. def visit(visitor: AstVisitor): Document.this.type
    Definition Classes
    AstNode
  37. def visitAstWithState[S](schema: Schema[_, _], state: S)(visitorFn: (TypeInfo, S) => AstVisitor): S
    Definition Classes
    AstNode
  38. def visitAstWithTypeInfo(schema: Schema[_, _])(visitorFn: (TypeInfo) => AstVisitor): Document.this.type
    Definition Classes
    AstNode
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. def withoutSourceMapper: Document

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WithTrailingComments

Inherited from AstNode

Inherited from AnyRef

Inherited from Any

Ungrouped