MCPcopy Create free account
hub / github.com/daisy/MathCAT / Intent

Class Intent

src/speech.rs:513–518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511// the name is either a string or an xpath that needs evaluation. 99% of the time it is a string
512#[derive(Debug, Clone)]
513struct Intent {
514 name: Option<String>, // name of node
515 xpath: Option<MyXPath>, // alternative to directly using the string
516 id: Option<MyXPath>, // optional id attr (default to the id of the node being replaced)
517 children: ReplacementArray, // children of node
518}
519
520impl fmt::Display for Intent {
521 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {

Callers 1

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected