Evan You
a60ad9180d
refactor: swap to new template parser
...
- get rid of SourceLocation.source for memory efficiency
- move source location generation logic transform phase into the parser
itself so that SourceLocation.source is no longer needed
- move v-for expression parsing into the parser itself
- added nameLoc on AttributeNode for use in transformElement
Tests are not passing yet.
2023-11-25 16:18:29 +08:00
Evan You
65b44045ef
wip: parse mode
2023-11-25 16:18:29 +08:00
Evan You
66c0ed0a3c
perf: optimize away isBuiltInType
2023-11-25 16:18:29 +08:00
Evan You
bc170c49fc
chore: disable parser tests for now
2023-11-25 16:18:29 +08:00
Evan You
59e38f18d8
wip: parseMode
2023-11-25 16:18:29 +08:00
Evan You
ae6fba9495
perf: optimize makeMap
2023-11-25 16:18:29 +08:00
Evan You
81e941da5b
wip: getting ready for textmode handling
2023-11-25 16:18:29 +08:00
Evan You
5a855c57d7
wip: comments
2023-11-25 16:18:29 +08:00
Evan You
a12abe72bc
wip: refine element type
2023-11-25 16:18:29 +08:00
Evan You
c342433cb5
wip: v-pre handling
2023-11-25 16:18:29 +08:00
Evan You
1a1f680536
wip: pre tag handling
2023-11-25 16:18:29 +08:00
Evan You
5762288bdf
wip: parse interpolation
2023-11-25 16:18:29 +08:00
Evan You
70edd1c61e
wip: check duplicated attributes
2023-11-25 16:18:29 +08:00
Evan You
ec33e61e87
wip: remove htmlMode
2023-11-25 16:18:29 +08:00
Evan You
db085b4a79
wip: remove foreignContext check
2023-11-25 16:18:29 +08:00
Evan You
65c0b31148
wip: modifiers
2023-11-25 16:18:29 +08:00
Evan You
b81415ceac
wip: source location for props
2023-11-25 16:18:29 +08:00
Evan You
08038a938c
wip: parse directive in tokenizer
2023-11-25 16:18:29 +08:00
Evan You
622d34efe1
wip: optimize condenseWhitespace
2023-11-25 16:18:29 +08:00
Evan You
9aa8effec3
wip: parse directives
2023-11-25 16:18:29 +08:00
Evan You
f131a4723b
wip: loc for elements
2023-11-25 16:18:29 +08:00
Evan You
f7db16b9cf
wip: refactor line / column generation
2023-11-25 16:18:29 +08:00
Evan You
6311ebbf32
wip: save
2023-11-25 16:18:29 +08:00
Evan You
19bd714239
wip: port parser
2023-11-25 16:18:29 +08:00
Evan You
2a6292e37f
wip: remove unused options
2023-11-25 16:18:29 +08:00
Evan You
bc37eae8b0
wip: strip xmlMode / htmlMode
2023-11-25 16:18:29 +08:00
Evan You
5b9141cc30
wip: setup
2023-11-25 16:18:29 +08:00
Evan You
069f838691
release: v3.3.9
2023-11-25 16:11:31 +08:00
三咲智子 Kevin Deng
7e85be836a
refactor: root id
2023-11-24 20:41:46 +08:00
三咲智子 Kevin Deng
91e7f9bb83
feat: dynamic root node
2023-11-24 20:29:05 +08:00
三咲智子 Kevin Deng
acec2409c7
test: add unit tests for directives
2023-11-24 20:03:28 +08:00
三咲智子 Kevin Deng
74031bac34
fix: remove get children when no dynamic node
2023-11-24 19:57:20 +08:00
三咲智子 Kevin Deng
b70aa0a9a0
feat: v-cloak
2023-11-24 15:40:38 +08:00
三咲智子 Kevin Deng
c9beaf6916
feat: v-pre
2023-11-24 15:37:49 +08:00
三咲智子 Kevin Deng
0d8cc43482
chore: update todo
2023-11-24 15:34:40 +08:00
三咲智子 Kevin Deng
7ddf69e6e9
feat: once
2023-11-24 15:25:34 +08:00
三咲智子 Kevin Deng
0b07affe0b
fix: typo
2023-11-24 15:02:47 +08:00
三咲智子 Kevin Deng
30ba8daeb2
fix: self closing tag
2023-11-24 14:59:10 +08:00
三咲智子 Kevin Deng
dc3bc7016e
feat: v-text
2023-11-24 14:48:51 +08:00
三咲智子 Kevin Deng
74b4328337
feat: v-html
2023-11-24 14:44:57 +08:00
三咲智子 Kevin Deng
567feccb39
chore: add todo comment
2023-11-24 11:42:16 +08:00
三咲智子 Kevin Deng
1d5436fbf8
chore: update readme
2023-11-24 11:15:39 +08:00
三咲智子 Kevin Deng
e44d616c80
chore: codegen
2023-11-24 11:15:33 +08:00
三咲智子 Kevin Deng
d02629efa2
refactor: helpers, import type, cleanup
2023-11-24 11:07:31 +08:00
三咲智子 Kevin Deng
79fc4025c3
fix: ts error
2023-11-23 23:56:32 +08:00
三咲智子 Kevin Deng
c347c02062
test: counter
2023-11-23 23:46:21 +08:00
三咲智子 Kevin Deng
d21fd83a6d
Merge remote-tracking branch 'upstream/main'
2023-11-23 23:44:07 +08:00
三咲智子 Kevin Deng
cd768d262f
refactor: tidy
2023-11-23 23:43:19 +08:00
三咲智子 Kevin Deng
1d2f66e111
feat: binding
2023-11-23 23:42:16 +08:00
Carlos Rodrigues
1c525f75a3
types: support app.component to be `defineComponent` ( #9662 )
2023-11-22 22:18:02 +08:00