mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Add export { ... } from "....slint";
syntax. (#5533)
This commit is contained in:
parent
033e4de9b9
commit
66370b6bda
35 changed files with 324 additions and 434 deletions
|
@ -411,13 +411,13 @@ declare_syntax! {
|
|||
/// There is an identifier "in" or "out", the DeclaredIdentifier is the state name
|
||||
Transition -> [?DeclaredIdentifier, *PropertyAnimation],
|
||||
/// Export a set of declared components by name
|
||||
ExportsList -> [ *ExportSpecifier, ?Component, *StructDeclaration, *ExportModule, *EnumDeclaration ],
|
||||
ExportsList -> [ *ExportSpecifier, ?Component, *StructDeclaration, ?ExportModule, *EnumDeclaration ],
|
||||
/// Declare the first identifier to be exported, either under its name or instead
|
||||
/// under the name of the second identifier.
|
||||
ExportSpecifier -> [ ExportIdentifier, ?ExportName ],
|
||||
ExportIdentifier -> [],
|
||||
ExportName -> [],
|
||||
/// `export * from "foo"`. The import uri is stored as string literal.
|
||||
/// `export ... from "foo"`. The import uri is stored as string literal.
|
||||
ExportModule -> [],
|
||||
/// import { foo, bar, baz } from "blah"; The import uri is stored as string literal.
|
||||
ImportSpecifier -> [ ?ImportIdentifierList ],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue