Struct boreal_parser::VariableDeclaration
source · pub struct VariableDeclaration {
pub name: String,
pub value: VariableDeclarationValue,
pub modifiers: VariableModifiers,
pub span: Range<usize>,
}Expand description
String declared in a rule.
Fields§
§name: StringName of the string.
value: VariableDeclarationValueValue of the string.
modifiers: VariableModifiersModifiers for the string.
span: Range<usize>Span for the whole declaration
Trait Implementations§
source§impl Clone for VariableDeclaration
impl Clone for VariableDeclaration
source§fn clone(&self) -> VariableDeclaration
fn clone(&self) -> VariableDeclaration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more