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

# Class CBImportParser

java.lang.Object
com.io7m.cedarbridge.schema.parser.internal.CBImportParser

All Implemented Interfaces:
  `CBElementParserType<CBASTImport>`

public final class CBImportParser extends Object implements CBElementParserType<CBASTImport>
A parser for import declarations.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBImportParser()`
  A parser for import declarations.

- ## Method Summary

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

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CBImportParser

    public CBImportParser()
    A parser for import declarations.

- ## Method Details

  - ### parse

    public CBASTImport parse(CBParseContextType context, com.io7m.jsx.SExpressionType expression) throws CBParseFailedException
    Description copied from interface: `CBElementParserType`
    Parse an element.
    Specified by:
      `parse` in interface `CBElementParserType<CBASTImport>`
    Parameters:
      `context` - The context
      `expression` - The expression
    Returns:
      A parsed element
    Throws:
      `CBParseFailedException` - On parse errors