ParsingContext

com.ossuminc.riddl.language.parsing.ParsingContext

Unit Tests For ParsingContext

Attributes

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

Members list

Value members

Concrete methods

def at(offset1: Int, offset2: Int)(implicit context: ParsingRun[_]): At

Attributes

Source
ParsingContext.scala
def doImport(loc: At, domainName: Identifier, url: LiteralString)(implicit ctx: ParsingRun[_]): Domain

Attributes

Source
ParsingContext.scala
def doIncludeParsing[CT <: RiddlValue](loc: At, path: String, rule: (ParsingRun[_]) => ParsingRun[Seq[CT]])(implicit ctx: ParsingRun[_]): Include[CT]

Attributes

Source
ParsingContext.scala
def getURLs: Seq[URL]

Attributes

Source
ParsingContext.scala
protected def parse[RESULT](rpi: RiddlParserInput, rule: (ParsingRun[_]) => ParsingRun[RESULT], withVerboseFailures: Boolean): Either[(Messages, Int), (RESULT, Int)]

Attributes

Source
ParsingContext.scala
protected def parseRule[RESULT](rpi: RiddlParserInput, rule: (ParsingRun[_]) => ParsingRun[RESULT], withVerboseFailures: Boolean)(validate: (result: Either[Messages, RESULT], input: RiddlParserInput, index: Int) => Either[Messages, RESULT]): Either[Messages, RESULT]

Attributes

Source
ParsingContext.scala

Inherited methods

Attributes

Inherited from:
ParsingErrors
Source
ParsingErrors.scala

Attributes

Inherited from:
ParsingErrors
Source
ParsingErrors.scala
protected def messagesAsList: Messages

Attributes

Inherited from:
ParsingErrors
Source
ParsingErrors.scala
protected def messagesNonEmpty: Boolean

Attributes

Inherited from:
ParsingErrors
Source
ParsingErrors.scala

Attributes

Inherited from:
ParsingErrors
Source
ParsingErrors.scala