test: tests for v-on transform
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import { SourceLocation, Position } from './ast'
|
||||
|
||||
export const isSimpleIdentifier = (name: string): boolean =>
|
||||
!/^\d|[^\w]/.test(name)
|
||||
|
||||
export function getInnerRange(
|
||||
loc: SourceLocation,
|
||||
offset: number,
|
||||
|
||||
Reference in New Issue
Block a user