[][src]Trait hatter::SyntaxTrait

pub trait SyntaxTrait {
    fn is_word_char(&self) -> bool;
fn is_tag_opener(&self) -> bool;
fn is_op(&self) -> bool;
fn is_bracket(&self) -> bool; }

Helper method we add to char.

Required methods

fn is_word_char(&self) -> bool

fn is_tag_opener(&self) -> bool

fn is_op(&self) -> bool

fn is_bracket(&self) -> bool

Loading content...

Implementations on Foreign Types

impl SyntaxTrait for char[src]

fn is_word_char(&self) -> bool[src]

Is this char valid in a Syntax::Word?

fn is_tag_opener(&self) -> bool[src]

Is this valid in the opening section of a ?

fn is_op(&self) -> bool[src]

Operator?

fn is_bracket(&self) -> bool[src]

( ) [ ] { }

Loading content...

Implementors

Loading content...