ResolutionPass

com.reactific.riddl.passes.resolve.ResolutionPass
See theResolutionPass companion object
case class ResolutionPass(input: PassInput) extends Pass, UsageResolution

The Reference Resolution Pass

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UsageBase
class Pass
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
UsageBase

Value members

Concrete methods

override def close(): Unit

Close any resources used so this can be used with AutoCloseable or Using.Manager

Close any resources used so this can be used with AutoCloseable or Using.Manager

Attributes

Definition Classes
override def name: String

THe name of the pass for inclusion in messages it produces

THe name of the pass for inclusion in messages it produces

Attributes

Returns

A string value giving the name of this pass

Definition Classes
def process(definition: Definition, parents: Stack[Definition]): Unit
def resolvePathFromAnchor[T <: Definition : ClassTag](pathId: PathIdentifier, parents: Seq[Definition], anchor: Definition, anchor_parents: Seq[Definition]): Seq[Definition]
override def result: ResolutionOutput

Generate the output of this Pass.

Generate the output of this Pass. This will only be called after all the calls to process have completed.

Attributes

Returns

an instance of the output type

Definition Classes

Inherited methods

def addEntity(entity: Entity): UsageResolution.this.type

Attributes

Inherited from:
UsageResolution
def addFunction(fun: Function): UsageResolution.this.type

Attributes

Inherited from:
UsageResolution
def addType(ty: Type): UsageResolution.this.type

Attributes

Inherited from:
UsageResolution
def associateUsage(user: Definition, use: Definition): UsageResolution.this.type

Attributes

Inherited from:
UsageResolution
def checkUnused(): UsageResolution.this.type

Attributes

Inherited from:
UsageResolution

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
UsageResolution

Attributes

Inherited from:
UsageResolution

Inherited fields

protected var entities: Seq[Entity]

Attributes

Inherited from:
UsageResolution
protected var functions: Seq[Function]

Attributes

Inherited from:
UsageResolution
protected var types: Seq[Type]

Attributes

Inherited from:
UsageResolution
protected val usedBy: UseMap

Attributes

Inherited from:
UsageBase
protected val uses: UseMap

Attributes

Inherited from:
UsageBase