Class RecoverArchetypeId

java.lang.Object
org.ehrbase.aql.compiler.recovery.RecoverArchetypeId

public class RecoverArchetypeId extends Object
  • Constructor Details

    • RecoverArchetypeId

      public RecoverArchetypeId()
  • Method Details

    • isRecoverableArchetypeId

      public boolean isRecoverableArchetypeId(org.antlr.v4.runtime.RuleContext context, Object offendingSymbol)
      archetype id is potentially recoverable if it is a single quoted string. We check however, that the unquoted string is still a valid archetype id.
      Parameters:
      context -
      offendingSymbol -
      Returns:
    • recoverInvalidArchetypeId

      public String recoverInvalidArchetypeId(org.antlr.v4.runtime.RuleContext context, org.antlr.v4.runtime.CommonToken offendingSymbol)