Package

com.twitter

util

Permalink

package util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Eval extends AnyRef

    Permalink

    Evaluates files, strings, or input streams as Scala code, and returns the result.

    Evaluates files, strings, or input streams as Scala code, and returns the result.

    If target is None, the results are compiled to memory (and are therefore ephemeral). If target is Some(path), the path must point to a directory, and classes will be saved into that directory.

    Eval also supports a limited set of preprocessors. Currently, "limited" means "exactly one": directives of the form #include <file>.

    The flow of evaluation is: - extract a string of code from the file, string, or input stream - run preprocessors on that string - wrap processed code in an apply method in a generated class - compile the class - contruct an instance of that class - return the result of apply()

Value Members

  1. val StorageUnitConversions: storage.type

    Permalink
  2. val TimeConversions: time.type

    Permalink

Deprecated Value Members

  1. object Eval extends Eval

    Permalink

    Evaluate a file or string and return the result.

    Evaluate a file or string and return the result.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.8.1) use a throw-away instance of Eval instead

Inherited from AnyRef

Inherited from Any

Ungrouped