Uses of Interface
org.smtlib.IPos
Packages that use IPos
Package
Description
This package contains the main classes and abstract interfaces for this
SMT-LIB tool; the tool provides a stand-alone SMT-LIB-compliant command-line
application, an application that responds to SMT-LIB commands over a
network port, and an SMT-LIB Java API.
This package is an implementation of the interfaces defined in org.smtlib.
This package contains implementations of classes that implement the constraints of individual logics.
This package is a concrete implementation of a particular concrete syntax for the abstract SMT-LIB semantics.
This package implements various instances of org.smtlib.ISolver, which are
specific solvers that wrap and interact with various off-the-shelf SMT solvers
currently available.
-
Uses of IPos in org.smtlib
Fields in org.smtlib declared as IPosModifier and TypeFieldDescriptionprotected IPosIParser.ParserException.posThe location of the parsing problemIVisitor.VisitorException.posPosition information about the textual location of the errorMethods in org.smtlib that return IPosModifier and TypeMethodDescriptionISort.IErrorDefinition.errorPos()The source position of the errorIParser.ParserException.pos()Returns the error positionIPos.IPosable.pos()Textual position of this objectIResponse.IError.pos()Returns the textual location for the response, if available and applicable, otherwise null.IVisitor.VisitorException.pos()Methods in org.smtlib with parameters of type IPosModifier and TypeMethodDescriptionTypeChecker.checkFcn(SymbolTable symTable, IExpr.IIdentifier id, List<ISort> sorts, ISort result, IPos pos) ISort.IFactory.createErrorDefinition(IExpr.IIdentifier id, String errorMessage, IPos pos) Creates an error-placeholder definition (suppresses cascading errors).protected voidUtility method for recording an errorReads a logic file, parses it, validates the name, and checks the version.Utils.loadLogic(String logicName, SymbolTable symTable, IPos pos) Finds and loads a logic into the given symbol tablestatic StringLog.locationIndication(IPos pos, String prompt, SMT.Configuration smtConfig) Creates a two-line, compiler-style caret diagnostic pointing at the given position; the returned value does not have a final line termination.protected booleanTypeChecker.noVariables(List<?> list, String binder, IPos pos) Reports a binder with no variables; returns true if the list is emptystatic ISort.IFcnSortTypeChecker.resolveFcnSort(SymbolTable symTable, IExpr.IIdentifier id, List<ISort> sorts, ISort result, IPos pos, List<IResponse> errors) Checks a function signature as checkFcn does, adding any errors to errors; returns the signature with its sorts resolved in the current scope (so a sort parameter in scope becomes its IParameter), or null if there were errors.A set-logic the solver accepts ends sat or unsat mode; one it rejects (as SMT-LIB requires outside start mode) changes nothing.Sets the logic the solver should use.voidSetting the textual positionvoidConstructors in org.smtlib with parameters of type IPosModifierConstructorDescriptionParserException(String msg, IPos pos) Creates a parse exception from the given error message and problem locationSyntaxException(String msg, IPos pos) Creates an exception from the given error message and problem locationVisitorException(String msg, IPos pos) Constructor for an exceptionVisitorException(Throwable e, IPos pos) Constructor taking an exception -
Uses of IPos in org.smtlib.impl
Classes in org.smtlib.impl that implement IPosModifier and TypeClassDescriptionclassRepresents a range of characters in a source - used to indicate the location of errorsFields in org.smtlib.impl declared as IPosMethods in org.smtlib.impl that return IPosMethods in org.smtlib.impl with parameters of type IPosModifier and TypeMethodDescriptionFactory.createErrorDefinition(IExpr.IIdentifier id, String errorMessage, IPos pos) static IParser.ParserExceptionCommand.error(SMT.Configuration smt, String msg, IPos pos) Creates a ParserException with the given message and position.void<T extends IPos.IPosable>
TSetting the textual position of the commandConstructors in org.smtlib.impl with parameters of type IPosModifierConstructorDescriptionErrorDefinition(IExpr.IIdentifier id, String error, IPos pos) Creates an error placeholder for the given identifier, error message, and source position. -
Uses of IPos in org.smtlib.logic
Methods in org.smtlib.logic with parameters of type IPosModifier and TypeMethodDescriptionprotected voidLogic.checkArraySorts(ISort sort, IPos pos) Checks every Array sort within sort, expanding abbreviations, againstLogic.allowedArraySort(org.smtlib.ISort.IApplication). -
Uses of IPos in org.smtlib.sexpr
Fields in org.smtlib.sexpr declared as IPosModifier and TypeFieldDescriptionprotected IPosLexer.badWhitespaceThe position of a vertical tab or form feed, outside a comment, in the white space before the token last scanned, or null: \p{Space} reads them as white space, which SMT-LIB's white space is not; the Parser reports them (the Lexer reports nothing itself, #148)Methods in org.smtlib.sexpr that return IPosModifier and TypeMethodDescriptionILexToken.pos()The lexical position of the tokenLexer.IPLexToken.pos()Lexer.LexToken.pos()Lexer.pos(int start, int end) Creates an IPos object with the given start and end and the source for this LexerParser.pos(int start, int end) Returns an IPos object for the given character start and end positions and including a reference to the parser's source object.Returns an IPos object for the given character start and end positions and including a reference to the parser's source object.Lexer.skipThruRP()Reads and discards tokens until an unmatched right parenthesis or end-of-data is readMethods in org.smtlib.sexpr with parameters of type IPosModifier and TypeMethodDescriptionCreates a ParserException with the given message and position; callers should throw the result.Returns an IPos object for the given character start and end positions and including a reference to the parser's source object.protected static <T extends IPos.IPosable>
TA static helper method that sets the position of an AST node, but returns the same type -
Uses of IPos in org.smtlib.solvers
Methods in org.smtlib.solvers with parameters of type IPosModifier and TypeMethodDescriptionBitwuzla (0.9.1) accepts a second set-logic, which SMT-LIB forbids outside start mode, so that is reported here (--relax allows it).