net.sandrogrzicic.scalabuff.compiler

ScalaBuff

object ScalaBuff

ScalaBuff runtime.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalaBuff
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Settings(outputDirectory: File = ..., importDirectories: Seq[File] = ..., stdout: Boolean = false, inputEncoding: Charset = ScalaBuff.this.defaultCharset, outputEncoding: Charset = ScalaBuff.this.defaultCharset, verbose: Boolean = false, extraVerbose: Boolean = false) extends Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(file: File)(implicit settings: Settings = defaultSettings): ScalaClass

    Runs ScalaBuff on the specified file and returns the resulting Scala class.

    Runs ScalaBuff on the specified file and returns the resulting Scala class. If the encoding is not specified, it defaults to either UTF-8 (if available) or the platform default charset.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val defaultCharset: Charset

  10. val defaultSettings: Settings

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def findFiles(startAt: File): Seq[File]

  15. def fromString(input: String): ScalaClass

    Runs ScalaBuff on the specified input String and returns the output Scala class.

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def main(args: Array[String]): Unit

    ScalaBuff entry point.

    ScalaBuff entry point. If any errors occur, calls System.exit(1).

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def parse(file: File)(implicit settings: Settings = defaultSettings): List[Node]

    Parse a protobuf file into Nodes.

  24. def parseSetting(setting: String, settings: Settings): Either[String, Settings]

    Parse the provided setting, return either an error message or a new Settings.

    Parse the provided setting, return either an error message or a new Settings.

    Attributes
    protected
  25. def processImportSymbols(tree: List[Node])(implicit settings: Settings = defaultSettings): Map[String, ImportedSymbol]

    Process "import" statements in a protobuf AST by scanning the imported files and building a map of their exported symbols.

  26. val protoFileFilter: FileFilter

  27. def read(file: File)(implicit settings: Settings = defaultSettings): Reader

    Returns a new Reader based on the specified File and Charset.

    Returns a new Reader based on the specified File and Charset.

    Attributes
    protected
  28. def run(args: Array[String]): Boolean

    Runner: Runs ScalaBuff on the specified resource path(s).

    Runner: Runs ScalaBuff on the specified resource path(s).

    returns

    success: if true, no errors were encountered.

  29. def searchPath(filename: String)(implicit settings: Settings = defaultSettings): Option[File]

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def verbosePrintln(msg: String)(implicit settings: Settings): Unit

  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def write(generated: ScalaClass)(implicit settings: Settings): Unit

    Write the specified ScalaClass to a file, or to stdout, depending on the Settings.

    Write the specified ScalaClass to a file, or to stdout, depending on the Settings.

    Attributes
    protected

Inherited from AnyRef

Inherited from Any

Ungrouped