Module Field.StringSource

Operations on string field node.

Sourcemodule Key : sig ... end

Operations on keys for string field

Sourcetype 'a t

type of string field node

Sourceval regex : 'a t -> bool
Sourceval insensible : 'a t -> bool
Sourceval key : 'a t -> Key.t
  • since 0.3.0
Sourceval value : 'a t -> 'a

value s returns the string value of s.

  • since 0.3.0
Sourceval init : bool -> bool -> Key.t -> 'a -> 'a t
  • since 0.3.0
Sourceval title : bool -> bool -> 'a -> 'a t

title regex insensible field is Title with regex and insensible options.

Sourceval sort_name : bool -> bool -> 'a -> 'a t

sort_name regex insensible field is SortName with regex and insensible options.

Sourceval artist : bool -> bool -> 'a -> 'a t

artist regex insensible field is Artist with regex and insensible options.

Sourceval album : bool -> bool -> 'a -> 'a t

album regex insensible field is Album with regex and insensible options.

Sourceval album_artist : bool -> bool -> 'a -> 'a t

album_artist regex insensible field is AlbumArtist with regex and insensible options.

Sourceval composer : bool -> bool -> 'a -> 'a t

composer regex insensible field is Composer with regex and insensible options.

Sourceval genre : bool -> bool -> 'a -> 'a t

title regex insensible field is Genre with regex and insensible options.

Sourceval path : bool -> bool -> 'a -> 'a t

path regex insensible field is Path with regex and insensible options.

Sourceval extension : bool -> bool -> 'a -> 'a t

extension regex insensible field is FileExtension with regex and insensible options.

Sourceval arbitrary : bool -> bool -> string -> 'a -> 'a t

artibrary regex insensible key value is Arbitrary with regex and insensible options.

  • since 0.3.0
Sourceval to_string : string t -> string

to_string field returns a string representation of field.

Sourceval to_sexp : string t -> string

to_sexp field returns a s-expression compatible string of field.