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

# Class CBLanguageParser

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

All Implemented Interfaces:
  `CBElementParserType<CBASTLanguage>`

public final class CBLanguageParser extends Object implements CBElementParserType<CBASTLanguage>
A parser for language declarations.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBLanguageParser()`
  A parser for language declarations.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBASTLanguage`
  `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

  - ### CBLanguageParser

    public CBLanguageParser()
    A parser for language declarations.

- ## Method Details

  - ### parse

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