knave-expand 0.14.22

The reading, scoping and expansion stages of knave
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::reader::Form;
use crate::source::Span;

pub trait SourceQueries {
    fn form_location(&self, form: &Form) -> String;
    fn in_tasks_directory(&self, form: &Form) -> bool;
    fn read_literal_form(
        &self,
        literal: Span,
        value: &str,
        character: usize,
    ) -> Option<(Form, usize)>;
}