examples/info_string
Types
pub type Argument {
ArgumentFlag(Flag)
ArgumentNamed(Named)
}
Constructors
-
ArgumentFlag(Flag)
-
ArgumentNamed(Named)
pub type EvalInfoString {
EvalInfoString(
language: String,
flags: List(Flag),
named: List(Named),
)
}
Constructors
-
EvalInfoString( language: String, flags: List(Flag), named: List(Named), )
Functions
pub fn get_language(info_string: String) -> Option(String)
pub fn info_string_parser() -> fn(Stream(String)) ->
Result(ParseSuccess(String, EvalInfoString), ParseError(String))
pub fn language_parser() -> fn(Stream(String)) ->
Result(ParseSuccess(String, Option(String)), ParseError(String))