Package com.io7m.cedarbridge.schema.ast

# Interface CBASTElementType

All Superinterfaces:
  `com.io7m.jlexing.core.LexicalType<URI>`

All Known Subinterfaces:
  `CBASTDeclarationType`, `CBASTNameType`, `CBASTRecordMemberType`, `CBASTTypeDeclarationType`, `CBASTTypeExpressionType`, `CBASTVariantMemberType`

All Known Implementing Classes:
  `CBASTDocumentation`, `CBASTField`, `CBASTFieldName`, `CBASTImport`, `CBASTLanguage`, `CBASTPackageDeclaration`, `CBASTPackageName`, `CBASTPackageShortName`, `CBASTProtocolDeclaration`, `CBASTProtocolVersion`, `CBASTTypeApplication`, `CBASTTypeName`, `CBASTTypeNamed`, `CBASTTypeParameterName`, `CBASTTypeRecord`, `CBASTTypeVariant`, `CBASTTypeVariantCase`, `CBASTVariantCaseName`

public sealed interface CBASTElementType extends com.io7m.jlexing.core.LexicalType<URI> permits CBASTDeclarationType, CBASTField, CBASTNameType, CBASTTypeExpressionType
The base type of AST elements.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.io7m.jlexing.core.LexicalPosition<URI>`
  `lexical()`
  `CBASTMutableUserData`
  `userData()`

- ## Method Details

  - ### userData

    CBASTMutableUserData userData()
    Returns:
      The user data associated with the element

  - ### lexical

    com.io7m.jlexing.core.LexicalPosition<URI> lexical()
    Specified by:
      `lexical` in interface `com.io7m.jlexing.core.LexicalType<URI>`