update parser docs
This commit is contained in:
parent
d360af2cd6
commit
be3edd8a62
@ -63,9 +63,6 @@ pub(crate) enum Stmt {
|
|||||||
Import(String),
|
Import(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// We could use a generic for the toks, but it makes the API
|
|
||||||
/// much simpler to work with if it isn't generic. The performance
|
|
||||||
/// hit (if there is one) is not important for now.
|
|
||||||
// todo: merge at_root and at_root_has_selector into an enum
|
// todo: merge at_root and at_root_has_selector into an enum
|
||||||
pub(crate) struct Parser<'a> {
|
pub(crate) struct Parser<'a> {
|
||||||
pub toks: &'a mut Lexer,
|
pub toks: &'a mut Lexer,
|
||||||
|
@ -10,6 +10,9 @@ use crate::{
|
|||||||
value::{SassFunction, Value},
|
value::{SassFunction, Value},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// A singular scope
|
||||||
|
///
|
||||||
|
/// Contains variables, functions, and mixins
|
||||||
#[derive(Debug, Default)]
|
#[derive(Debug, Default)]
|
||||||
pub(crate) struct Scope {
|
pub(crate) struct Scope {
|
||||||
pub vars: BTreeMap<Identifier, Value>,
|
pub vars: BTreeMap<Identifier, Value>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user