Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SkymanOne committed Mar 27, 2024
1 parent 4ebbbcd commit 18e8948
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/verifier/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use z3::{
Solver,
};

/// A declaration in the code AST.
pub struct Declaration<'ctx> {
/// Info about the declaration
pub decl_sym: GlobalSymbol,
Expand All @@ -19,6 +20,7 @@ pub struct Declaration<'ctx> {
pub block: ConstraintBlock<'ctx>,
}

/// A singular constraint.
#[derive(Debug, Clone)]
pub struct Constraint<'ctx> {
/// Location of the constraint in the original code.
Expand All @@ -39,8 +41,7 @@ impl<'ctx> Constraint<'ctx> {
}
}

// impl build_

/// Block of constraints of to be verified.
#[derive(Debug, Clone)]
pub struct ConstraintBlock<'ctx> {
/// Solver which is scoped to the specific constraint block.
Expand Down

0 comments on commit 18e8948

Please sign in to comment.