TextInput

laika.io.model.TextInput
See theTextInput companion object
case class TextInput[F[_]](input: F[String], path: Path, docType: TextDocumentType, sourceFile: Option[FilePath])(implicit evidence$1: Functor[F]) extends Navigatable

Character input for the various parsers of this library and its virtual path within the input tree.

Value parameters

docType

Indicates the type of the document, to distinguish between text markup, templates, configuration and style sheets, which all have a different kind of parser

input

The character input

path

The full virtual path of this input (does not represent the filesystem path in case of file I/O), the point within the virtual tree of inputs (usually a DocumentTree) this resource should be linked into.

sourceFile

The source file from the file system, empty if this does not represent a file system resource

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Navigatable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val asDocumentInput: F[DocumentInput]

Inherited fields

lazy val name: String

The local name of this navigatable.

The local name of this navigatable.

Attributes

Inherited from:
Navigatable