LazyReader

alpaca.internal.lexer.LazyReader
See theLazyReader companion class
object LazyReader

Factory methods for creating LazyReader instances.

Attributes

Companion
class
Experimental
true
Source
LazyReader.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LazyReader.type

Members list

Value members

Concrete methods

def from(path: Path, charset: Charset = ...): LazyReader

Creates a LazyReader from a file path.

Creates a LazyReader from a file path.

Value parameters

charset

the character encoding (defaults to UTF-8)

path

the path to the file

Attributes

Returns

a new LazyReader

Source
LazyReader.scala