trait DeclarationInterface extends WdlGraphNodeWithUpstreamReferences

Represents a declaration which can show up in a workflow or a task context. For example

task test { File test_file command { ... } }

workflow wf { String wf_string = "abc" call test { input: s=wf_string } }

Both the definition of test_file and wf_string are declarations

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeclarationInterface
  2. WdlGraphNodeWithUpstreamReferences
  3. WdlGraphNode
  4. Scope
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def ast: Ast
    Definition Classes
    DeclarationInterfaceScope
  2. abstract def expression: Option[WdlExpression]
  3. abstract def unqualifiedName: LocallyQualifiedName
    Definition Classes
    Scope
  4. abstract def wdlType: WdlType

Concrete 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. lazy val ancestry: Seq[Scope]

    Seq(parent, grandparent, great grandparent, ..., WdlNamespace)

    Seq(parent, grandparent, great grandparent, ..., WdlNamespace)

    Definition Classes
    Scope
  5. def appearsInFqn: Boolean
    Definition Classes
    Scope
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def asTaskInput: Option[TaskInput]
  8. def asWorkflowInput: Option[WorkflowInput]
  9. lazy val calls: Set[WdlCall]

    Descendants that are Calls

    Descendants that are Calls

    Definition Classes
    Scope
  10. def children: Seq[Scope]

    Child scopes, in the order that they appear in the source code

    Child scopes, in the order that they appear in the source code

    Definition Classes
    Scope
  11. def children_=[Child <: Scope](children: Seq[Child]): Unit
    Definition Classes
    Scope
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def closestCommonAncestor(other: Scope): Option[Scope]

    Given another scope, returns the closest common ancestor between the two scopes, if one exists at all

    Given another scope, returns the closest common ancestor between the two scopes, if one exists at all

    returns

    closest common ancestor

    Definition Classes
    Scope
  14. def closestCommonScatter(other: Scope): Option[Scatter]
    Definition Classes
    Scope
  15. lazy val declarations: Seq[Declaration]

    Declarations within this Scope, in the order that they appear in source code

    Declarations within this Scope, in the order that they appear in source code

    Definition Classes
    Scope
  16. lazy val descendants: Set[Scope]

    All children ++ children's children ++ etc

    All children ++ children's children ++ etc

    Definition Classes
    Scope
  17. final lazy val downstream: Set[WdlGraphNode]
    Definition Classes
    WdlGraphNode
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. lazy val fullyQualifiedName: String

    String identifier for this scope.

    String identifier for this scope. this.namespace.resolve(this.fullyQualifiedName) == this

    Definition Classes
    Scope
  22. def fullyQualifiedNameWithIndexScopes: String

    String identifier for this scope, with hidden scope information.

    String identifier for this scope, with hidden scope information.

    this.namespace.resolve(this.fullyQualifiedNameWithIndexScopes) == this

    Definition Classes
    Scope
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def locallyQualifiedName(relativeTo: Scope): String

    Similar to fullyQualifiedName but relatively to an ancestry scope.

    Similar to fullyQualifiedName but relatively to an ancestry scope. e.g. Workflow w Call a Output o

    o.locallyQualified(a) = "a.o" o.locallyQualified(w) = o.fullyQualifiedName = "w.a.o"

    Definition Classes
    Scope
  27. def lookupFunction(knownInputs: WorkflowCoercedInputs, wdlFunctions: WdlFunctions[WdlValue], outputResolver: OutputResolver = NoOutputResolver, shards: Map[Scatter, Int] = Map.empty[Scatter, Int], relativeTo: Scope = this): (String) ⇒ WdlValue

    This will return a lookup function for evaluating expressions which will traverse up the scope hierarchy to find a value for name.

    This will return a lookup function for evaluating expressions which will traverse up the scope hierarchy to find a value for name. An exception will be thrown if a value cannot be found for name

    knownInputs

    All known values of FQNs

    wdlFunctions

    Implementation of WDL functions for expression evaluation

    shards

    For resolving specific shards of scatter blocks

    returns

    String => WdlValue lookup function rooted at scope

    Definition Classes
    Scope
    Exceptions thrown

    VariableLookupException if anything else goes wrong in looking up a value for name

    VariableNotFoundException If no errors occurred, but also name didn't resolve to any value

  28. def namespace: WdlNamespace

    Containing namespace

    Containing namespace

    Definition Classes
    Scope
  29. def namespace_=[Child <: WdlNamespace](ns: WdlNamespace): Unit
    Definition Classes
    Scope
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  33. def parent: Option[Scope]

    Parent scope

    Parent scope

    Definition Classes
    Scope
  34. def parent_=[Child <: Scope](scope: Scope): Unit
    Definition Classes
    Scope
  35. final def referencedNodes: Iterable[WdlGraphNode]
  36. def relativeWdlType(from: Scope): WdlType
  37. def resolveVariable(name: String, relativeTo: Scope = this): Option[WdlGraphNode]

    Performs scope resolution starting from this scope and walking up the lexical hierarchy until it finds a GraphNode with the name as its unqualifiedName

    Performs scope resolution starting from this scope and walking up the lexical hierarchy until it finds a GraphNode with the name as its unqualifiedName

    Definition Classes
    Scope
  38. lazy val scatters: Set[Scatter]

    Descendants that are Scatters

    Descendants that are Scatters

    Definition Classes
    Scope
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. lazy val taskCalls: Set[WdlTaskCall]
    Definition Classes
    Scope
  41. def toString(): String
    Definition Classes
    DeclarationInterface → AnyRef → Any
  42. def toWdlString: String
  43. final lazy val upstream: Set[WdlGraphNode]

    The set of all graph nodes which are a single step upstream from this one.

    The set of all graph nodes which are a single step upstream from this one.

    Definition Classes
    WdlGraphNode
  44. final lazy val upstreamAncestry: Set[WdlGraphNode]

    The set of all graph nodes which are (transitively) upstream from this one.

    The set of all graph nodes which are (transitively) upstream from this one.

    Definition Classes
    WdlGraphNode
  45. final lazy val upstreamReferences: Iterable[VariableReference]
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. lazy val workflowCalls: Set[WdlWorkflowCall]
    Definition Classes
    Scope

Inherited from WdlGraphNode

Inherited from Scope

Inherited from AnyRef

Inherited from Any

Ungrouped