use serde::Serialize;
use crate::model::SourceLocation;
#[derive(Debug, Clone, Serialize)]
pub struct StringLiteralExpression {
pub value: String,
pub location: SourceLocation,
}
#[derive(Debug, Clone, Serialize)]
pub struct NumberLiteralExpression {
pub value: String,
pub location: SourceLocation,
}
#[derive(Debug, Clone, Serialize)]
pub struct CharLiteralExpression {
pub value: String, pub location: SourceLocation,
}
#[derive(Debug, Clone, Serialize)]
pub struct NullExpression {
pub location: SourceLocation,
}
#[derive(Debug, Clone, Serialize)]
pub struct BooleanExpression {
pub value: bool,
pub location: SourceLocation,
}
#[derive(Debug, Clone, Serialize)]
pub struct CommentExpression {
pub text: String,
pub location: SourceLocation,
}
#[derive(Debug, Clone, Serialize)]
pub struct GenericExpression {
pub text: String,
pub location: SourceLocation,
}