o

gapt.formats.tip.parser

TipSmtParser

object TipSmtParser

Source
TipSmtParser.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TipSmtParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. def parse(sexps: Seq[SExpression]): TipSmtProblem

    Parses a TIP problem.

    Parses a TIP problem.

    A tip problem consists of a sequence of s-expressions. Each of these s-expressions represents a command.

    sexps

    The expressions to be parsed.

    returns

    The parsed TIP problem.

  15. def parse(input: InputFile): TipSmtProblem

    Parses a TIP problem.

    Parses a TIP problem.

    input

    The input to be parsed.

    returns

    The parsed TIP problem.

  16. def parseCase(sexp: SExpression): TipSmtCase

    Parses a case expression.

    Parses a case expression.

    A case expression is an s-expression of the form: case_expr ::= '(' "case" pattern expression ')'.

    sexp

    The expression to be parsed.

    returns

    The parsed case expression.

  17. def parseCommand(sexp: SExpression): TipSmtCommand

    Parses a command expression.

    Parses a command expression.

    A command expression is either a sort declaration, a datatypes declaration, a constant declaration, a function declaration, a function definition, an assertion, a goal, or a check sat expression.

    sexp

    The expression to be parsed.

    returns

    The parsed command.

  18. def parseExpression(sexp: SExpression): TipSmtExpression

    Parses an expression.

    Parses an expression.

    An expression is an s-expression of the form:

    expression ::= true
    | false
    | ite_expr
    | match_expr
    | forall_expr
    | exists_expr
    | '(' "or" expression expression ')'
    | '(' "and" expression expression ')'
    | '(' "=>" expression expression ')'
    | '(' "=" expression expression ')'
    | identifier
    | function_call,
    function_call ::= '(' function_name { expression } ')',
    function_name ::= symbol.
    sexp

    The expression to be parsed.

    returns

    The parsed expression.

  19. def parseIte(sexp: SExpression): TipSmtIte

    Parses an if-then-else expression.

    Parses an if-then-else expression.

    An if-then-else expression is an s-expression of the form: ite_expr ::= '(' "ite" expr expr expr ')'.

    sexp

    The expression to be parsed.

    returns

    The parsed if-then-else expression.

  20. def parseMatch(sexp: SExpression): TipSmtMatch

    Parses a match expression.

    Parses a match expression.

    A match expression is an s-expression of the form: match_expr ::= '(' "match" symbol { case_expr } ')'.

    sexp

    The expression to be parsed

    returns

    The parsed match expression.

  21. def parsePattern(sexp: SExpression): TipSmtPattern

    Parses a pattern.

    Parses a pattern.

    A pattern is an s-expression of the form: pattern ::= "default" | symbol | '(' symbol { symbol } ')'.

    sexp

    The expression to be parsed.

    returns

    The parsed pattern.

  22. def parseTipSmtIdentifier(sexp: SExpression): TipSmtIdentifier

    Parses an identifier.

    Parses an identifier.

    An identifier is a symbol.

    sexp

    The expression to be parsed.

    returns

    The parsed identifier.

  23. def parseTipSmtVarDecl(sexp: SExpression): TipSmtVariableDecl

    Parses a variable declaration.

    Parses a variable declaration.

    A variable declaration is an s-expression of the form: variable_declaration ::= '(' symbol type ')'.

    sexp

    The expression to be parsed.

    returns

    The parsed variable declaration.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped