Class RecoverArchetypeId


  • public class RecoverArchetypeId
    extends Object
    • Constructor Detail

      • RecoverArchetypeId

        public RecoverArchetypeId()
    • Method Detail

      • 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)