Class RecoverArchetypeId
java.lang.Object
org.ehrbase.aql.compiler.recovery.RecoverArchetypeId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisRecoverableArchetypeId(org.antlr.v4.runtime.RuleContext context, Object offendingSymbol) archetype id is potentially recoverable if it is a single quoted string.recoverInvalidArchetypeId(org.antlr.v4.runtime.RuleContext context, org.antlr.v4.runtime.CommonToken offendingSymbol)
-
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)
-