Package com.io7m.cedarbridge.schema.parser.internal

# Interface CBElementParserType<T extends CBASTElementType>

Type Parameters:
  `T` - The precise type of AST element

All Known Implementing Classes:
  `CBDeclarationParser`, `CBDocumentationParser`, `CBFieldParser`, `CBImportParser`, `CBLanguageParser`, `CBPackageDeclarationParser`, `CBProtocolParser`, `CBRecordParser`, `CBTypeExpressionParser`, `CBVariantCaseParser`, `CBVariantParser`

public interface CBElementParserType<T extends CBASTElementType>
The type of element parsers.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `parse(CBParseContextType context, com.io7m.jsx.SExpressionType expression)`
  Parse an element.

- ## Method Details

  - ### parse

    T parse(CBParseContextType context, com.io7m.jsx.SExpressionType expression) throws CBParseFailedException
    Parse an element.
    Parameters:
      `context` - The context
      `expression` - The expression
    Returns:
      A parsed element
    Throws:
      `CBParseFailedException` - On parse errors