UsageResolution

com.ossuminc.riddl.passes.resolve.UsageResolution
trait UsageResolution extends UsageBase

Validation State for Uses/UsedBy Tracking. During parsing, when usage is detected, call associateUsage. After parsing ends, call checkUnused. Collects entities, types and functions too

Attributes

Source
UsageResolution.scala
Graph
Supertypes
trait UsageBase
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Inherited types

Attributes

Inherited from:
UsageBase
Source
UsageResolution.scala

Attributes

Inherited from:
UsageBase
Source
UsageResolution.scala

Value members

Abstract methods

protected def messages: Accumulator

Attributes

Source
UsageResolution.scala

Concrete methods

def addEntity(entity: Entity): this.type

Attributes

Source
UsageResolution.scala
def addFunction(fun: Function): this.type

Attributes

Source
UsageResolution.scala
def addType(ty: Type): this.type

Attributes

Source
UsageResolution.scala

Attributes

Source
UsageResolution.scala
def checkUnused(): this.type

Attributes

Source
UsageResolution.scala

Concrete fields

protected var entities: Seq[Entity]

Attributes

Source
UsageResolution.scala
protected var functions: Seq[Function]

Attributes

Source
UsageResolution.scala
protected var types: Seq[Type]

Attributes

Source
UsageResolution.scala

Inherited fields

protected val usedBy: UsedByMap

Attributes

Inherited from:
UsageBase
Source
UsageResolution.scala
protected val uses: UseMap

Attributes

Inherited from:
UsageBase
Source
UsageResolution.scala