com.ossuminc.riddl.passes.prettify
Members list
Type members
Classlikes
case class PrettifyOutput(root: Root, messages: Messages, state: PrettifyState) extends PassOutput
Attributes
- Source
- PrettifyPass.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PassOutputclass Objecttrait Matchableclass AnyShow all
object PrettifyPass extends PassInfo[Options]
Attributes
- Companion
- class
- Source
- PrettifyPass.scala
- Supertypes
- Self type
-
PrettifyPass.type
class PrettifyPass(input: PassInput, outputs: PassesOutput, options: Options)(using x$4: PlatformContext) extends VisitingPass[PrettifyVisitor]
This is the RIDDL Prettifier to convert an AST back to RIDDL plain text
This is the RIDDL Prettifier to convert an AST back to RIDDL plain text
Attributes
- Companion
- object
- Source
- PrettifyPass.scala
- Supertypes
-
class VisitingPass[PrettifyVisitor]class HierarchyPassclass Passclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- PrettifyState.scala
- Supertypes
class PrettifyVisitor(options: Options) extends PassVisitor
Attributes
- Source
- PrettifyVisitor.scala
- Supertypes
case class RiddlFileEmitter(url: URL) extends FileBuilder
Generates RIDDL in textual format based on the AST
Generates RIDDL in textual format based on the AST
Attributes
- Source
- RiddlFileEmitter.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait FileBuilderclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
A function to translate between a definition and the keyword that introduces them.
A function to translate between a definition and the keyword that introduces them.
Value parameters
- definition
-
The definition to look up
Attributes
- Returns
-
A string providing the definition keyword, if any. Enumerators and fields don't have their own keywords
- Source
- PrettifyVisitor.scala
In this article