mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 21:49:31 +08:00
19 lines
377 B
Text
19 lines
377 B
Text
export const name = 'Value';
|
|
export const structure = {
|
|
children: [[]]
|
|
};
|
|
|
|
export function parse() {
|
|
const start = this.tokenStart;
|
|
const children = this.readSequence(this.scope.Value);
|
|
|
|
return {
|
|
type: 'Value',
|
|
loc: this.getLocation(start, this.tokenStart),
|
|
children
|
|
};
|
|
}
|
|
|
|
export function generate(node) {
|
|
this.children(node);
|
|
}
|