move Comment
enum to common
This commit is contained in:
parent
fd4073aaca
commit
b729d7b257
@ -113,3 +113,8 @@ impl BitOr<ContextFlag> for ContextFlags {
|
|||||||
Self(self.0 | rhs.0)
|
Self(self.0 | rhs.0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub(crate) enum Comment {
|
||||||
|
Silent,
|
||||||
|
Loud(String),
|
||||||
|
}
|
||||||
|
@ -26,7 +26,7 @@ use crate::{
|
|||||||
{Cow, Token},
|
{Cow, Token},
|
||||||
};
|
};
|
||||||
|
|
||||||
use common::{ContextFlags, NeverEmptyVec, SelectorOrStyle};
|
use common::{Comment, ContextFlags, NeverEmptyVec, SelectorOrStyle};
|
||||||
|
|
||||||
pub(crate) use value::{HigherIntermediateValue, ValueVisitor};
|
pub(crate) use value::{HigherIntermediateValue, ValueVisitor};
|
||||||
|
|
||||||
@ -43,11 +43,6 @@ mod throw_away;
|
|||||||
mod value;
|
mod value;
|
||||||
mod variable;
|
mod variable;
|
||||||
|
|
||||||
pub(crate) enum Comment {
|
|
||||||
Silent,
|
|
||||||
Loud(String),
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub(crate) enum Stmt {
|
pub(crate) enum Stmt {
|
||||||
RuleSet {
|
RuleSet {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user