circom-lsp-program-structure 2.1.5

Support crate for circom-lsp
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::ast::AssignOp;

impl AssignOp {
    pub fn is_signal_operator(self) -> bool {
        use AssignOp::*;
        match self {
            AssignConstraintSignal | AssignSignal => true,
            _ => false,
        }
    }
}