pub fn scan<'a, T: Into<&'a str>>(input: T) -> ScanResult {
    let mut scanner = Scanner::new(input.into());
    scanner.scan();
    ScanResult {
        tokens: scanner.output,
        diagnostics: scanner.diagnostics,
    }
}
/// Scans and tokenizes a string-like slide program.
Scans and tokenizes a string-like slide program.
Scans and tokenizes a string - like slide program .
pub fn scan<'a, T: Into<&'a str>>(input: T) -> ScanResult {
    let mut scanner = Scanner::new(input.into());
    scanner.scan();
    ScanResult {
        tokens: scanner.output,
        diagnostics: scanner.diagnostics,
    }
}
pub fn scan < ' a , T : Into < & ' a str > > ( input : T ) -> ScanResult { let mut scanner = Scanner :: new ( input . into ( ) ) ; scanner . scan ( ) ; ScanResult { tokens : scanner . output , diagnostics : scanner . diagnostics , } }
Scans and tokenizes a string-like slide program.
Scans and tokenizes a string - like slide program .
input
T
input
T