object Riddl
Primary Interface to Riddl Language parsing and validating
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Riddl
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def parse(input: RiddlParserInput, options: CommonOptions): Either[Messages, RootContainer]
- def parse(path: Path, options: CommonOptions): Either[Messages, RootContainer]
- def parseAndValidate(path: Path, commonOptions: CommonOptions): Either[Messages, RootContainer]
- def parseAndValidate(input: RiddlParserInput, commonOptions: CommonOptions): Either[Messages, RootContainer]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timer[T](stage: String, show: Boolean = true, logger: Logger = SysLogger())(f: => T): T
Runs a code block and returns its result, and prints its execution time to stdout.
Runs a code block and returns its result, and prints its execution time to stdout. Execution time is only written if
show
is set totrue
.e.g.
timer("my-stage", true) { 1 + 1 } // 2
prints: Stage 'my-stage': 0.000 seconds
- stage
The name of the stage, is included in output message
- show
if
true
, then message is printed, otherwise not- logger
The logger to which timing messages should be put out.
- f
the code block to execute
- returns
The result of running
f
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(root: RootContainer, commonOptions: CommonOptions): Either[Messages, RootContainer]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated