trait Module extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Module
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class CompileSource[From](context: Context, schemas: ListMap[Importable, Schema], importables: Seq[(Importable, From)], additionalImportables: ListMap[Importable, File], firstNamespace: Option[String]) extends Product with Serializable
- abstract type Context
- trait Importable extends AnyRef
- abstract type RawSchema
- abstract type Schema
Abstract Value Members
- abstract def buildContext: Context
- abstract def generate(schema: Schema, part: String, context: Context, config: Config): Seq[(Option[String], Snippet, String)]
- abstract def generateProtocol(snippet: Snippet, context: Context, config: Config): Seq[Node]
- abstract def generateRuntimeFiles[To](context: Context, config: Config)(implicit evTo: CanBeWriter[To]): List[To]
- abstract def nodeToRawSchema(node: Node): RawSchema
- abstract def packageName(namespace: Option[String], context: Context): Option[String]
- abstract def processContext(context: Context, schemas: Seq[Schema], config: Config): Unit
- abstract def processSchema(schema: Schema, context: Context, config: Config): Unit
- abstract def readerToRawSchema(reader: Reader): RawSchema
- abstract def toImportable(location: URI, rawschema: RawSchema): Importable
Concrete 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
- def appendPostFix(location: URI, n: Int): URI
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildCompileSource[From, To](files: Seq[From])(implicit ev: CanBeRawSchema[From, RawSchema]): CompileSource[From]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def copyFileFromResource(source: String, dest: File, substitution: Option[(String, String)] = None): Unit
- val encoding: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val fileReader: CanBeRawSchema[File, RawSchema]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def generateFromResource[To](packageName: Option[String], fileName: String, resourcePath: String, substitution: Option[(String, String)] = None)(implicit evTo: CanBeWriter[To]): To
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def headerSnippet(pkg: Option[String]): Snippet
- def infoFiles(files: Seq[File], config: Config): (CompileSource[File], List[File])
- def infoNode(input: Node, config: Config): (CompileSource[Node], List[String])
- def infoString(input: String, config: Config): (CompileSource[String], List[String])
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergeSnippets(snippets: Seq[Snippet]): Snippet
- def missingDependencies(importable: Importable, files: Seq[Importable]): List[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val newline: String
- val nodeReader: CanBeRawSchema[Node, RawSchema]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def packageDir(packageName: Option[String], dir: File): File
- def parse(location: URI, in: Reader): Schema
- def parse(importable: Importable, context: Context): Schema
- def printFromResource(source: String, out: PrintWriter, substitution: Option[(String, String)] = None): Unit
- def printNodes(nodes: Seq[Node], out: PrintWriter): Unit
- def process(file: File, config: Config): List[File]
- def process(file: File, packageName: String, outdir: File): List[File]
- def processCompileSource[From, To](cs: CompileSource[From], config: Config)(implicit ev: CanBeRawSchema[From, RawSchema], evTo: CanBeWriter[To]): List[To]
- def processFiles(files: Seq[File], config: Config): List[File]
- def processNode(input: Node, config: Config): List[String]
- def processNode(input: Node, packageName: String): List[String]
- def processReaders[From, To](files: Seq[From], config: Config)(implicit ev: CanBeRawSchema[From, RawSchema], evTo: CanBeWriter[To]): (CompileSource[From], List[To])
- def processString(input: String, config: Config): List[String]
- def processString(input: String, packageName: String): List[String]
- def replaceNamespace(raw: Node, old: Option[String], outerNamespace: Option[String]): Node
- def shortenUri(uri: URI): String
- val stringReader: CanBeRawSchema[String, RawSchema]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def verbose: Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()