/
githubmirror
/
sway
Обзор
Документация
Войти
/
githubmirror
/
sway
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
sway-ast/src/lib.rs
57 строк
2 KB
Igor Rončević
Defining, parsing, and checking `#[attribute]`s (#6986)
24 мар 2025, 01:34
Не верифицирован
24 мар 2025, 01:34
74282e2
Код
Авторство
О чём код?
pub mod assignable; pub mod attribute; pub mod brackets; pub mod expr; pub mod generics; pub mod intrinsics; mod item; pub mod keywords; pub mod literal; pub mod module; pub mod path; pub mod pattern; mod priv_prelude; pub mod punctuated; pub mod statement; pub mod submodule; pub mod token; pub mod ty; pub mod where_clause; pub use crate::{ assignable::Assignable, attribute::AttributeDecl, brackets::{AngleBrackets, Braces, Parens}, expr::{ asm::{AsmBlock, AsmRegisterDeclaration}, op_code::Instruction, AbiCastArgs, CodeBlockContents, Expr, ExprArrayDescriptor, ExprStructField, ExprTupleDescriptor, IfCondition, IfExpr, MatchBranch, MatchBranchKind, }, generics::{GenericArgs, GenericParams}, intrinsics::*, item::{ item_abi::ItemAbi, item_configurable::{ConfigurableField, ItemConfigurable}, item_const::ItemConst, item_enum::ItemEnum, item_fn::ItemFn, item_impl::{ImplItemParent, ItemImpl, ItemImplItem}, item_storage::{ItemStorage, StorageEntry, StorageField}, item_struct::ItemStruct, item_trait::{ItemTrait, ItemTraitItem, Traits}, item_type_alias::ItemTypeAlias, item_use::{ItemUse, UseTree}, FnArg, FnArgs, FnSignature, Item, ItemKind, TraitType, TypeField, }, keywords::{CommaToken, DoubleColonToken, PubToken}, literal::{LitInt, LitIntType, Literal}, module::{Module, ModuleKind}, path::{PathExpr, PathExprSegment, PathType, PathTypeSegment, QualifiedPathRoot}, pattern::{Pattern, PatternStructField}, punctuated::Punctuated, statement::{Statement, StatementLet}, submodule::Submodule, ty::Ty, where_clause::{WhereBound, WhereClause}, };