Skip to content

StructDef

StructDef: object

Generated from the TypeQLite grammar.

The $type name of StructDef nodes: StructDef.$type is 'StructDef', the name reflection.isInstance and a switch on node.$type use.

readonly $type: "StructDef" = 'StructDef'

readonly annotations: "annotations" = 'annotations'

readonly fields: "fields" = 'fields'

readonly name: "name" = 'name'

TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.