import Consts from '../../consts' ; import Item from './item' ; class Tag extends Item { isNormal ( ) { return ! this . isSpecial ( ) ; } isSpecial ( ) { return Item . is ( this . text , Consts . regexes . tagSpecial ) ; } static is ( str ) { return super . is ( str , Consts . regexes . tag ) ; } } export default Tag ;