Class RecoverArchetypeId
- java.lang.Object
-
- org.ehrbase.aql.compiler.recovery.RecoverArchetypeId
-
public class RecoverArchetypeId extends Object
-
-
Constructor Summary
Constructors Constructor Description RecoverArchetypeId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRecoverableArchetypeId(org.antlr.v4.runtime.RuleContext context, Object offendingSymbol)archetype id is potentially recoverable if it is a single quoted string.StringrecoverInvalidArchetypeId(org.antlr.v4.runtime.RuleContext context, org.antlr.v4.runtime.CommonToken offendingSymbol)
-
-
-
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)
-
-