TipSmtParser

gapt.formats.tip.parser.TipSmtParser
object TipSmtParser

Attributes

Source
TipSmtParser.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

Parses a TIP problem.

Parses a TIP problem.

Value parameters

input

The input to be parsed.

Attributes

Returns

The parsed TIP problem.

Source
TipSmtParser.scala

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.

Value parameters

sexps

The expressions to be parsed.

Attributes

Returns

The parsed TIP problem.

Source
TipSmtParser.scala

Parses a case expression.

Parses a case expression.

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

Value parameters

sexp

The expression to be parsed.

Attributes

Returns

The parsed case expression.

Source
TipSmtParser.scala

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.

Value parameters

sexp

The expression to be parsed.

Attributes

Returns

The parsed command.

Source
TipSmtParser.scala

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.

Value parameters

sexp

The expression to be parsed.

Attributes

Returns

The parsed expression.

Source
TipSmtParser.scala

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 ')'.

Value parameters

sexp

The expression to be parsed.

Attributes

Returns

The parsed if-then-else expression.

Source
TipSmtParser.scala

Parses a match expression.

Parses a match expression.

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

Value parameters

sexp

The expression to be parsed

Attributes

Returns

The parsed match expression.

Source
TipSmtParser.scala

Parses a pattern.

Parses a pattern.

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

Value parameters

sexp

The expression to be parsed.

Attributes

Returns

The parsed pattern.

Source
TipSmtParser.scala

Parses an identifier.

Parses an identifier.

An identifier is a symbol.

Value parameters

sexp

The expression to be parsed.

Attributes

Returns

The parsed identifier.

Source
TipSmtParser.scala

Parses a variable declaration.

Parses a variable declaration.

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

Value parameters

sexp

The expression to be parsed.

Attributes

Returns

The parsed variable declaration.

Source
TipSmtParser.scala