xshade-parser 0.1.0

Parser and untyped AST for the xshade language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[macro_use]
use ::ast::*;

#[derive(Debug, Eq, PartialEq)]
pub struct FieldAccessorExpression {
    pub span: Span,
    pub variable_name: Identifier,
    pub field_name: Identifier,
}

impl Spanned for FieldAccessorExpression {
    fn get_span(&self) -> Span {
        self.span
    }
}