Expose identifier parser

This commit is contained in:
2020-05-04 18:07:39 +02:00
parent 82e98e5ec0
commit bdd5d0e583

View File

@@ -109,7 +109,7 @@ fn is_identifier_body_character(character: char) -> bool
}
}
pub(crate) fn identifier(input: &str) -> Option<(&str, &str)>
pub fn identifier(input: &str) -> Option<(&str, &str)>
{
let mut characters = input.char_indices();