ocelot-ast 0.1.2

Abstract syntax tree types for the ocelot project
Documentation
1
2
3
4
5
6
7
8
9
use crate::identifier_expression::IdentifierExpression;
use crate::string_literal_expression::StringLiteralExpression;

/// Variants of expressions supported by the current AST scaffold.
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum ExpressionKind {
    Identifier(IdentifierExpression),
    StringLiteral(StringLiteralExpression),
}