fn symbol(&mut self) -> WeldResult<Symbol> {
        match *self.next() {
            TIdent(ref name) => Ok(Symbol::new(name.as_str(), 0)),
            ref other => compile_err!("Expected identifier but got {}", other.to_string()),
        }
    }
Parse a symbol starting at the current input position.
weld/src/syntax/parser.rs