Interface UnrecognizedStatement

All Superinterfaces:
DeclaredStatement<Object>, ModelStatement<Object>, UnknownStatement<Object>
All Known Implementing Classes:
RefUnrecognizedStatement, UnrecognizedStatementImpl

public interface UnrecognizedStatement extends UnknownStatement<Object>
Common interface for unrecognized unknown statements. An UnrecognizedStatement is an instance of a statement defined via an extension statement, for which the parser did not have semantic support (in which case the statement would result in a corresponding semantic subclass of UnknownStatement).

This construct does not have a UnknownEffectiveStatement counterpart because we cannot reasonably build an effective model of something we do not recognize.

  • Method Details

    • argument

      Object argument()
      Returns statement argument.

      This method can return

      • String if the statement has an argument
      • Empty if the statement does not have an argument
      Specified by:
      argument in interface ModelStatement<Object>
      Returns:
      statement argument.