fn scan_xhp_modifier_class_name(&mut self) -> TokenKind {
        // we don't want to allow xhp names with a : prefix here
        if self.peek_char(0) == ':' {
            self.with_error(Errors::error0008);
            TokenKind::ErrorToken
        } else {
            self.scan_xhp_class_no_dash();
            TokenKind::XHPClassName
        }
    }
// To support xhp class style class definitions we don't require a : prefix
To support xhp class style class definitions we don't require a : prefix
To support xhp class style class definitions we don ' t require a : prefix
fn scan_xhp_modifier_class_name(&mut self) -> TokenKind {
        // we don't want to allow xhp names with a : prefix here
        if self.peek_char(0) == ':' {
            self.with_error(Errors::error0008);
            TokenKind::ErrorToken
        } else {
            self.scan_xhp_class_no_dash();
            TokenKind::XHPClassName
        }
    }
fn scan_xhp_modifier_class_name ( & mut self ) -> TokenKind { // we don't want to allow xhp names with a : prefix here if self . peek_char ( 0 ) == ':' { self . with_error ( Errors :: error0008 ) ; TokenKind :: ErrorToken } else { self . scan_xhp_class_no_dash ( ) ; TokenKind :: XHPClassName } }
To support xhp class style class definitions we don't require a : prefix
To support xhp class style class definitions we don ' t require a : prefix
&mut self
&mut self