Struct combine_language::LanguageDef [] [src]

pub struct LanguageDef<IS, I, OS, O, CL, CS, CE> where
    I: Parser<Output = char>,
    IS: Parser<Input = I::Input, Output = char>,
    O: Parser<Input = I::Input, Output = char>,
    OS: Parser<Input = I::Input, Output = char>,
    CL: Parser<Input = I::Input, Output = ()>,
    CS: Parser<Input = I::Input, Output = ()>,
    CE: Parser<Input = I::Input, Output = ()>, 
{ pub ident: Identifier<IS, I>, pub op: Identifier<OS, O>, pub comment_line: CL, pub comment_start: CS, pub comment_end: CE, }

A struct type which contains the necessary definitions to construct a language parser

Fields

How to parse an identifier

How to parse an operator

Describes the start of a line comment

Describes the start of a block comment

Describes the end of a block comment