add binary expression
This commit is contained in:
parent
1d00af88c0
commit
246cdbb8d2
3 changed files with 62 additions and 6 deletions
|
|
@ -25,3 +25,7 @@ export function isOctalChar(char: string) {
|
|||
export function isCompileBinding(input: string) {
|
||||
return input.startsWith("[") && input.endsWith("]")
|
||||
}
|
||||
|
||||
export function isHasBinding(input: string) {
|
||||
return /#\w+/.test(input)
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue