xshade_parser/ast/function_argument_declaration.rs
1use ::ast::*;
2
3#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
4pub struct FunctionArgumentDeclaration {
5 pub span: Span,
6 pub argument_name: Identifier,
7 pub argument_type_name: TypeIdentifier,
8}
9
10impl Spanned for FunctionArgumentDeclaration {
11 fn get_span(&self) -> Span {
12 self.span
13 }
14}