Z3
Data Structures | Public Member Functions | Static Public Member Functions | Data Fields
Z3_ast_kind Enum Reference

Public Member Functions

 Z3_ast_kind (int v)
 
final int toInt ()
 

Static Public Member Functions

static final Z3_ast_kind fromInt (int v)
 

Data Fields

 Z3_NUMERAL_AST =(0)
 
 Z3_APP_AST =(1)
 
 Z3_VAR_AST =(2)
 
 Z3_QUANTIFIER_AST =(3)
 
 Z3_SORT_AST =(4)
 
 Z3_FUNC_DECL_AST =(5)
 
 Z3_UNKNOWN_AST =(1000)
 

Detailed Description

Z3_ast_kind

Definition at line 13 of file Z3_ast_kind.java.

Constructor & Destructor Documentation

§ Z3_ast_kind()

Z3_ast_kind ( int  v)
inline

Definition at line 24 of file Z3_ast_kind.java.

24  {
25  this.intValue = v;
26  }

Member Function Documentation

§ fromInt()

static final Z3_ast_kind fromInt ( int  v)
inlinestatic

Definition at line 38 of file Z3_ast_kind.java.

Referenced by Expr.Expr(), AST.getASTKind(), and AST.getSExpr().

38  {
39  Z3_ast_kind k = Z3_ast_kind_MappingHolder.intMapping.get(v);
40  if (k != null) return k;
41  throw new IllegalArgumentException("Illegal value " + v + " for Z3_ast_kind");
42  }
Z3_ast_kind
The different kinds of Z3 AST (abstract syntax trees). That is, terms, formulas and types...
Definition: z3_api.h:183

§ toInt()

final int toInt ( )
inline

Definition at line 44 of file Z3_ast_kind.java.

44 { return this.intValue; }

Field Documentation

§ Z3_APP_AST

Z3_APP_AST =(1)

Definition at line 15 of file Z3_ast_kind.java.

Referenced by AST.isApp().

§ Z3_FUNC_DECL_AST

Z3_FUNC_DECL_AST =(5)

Definition at line 19 of file Z3_ast_kind.java.

Referenced by FuncDecl.Parameter.getParameterKind(), and AST.isFuncDecl().

§ Z3_NUMERAL_AST

Z3_NUMERAL_AST =(0)

Definition at line 14 of file Z3_ast_kind.java.

§ Z3_QUANTIFIER_AST

Z3_QUANTIFIER_AST =(3)

Definition at line 17 of file Z3_ast_kind.java.

Referenced by Expr.Expr(), AST.isQuantifier(), and Quantifier.of().

§ Z3_SORT_AST

Z3_SORT_AST =(4)

Definition at line 18 of file Z3_ast_kind.java.

Referenced by AST.isSort(), and Sort.toString().

§ Z3_UNKNOWN_AST

Z3_UNKNOWN_AST =(1000)

Definition at line 20 of file Z3_ast_kind.java.

§ Z3_VAR_AST

Z3_VAR_AST =(2)

Definition at line 16 of file Z3_ast_kind.java.

Referenced by Expr.Expr(), and AST.isVar().