Remove char.is_identifier_single()
This commit is contained in:
parent
af73947ffd
commit
0675f17e32
3 changed files with 2 additions and 10 deletions
|
@ -15,7 +15,6 @@ pub trait Lexable {
|
|||
|
||||
fn is_identifier_initial(&self) -> bool;
|
||||
fn is_identifier_subsequent(&self) -> bool;
|
||||
fn is_identifier_single(&self) -> bool;
|
||||
fn is_identifier_delimiter(&self) -> bool;
|
||||
|
||||
fn is_boolean_true(&self) -> bool;
|
||||
|
@ -73,10 +72,6 @@ impl Lexable for char {
|
|||
charset::identifier_subsequents().contains(&self)
|
||||
}
|
||||
|
||||
fn is_identifier_single(&self) -> bool {
|
||||
charset::identifier_singles().contains(&self)
|
||||
}
|
||||
|
||||
fn is_identifier_delimiter(&self) -> bool {
|
||||
self.is_whitespace()
|
||||
|| self.is_comment_initial()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue