pub enum ExprToken {
}
Variants
LeftParen
‘(’
RightParen
‘)’
LeftBracket
‘[’
RightBracket
‘]’
Period
‘.’
ParentNode
‘..’
AtSign
‘@’
Comma
‘,’
LocationStep
‘::’
Axis(AxisName)
Number(f64)
Literal(String)
NameTest(NameTest)
NodeType(NodeType)
Operator(Operator)
FunctionName(String)
VariableReference(String)
Implementations
sourceimpl ExprToken
impl ExprToken
pub fn is_node_type(&self) -> bool
pub fn is_name_test(&self) -> bool
pub fn is_operator(&self) -> bool
pub fn is_axis(&self) -> bool
pub fn is_literal(&self) -> bool
pub fn is_number(&self) -> bool
pub fn is_function_name(&self) -> bool
Trait Implementations
impl StructuralPartialEq for ExprToken
Auto Trait Implementations
impl RefUnwindSafe for ExprToken
impl Send for ExprToken
impl Sync for ExprToken
impl Unpin for ExprToken
impl UnwindSafe for ExprToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more