object TipSmtParser
- Source
- TipSmtParser.scala
- Alphabetic
- By Inheritance
- TipSmtParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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.
- def parse(input: InputFile): TipSmtProblem
Parses a TIP problem.
Parses a TIP problem.
- input
The input to be parsed.
- returns
The parsed TIP problem.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
This is the API documentation for GAPT.
The main package is gapt.