pub trait LanguageQuantumParser {
// Required methods
fn extract_quantum_nodes(&self, source: &str) -> Result<Vec<QuantumNode>>;
fn score_importance(&self, node: &QuantumNode) -> f32;
}Required Methods§
Sourcefn extract_quantum_nodes(&self, source: &str) -> Result<Vec<QuantumNode>>
fn extract_quantum_nodes(&self, source: &str) -> Result<Vec<QuantumNode>>
Extract semantically important nodes from source code
Sourcefn score_importance(&self, node: &QuantumNode) -> f32
fn score_importance(&self, node: &QuantumNode) -> f32
Score the importance of a node (0.0 to 1.0)