Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

recore/vx-ast-parser

Repository files navigation

vx-ast-parser

AST Parser for VisionX

Fork from @babel/parser

Install

tnpm install --save vx-ast-parser

Usage

const parser = require('vx-ast-parser');

const ast = parser.parse(visionxCode, {
  jsxTopLevel: true,
  plugins: [
    'jsx',
    'optionalChaining',
    'decorators',
    'objectRestSpread',
    'pipelineOperator',
  ]
});

About

AST parser for VisionX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published