magc 0.8.0

The Mag Language Compiler
Documentation
1
2
3
4
5
6
7
8
use crate::types::*;

/// An expression with a prefix operator.
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
pub struct Prefix {
    pub operator: Token,
    pub operand: Box<Expression>,
}