mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
parent
bef2e3617d
commit
3a4f3c61d5
17 changed files with 196 additions and 16 deletions
|
|
@ -422,8 +422,9 @@ declare_syntax! {
|
|||
/// `[ type ]`
|
||||
ArrayType -> [ Type ],
|
||||
/// `struct Foo := { ... }
|
||||
StructDeclaration -> [DeclaredIdentifier, ObjectType],
|
||||
|
||||
StructDeclaration -> [DeclaredIdentifier, ObjectType, ?AtRustAttr],
|
||||
/// `@rust-attr(...)`
|
||||
AtRustAttr -> [],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue