Skip to main contentCrate sails_idl_ast
Source - codec
- Codec availability helpers for IDL annotations.
- AliasDef
- Alias definition backing a named alias type.
- CtorFunc
- Constructor function of a program, declared in
constructors { ... }. - EnumDef
- Enum definition backing a named enum type.
- EnumVariant
- Single variant of an enum or service event.
- FuncParam
- Function parameter used in constructors and service functions.
- IdlDoc
- Root AST node representing a single parsed Sails IDL document.
- InterfaceId
- Unique identifier for a service (or “interface” in terms of sails binary protocol).
- ProgramUnit
- AST node describing a
program block. - ServiceExpo
- Single service export entry inside a
program { services { ... } } section. - ServiceFunc
- Service function entry inside
service { functions { ... } }. - ServiceIdent
- ServiceUnit
- AST node describing a
service definition. - StructDef
- Struct definition backing a named type or an enum variant payload.
- StructField
- Field of a struct or of an enum variant payload.
- Type
- Top-level named type definition inside
types { ... } of a service or program. - TypeParameter
- Generic type parameter in a type definition.
- FunctionKind
- Function kind based on mutability.
- PrimitiveType
- Enumeration of all built-in primitive types supported by the IDL.
- TypeDecl
- Generalized type descriptor used throughout the AST.
- TypeDef
- Underlying definition of a named type: either a struct or an enum.
- Annotation
- ServiceEvent
- Service event is represented as an enum variant with an associated payload.