Riddl

com.ossuminc.riddl.passes.Riddl
object Riddl

Primary Interface to Riddl Language parsing and validating

Attributes

Source
Riddl.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Riddl.type

Members list

Value members

Concrete methods

Parse an input with options and return the result

Parse an input with options and return the result

Value parameters

input

The com.ossuminc.riddl.language.parsing.RiddlParserInput to use as the input of the parsing

Attributes

Returns
Source
Riddl.scala

Value parameters

input

The com.ossuminc.riddl.language.parsing.RiddlParserInput to use as the input to the parser

shouldFailOnError

If set to true if the parsing succeeds and the validation generates errors in which case the errors will simply be returned, otherwise the PassesResult will be returned.

Attributes

Returns
Source
Riddl.scala

Same as Riddl.parseAndValidate but with a Java Path as the input instead

Same as Riddl.parseAndValidate but with a Java Path as the input instead

Attributes

Source
Riddl.scala

Run the standard passes after parsing

Run the standard passes after parsing

Value parameters

root

The root object of the model which is the product of parsing

shouldFailOnError

Whether this should just return the Left[Messages] if an error occurs in them, or not

Attributes

Returns
Source
Riddl.scala