com.ossuminc.riddl.language

Members list

Type members

Classlikes

object AST

Abstract Syntax Tree This object defines the model for representing RIDDL as an Abstract Syntax Tree.

Abstract Syntax Tree This object defines the model for representing RIDDL as an Abstract Syntax Tree. This raw AST has no referential integrity, it just results from applying the parsing rules to the input. The RawAST models produced from parsing are syntactically correct but have no semantic validation.

Attributes

Source
AST.scala
Supertypes
class Object
trait Matchable
class Any
Self type
AST.type
case class At(source: RiddlParserInput, offset: Int) extends Ordered[At]

A location of an item in the input

A location of an item in the input

Value parameters

offset

The offset in that file/stream the defines the location

source

The parsing.RiddlParserInput instance from which the location as derived

Attributes

Companion
object
Source
At.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Ordered[At]
trait Comparable[At]
class Object
trait Matchable
class Any
Show all
object At

Attributes

Companion
class
Source
At.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
At.type
case class Finder[CV <: ContentValues](root: Container[CV])

The context for finding things within a given com.ossuminc.riddl.language.AST.Container of com.ossuminc.riddl.language.AST.RiddlValue as found in the AST model.

The context for finding things within a given com.ossuminc.riddl.language.AST.Container of com.ossuminc.riddl.language.AST.RiddlValue as found in the AST model. This provides the ability to find values in the model by traversing it and looking for the matching condition.

Value parameters

root

The container of RiddlValues to traverse for the sought condition

Attributes

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

Attributes

Companion
class
Source
Finder.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Finder.type
object Folding

An object for distinguishing several functions as ways to fold the model

An object for distinguishing several functions as ways to fold the model

Attributes

Source
Folding.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Folding.type
object KnownOption

Attributes

Source
KnownOptions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object KnownOptions

AN object that defines the names of the known options

AN object that defines the names of the known options

Attributes

Source
KnownOptions.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Messages

This module handles everything needed to deal with the message output of the riddlc compiler

This module handles everything needed to deal with the message output of the riddlc compiler

Attributes

Source
Messages.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Messages.type