com.ossuminc.riddl.language.parsing

Members list

Type members

Classlikes

case object EmptyParserInput extends RiddlParserInput

Attributes

Source
RiddlParserInput.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class ParserInput
trait IsReachable
class Object
trait Matchable
class Any
Show all
Self type

An extensible version of the Top Level Parser.

An extensible version of the Top Level Parser.

Attributes

Source
ExtensibleTopLevelParser.scala
Supertypes
trait RootParser
trait Readability
class Object
trait Matchable
class Any
Show all
Known subtypes
object Keyword

Attributes

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

Keywords must not be followed by other program text so ensure this happens

Keywords must not be followed by other program text so ensure this happens

Attributes

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

Unit Tests For ParsingContext

Unit Tests For ParsingContext

Attributes

Source
ParsingContext.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

A trait for tracking errors generated by fastparse

A trait for tracking errors generated by fastparse

Attributes

Source
ParsingErrors.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PredefType

Attributes

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

Attributes

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

Attributes

Source
ProcessorParser.scala
Supertypes
trait Readability
class Object
trait Matchable
class Any
Show all
Known subtypes
object Punctuation

Attributes

Source
Punctuation.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait Readability

Attributes

Companion
object
Source
Readability.scala
Supertypes
class Object
trait Matchable
class Any
object Readability

Attributes

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

Primary interface to setting up a RIDDL Parser's input.

Primary interface to setting up a RIDDL Parser's input. The idea here is to use one of the apply methods in this companion object to construct a RiddlParserInput for a specific input source (file, path, Source, data string, URL, etc.)

Attributes

Companion
class
Source
RiddlParserInput.scala
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class RiddlParserInput extends ParserInput

This class provides the loaded data for fastparse to parse.

This class provides the loaded data for fastparse to parse. It is the same as fastparse.IndexedParserInput but adds support for file locations with At. The class is abstract because

Attributes

Companion
object
Source
RiddlParserInput.scala
Supertypes
class ParserInput
trait IsReachable
class Object
trait Matchable
class Any
Known subtypes
trait RootParser

Attributes

Source
RootParser.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
ModuleParser & CommonParser & ParsingContext

The TopLevel (Root) parser.

The TopLevel (Root) parser. This class munges all the individual parsers together and provides top level parsing functionality.

Value parameters

input

The RiddlParserInput that contains the data to parse

withVerboseFailures

For the utility of RIDDL implementers.

Attributes

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

Attributes

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

Attributes

Source
VitalDefinitionParser.scala
Supertypes
trait Readability
class Object
trait Matchable
class Any
Show all
Known subtypes