trait InputOps[F[_]] extends AnyRef
API for specifying the tree of character inputs for a parsing operation.
It allows any class merging in this trait to define all input related operations
in terms of the only abstract method fromInput
.
- Alphabetic
- By Inheritance
- InputOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Abstract Value Members
- abstract def F: Sync[F]
-
abstract
def
config: OperationConfig
The configuration to use for all input operations.
-
abstract
def
fromInput(input: InputTreeBuilder[F]): Result
Builder step that instructs the runtime to use the specified input builder for all parsing operations.
Builder step that instructs the runtime to use the specified input builder for all parsing operations.
This is the most generic way to specify the input as it allows to freely compose inputs from multiple directories, files, streams, the classpath or in-memory inputs. All other methods in this trait are mere shortcuts that delegate to this method.
- input
the input tree to process
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromDirectories(roots: Seq[File], exclude: FileFilter)(implicit codec: Codec): Result
Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.
Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.
- roots
the root directories to traverse
- exclude
the files to exclude from processing
- codec
the character encoding of the files, if not specified the platform default will be used.
-
def
fromDirectories(roots: Seq[File])(implicit codec: Codec): Result
Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.
Builder step that instructs the runtime to parse files from the specified directories and its subdirectories, merging them into a tree with a single root.
- roots
the root directories to traverse
- codec
the character encoding of the files, if not specified the platform default will be used.
-
def
fromDirectory(dir: File, exclude: FileFilter)(implicit codec: Codec): Result
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
- dir
the root directory to traverse
- exclude
the files to exclude from processing
- codec
the character encoding of the files, if not specified the platform default will be used.
-
def
fromDirectory(dir: File)(implicit codec: Codec): Result
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
- dir
the root directory to traverse
- codec
the character encoding of the files, if not specified the platform default will be used.
-
def
fromDirectory(name: String, exclude: FileFilter)(implicit codec: Codec): Result
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
- name
the name of the directory to traverse
- exclude
the files to exclude from processing
- codec
the character encoding of the files, if not specified the platform default will be used.
-
def
fromDirectory(name: String)(implicit codec: Codec): Result
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
Builder step that instructs the runtime to parse files from the specified directory and its subdirectories.
- name
the name of the directory to traverse
- codec
the character encoding of the files, if not specified the platform default will be used.
-
def
fromWorkingDirectory(exclude: FileFilter = DirectoryInput.hiddenFileFilter)(implicit codec: Codec): Result
Builder step that instructs the runtime to parse files from the current working directory.
Builder step that instructs the runtime to parse files from the current working directory.
- exclude
the files to exclude from processing
- codec
the character encoding of the files, if not specified the platform default will be used.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()