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
Ordering
- Alphabetic
- By Inheritance
Inherited
- Document
- Serializable
- Product
- Equals
- WithTrailingComments
- AstNode
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Document(definitions: Vector[Definition], trailingComments: Vector[Comment] = Vector.empty, location: Option[AstLocation] = None, sourceMapper: Option[SourceMapper] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: Document): Document
An alias for
merge
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val analyzer: DocumentAnalyzer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cacheKeyHash: Int
- Definition Classes
- AstNode
- def canEqual(other: Any): Boolean
- Definition Classes
- Document → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val definitions: Vector[Definition]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Document → Equals → AnyRef → Any
- lazy val fragments: Map[String, FragmentDefinition]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Document → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val location: Option[AstLocation]
- def merge(other: Document): Document
Merges two documents.
Merges two documents. The
sourceMapper
is lost along the way. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def operation(operationName: Option[String] = None): Option[OperationDefinition]
- def operationType(operationName: Option[String] = None): Option[OperationType]
- lazy val operations: Map[Option[String], OperationDefinition]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def renderCompact: String
- Definition Classes
- AstNode
- def renderPretty: String
- Definition Classes
- AstNode
- def separateOperation(operationName: Option[String]): Option[Document]
- def separateOperation(definition: OperationDefinition): Document
- lazy val separateOperations: Map[Option[String], Document]
- lazy val source: Option[String]
- val sourceMapper: Option[SourceMapper]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val trailingComments: Vector[Comment]
- Definition Classes
- Document → WithTrailingComments
- def visit(onEnter: (AstNode) => VisitorCommand, onLeave: (AstNode) => VisitorCommand): Document.this.type
- Definition Classes
- AstNode
- def visit(visitor: AstVisitor): Document.this.type
- Definition Classes
- AstNode
- def visitAstWithState[S](schema: Schema[_, _], state: S)(visitorFn: (TypeInfo, S) => AstVisitor): S
- Definition Classes
- AstNode
- def visitAstWithTypeInfo(schema: Schema[_, _])(visitorFn: (TypeInfo) => AstVisitor): Document.this.type
- Definition Classes
- AstNode
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withoutSourceMapper: Document
Deprecated Value Members
- 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.