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 Details

    • 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>