PlaygroundExampleGenerator

class PlaygroundExampleGenerator<R : Node>(val parser: EcoreEnabledParser<R, *, *, *>, val directory: File, val failOnError: Boolean = true, resourceURI: URI = URI.createURI(""))

Constructors

Link copied to clipboard
constructor(parser: EcoreEnabledParser<R, *, *, *>, directory: File, failOnError: Boolean = true, resourceURI: URI = URI.createURI(""))

Functions

Link copied to clipboard
fun generateExample(name: String, file: File)
fun generateExample(name: String, code: String)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val failOnError: Boolean = true
Link copied to clipboard
val parser: EcoreEnabledParser<R, *, *, *>
Link copied to clipboard
val resource: Resource