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

# Class CBFieldParser

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

All Implemented Interfaces:
  `CBElementParserType<CBASTField>`

public final class CBFieldParser extends Object implements CBElementParserType<CBASTField>
A field parser.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBFieldParser()`
  A field parser.

- ## Method Summary

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

  - ### CBFieldParser

    public CBFieldParser()
    A field parser.

- ## Method Details

  - ### parse

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