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 = new File("." + File.separatorChar), importDirectories: Seq[File] = List(new File(".")), stdout: Boolean = false, inputEncoding: Charset = defaultCharset, outputEncoding: Charset = defaultCharset, verbose: Boolean = false, extraVerbose: Boolean = false, generateJsonMethod: Boolean = false) extends Product with Serializable

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. 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.

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

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

  8. val defaultSettings: Settings

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

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

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

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

  13. def fromString(input: String, generateJsonMethod: Boolean = false): ScalaClass

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

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

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

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

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

    ScalaBuff entry point.

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

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

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

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

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

    Parse a protobuf file into Nodes.

  22. 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
  23. 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.

  24. val protoFileFilter: FileFilter

  25. 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
  26. 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.

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

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. 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