Class CATP1Package

java.lang.Object
com.io7m.cardant.type_packages.parsers.internal.CATP1Package
All Implemented Interfaces:
com.io7m.blackthorne.core.BTElementHandlerType<Object, CATypePackageDeclaration>

public final class CATP1Package extends Object implements com.io7m.blackthorne.core.BTElementHandlerType<Object, CATypePackageDeclaration>
A parser.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CATP1Package(com.io7m.blackthorne.core.BTElementParsingContextType context)
    A parser.
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<com.io7m.blackthorne.core.BTQualifiedName, com.io7m.blackthorne.core.BTElementHandlerConstructorType<?,?>>
    onChildHandlersRequested(com.io7m.blackthorne.core.BTElementParsingContextType context)
     
    void
    onChildValueProduced(com.io7m.blackthorne.core.BTElementParsingContextType context, Object result)
     
    onElementFinished(com.io7m.blackthorne.core.BTElementParsingContextType context)
     

    Methods inherited from class Object

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

    Methods inherited from interface com.io7m.blackthorne.core.BTElementHandlerType

    map, name, onCharacters, onElementStart, onShouldIgnoreUnrecognizedElements
  • Constructor Details

    • CATP1Package

      public CATP1Package(com.io7m.blackthorne.core.BTElementParsingContextType context)
      A parser.
      Parameters:
      context - The parse context
  • Method Details

    • onChildHandlersRequested

      public Map<com.io7m.blackthorne.core.BTQualifiedName, com.io7m.blackthorne.core.BTElementHandlerConstructorType<?,?>> onChildHandlersRequested(com.io7m.blackthorne.core.BTElementParsingContextType context)
      Specified by:
      onChildHandlersRequested in interface com.io7m.blackthorne.core.BTElementHandlerType<Object, CATypePackageDeclaration>
    • onChildValueProduced

      public void onChildValueProduced(com.io7m.blackthorne.core.BTElementParsingContextType context, Object result)
      Specified by:
      onChildValueProduced in interface com.io7m.blackthorne.core.BTElementHandlerType<Object, CATypePackageDeclaration>
    • onElementFinished

      public CATypePackageDeclaration onElementFinished(com.io7m.blackthorne.core.BTElementParsingContextType context)
      Specified by:
      onElementFinished in interface com.io7m.blackthorne.core.BTElementHandlerType<Object, CATypePackageDeclaration>