Skip to content

DSLBase

relationalai.semantics.frontend.base
DSLBase(model: Model)

Base class for semantics DSL objects.

DSLBase provides a unique, stable identity for objects in the semantics DSL and captures source information used to produce helpful error messages.

  • model

    (Model) - The model this object belongs to.

Most users should not instantiate this class directly. You typically work with subclasses such as Variable, Concept, and Fragment.

 semantics
├──  frontend
│   ├──  base
│   │   ├──  Aggregate
│   │   ├──  Alias
│   │   ├──  AsBool
│   │   ├──  Chain
│   │   ├──  Concept
│   │   ├──  Data
│   │   ├──  DerivedColumn
│   │   ├──  DerivedTable
│   │   ├──  Distinct
│   │   ├──  Expression
│   │   ├──  FieldRef
│   │   ├──  FilterBy
│   │   ├──  Fragment
│   │   ├──  Group
│   │   ├──  Literal
│   │   ├──  Match
│   │   ├──  New
│   │   ├──  Not
│   │   ├──  NumberConcept
│   │   ├──  Property
│   │   ├──  Reading
│   │   ├──  Ref
│   │   ├──  Relationship
│   │   ├──  Table
│   │   ├──  TableSchema
│   │   ├──  Union
│   │   └──  Variable
│   └──  core
│       └──  AnyNumber
└──  std
    ├──  aggregates
    │   └──  Per
    └──  re
        └──  RegexMatch