Class ManchesterSyntacticError

java.lang.Object
it.uniroma2.art.semanticturkey.syntax.manchester.owl2.errors.ManchesterGenericError
it.uniroma2.art.semanticturkey.syntax.manchester.owl2.errors.ManchesterSyntacticError

public class ManchesterSyntacticError extends ManchesterGenericError
Class used for syntactic errors in a Manchester Expression (prefix used but not defined is considered a Syntactic error)
  • Constructor Details

    • ManchesterSyntacticError

      public ManchesterSyntacticError(String msg, int pos, String offendingTerm, List<String> exptectedTokenList)
    • ManchesterSyntacticError

      public ManchesterSyntacticError(String msg, String prefix, int pos)
  • Method Details

    • isSemanticError

      public boolean isSemanticError()
      Specified by:
      isSemanticError in class ManchesterGenericError
    • getPos

      public int getPos()
    • getOffendingTerm

      public String getOffendingTerm()
    • getExptectedTokenList

      public List<String> getExptectedTokenList()
    • getPrefix

      public String getPrefix()