pub trait GuestSyntaxRule: 'static {
// Required methods
fn get_flags(&self) -> SnytaxFlags;
fn get_language(&self) -> Language;
fn get_tag(&self) -> String;
fn get_rule_name(&self) -> String;
fn get_styles(&self) -> Vec<String>;
}
Required Methods§
fn get_flags(&self) -> SnytaxFlags
fn get_language(&self) -> Language
Sourcefn get_tag(&self) -> String
fn get_tag(&self) -> String
Labeling of nodes If this is a union node, tag represents branch tag If this is a class node, tag means node tag An empty string is equivalent to no tag