TopLevelParser

com.ossuminc.riddl.language.parsing.TopLevelParser
See theTopLevelParser companion class

Attributes

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

Members list

Value members

Concrete methods

Alternate, non-asynchronous interface to parsing.

Alternate, non-asynchronous interface to parsing. If you have your data already, you can just make your own RiddlParserInput from a string and call this to start parsing.

Value parameters

commonOptions

The common options that could affect parsing or its output

input

The RiddlParserInput that contains the data to parse

withVerboseFailures

For the utility of RIDDL implementers.

Attributes

Returns
Source
TopLevelParser.scala

Main entry point into parsing.

Main entry point into parsing. This sets up the asynchronous (but maybe not parallel) parsing of the input to the parser.

Value parameters

commonOptions

Options relevant to parsing the input

url

A file:// or https:// based url to specify the source of the parser input

withVerboseFailures

Control whether parse failures are diagnosed verbosely or not. Typically only useful to maintainers of RIDDL, or test cases

Attributes

Source
TopLevelParser.scala