Skip to main content

LanguageQuantumParser

Trait LanguageQuantumParser 

Source
pub trait LanguageQuantumParser {
    // Required methods
    fn extract_quantum_nodes(&self, source: &str) -> Result<Vec<QuantumNode>>;
    fn score_importance(&self, node: &QuantumNode) -> f32;
}

Required Methods§

Source

fn extract_quantum_nodes(&self, source: &str) -> Result<Vec<QuantumNode>>

Extract semantically important nodes from source code

Source

fn score_importance(&self, node: &QuantumNode) -> f32

Score the importance of a node (0.0 to 1.0)

Implementors§