Expose identifier parser
This commit is contained in:
parent
82e98e5ec0
commit
bdd5d0e583
@ -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();
|
let mut characters = input.char_indices();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user