Usages

com.ossuminc.riddl.passes.resolve.Usages
See theUsages companion object

The data generated from the ResolutionPass that provides usage information about which definitions use others and vice versa. The data collected

Value parameters

usedBy

A hashmap with a com.ossuminc.riddl.language.AST.Definition as the key and the list of com.ossuminc.riddl.language.AST.Definition used by it

uses

A hashmap with a com.ossuminc.riddl.language.AST.Definition as the key and the list of com.ossuminc.riddl.language.AST.Definitions it uses

Attributes

Companion
object
Source
Usages.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait UsageBase
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
UsageBase
Source
UsageResolution.scala

Attributes

Inherited from:
UsageBase
Source
UsageResolution.scala

Value members

Concrete methods

Retrieve the list of users that use a com.ossuminc.riddl.language.AST.Definition

Retrieve the list of users that use a com.ossuminc.riddl.language.AST.Definition

Value parameters

used

The com.ossuminc.riddl.language.AST.Definition being used

Attributes

Returns

The scala.Seq of com.ossuminc.riddl.language.AST.Definition that are using used

Source
Usages.scala

Retrieve the uses of a given user

Retrieve the uses of a given user

Value parameters

user

The com.ossuminc.riddl.language.AST.Definition that is the user

Attributes

Returns

The scala.Seq of com.ossuminc.riddl.language.AST.Definition that are used by user

Source
Usages.scala

Determine if a definition is used or not

Determine if a definition is used or not

Attributes

Source
Usages.scala

Determine if one definition is used by another

Determine if one definition is used by another

Value parameters

used

The definition that is used

user

The definition that does the using

Attributes

Returns

True iff user uses used

Source
Usages.scala

Attributes

Source
Usages.scala

Attributes

Source
Usages.scala

Determine if one definition is using another

Determine if one definition is using another

Value parameters

used

The definition that is used

user

The definition that uses

Attributes

Returns

True iff user uses used

Source
Usages.scala

Attributes

Source
Usages.scala
def usesSize: Int

Attributes

Source
Usages.scala

Used for validity checks to make sure that the users are used by the usages

Used for validity checks to make sure that the users are used by the usages

Attributes

Source
Usages.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product