Package | Description |
---|---|
org.clafer.ast |
This package provides the language for building Clafer AST.
|
org.clafer.ast.analysis |
This package provides various analysis and optimizations to perform on the
AST.
|
Modifier and Type | Class and Description |
---|---|
class |
AstBoolArithm
foldl1 op operands.
|
class |
AstCompare |
class |
AstIfThenElse |
class |
AstMembership |
class |
AstNot
Negate a boolean expression.
|
class |
AstQuantify |
class |
AstSetTest |
Modifier and Type | Method and Description |
---|---|
AstConstraint |
AstPrimClafer.addConstraint(AstBoolExpr constraint)
Add a new constraint under this Clafer.
|
AstConstraint |
AstClafer.addConstraint(AstBoolExpr expr)
Add a new constraint under this Clafer.
|
static AstBoolExpr |
Asts.all(AstDecl[] decls,
AstBoolExpr body) |
static AstBoolExpr |
Asts.all(AstDecl decl,
AstBoolExpr body) |
static AstBoolExpr |
Asts.and(AstBoolExpr... operands) |
static AstBoolExpr |
Asts.arithm(AstBoolArithm.Op op,
AstBoolExpr... operands) |
static AstBoolExpr |
Asts.ifOnlyIf(AstBoolExpr... operands) |
static AstBoolExpr |
Asts.ifThenElse(AstBoolExpr antecedent,
AstBoolExpr consequent,
AstBoolExpr alternative) |
static AstSetExpr |
Asts.ifThenElse(AstBoolExpr antecedent,
AstSetExpr consequent,
AstSetExpr alternative) |
static AstBoolExpr |
Asts.implies(AstBoolExpr... operands) |
static AstBoolExpr |
Asts.lone(AstDecl[] decls,
AstBoolExpr body) |
static AstBoolExpr |
Asts.lone(AstDecl decl,
AstBoolExpr body) |
static AstBoolExpr |
Asts.none(AstDecl[] decls,
AstBoolExpr body) |
static AstBoolExpr |
Asts.none(AstDecl decl,
AstBoolExpr body) |
static AstBoolExpr |
Asts.not(AstBoolExpr expr) |
static AstBoolExpr |
Asts.one(AstDecl[] decls,
AstBoolExpr body) |
static AstBoolExpr |
Asts.one(AstDecl decl,
AstBoolExpr body) |
static AstBoolExpr |
Asts.or(AstBoolExpr... operands) |
static AstBoolExpr |
Asts.quantify(AstQuantify.Quantifier quantifier,
AstDecl[] decls,
AstBoolExpr body) |
static AstBoolExpr |
Asts.quantify(AstQuantify.Quantifier quantifier,
AstDecl decl,
AstBoolExpr body) |
AstBoolExpr[] |
AstExprRewriter.rewrite(AstBoolExpr[] exprs,
T t) |
AstBoolExpr |
AstExprRewriter.rewrite(AstBoolExpr expr,
T t) |
static AstBoolExpr |
Asts.some(AstDecl[] decls,
AstBoolExpr body) |
static AstBoolExpr |
Asts.some(AstDecl decl,
AstBoolExpr body) |
static AstBoolExpr |
Asts.xor(AstBoolExpr... operands) |
Constructor and Description |
---|
AstConstraint(AstClafer context,
AstBoolExpr expr) |
AstConstraint(AstClafer context,
AstBoolExpr expr,
boolean soft) |
AstQuantify(AstQuantify.Quantifier quantifier,
AstDecl[] decls,
AstBoolExpr body) |
Modifier and Type | Method and Description |
---|---|
AstBoolExpr |
Analysis.getExpr(AstConstraint constraint) |
Modifier and Type | Method and Description |
---|---|
Map<AstConstraint,AstBoolExpr> |
Analysis.getConstraintExprs() |
Modifier and Type | Method and Description |
---|---|
Analysis |
Analysis.setConstraintExprs(Map<AstConstraint,AstBoolExpr> constraintExprs) |
Copyright © 2013. All Rights Reserved.