没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
结帐 入门 :warning: Bavary目前不稳定,正在大力开发中。 API可能会更改,所有0.0.x版本都应视为测试/预览版本。 通过npm安装: $ npm install @bavary/core 通过纱线安装: $ yarn add @bavary/core 通过jsdelivr直接包含: < script src =" https://cdn.jsdelivr.net/npm/@bavary/core/lib/bavary.js " > </ script > 用法 import { compile } from '@bavary/core' ; // Compile definitions const parse = compile ( `['A' | 'B']` ) ; // Use compiled definitions to parse a string const parsed = parse ( 'A' ) ; // Logs "A" to the console console . log ( parsed ) ; 该函数compile接受
资源推荐
资源详情
资源评论
收起资源包目录
v::dna:类固醇的正则表达式。 使用语法解析所有内容-旨在解析语法。 一组正则表达式 (132个子文件)
.editorconfig 147B
.eslintrc 968B
.gitignore 1KB
webpack.config.js 2KB
package-lock.json 330KB
package.json 2KB
tsconfig.json 342B
tsconfig.build.json 179B
LICENSE 1KB
syntax.md 25KB
README.md 3KB
number.md 2KB
hex-color.md 1KB
config.md 1KB
string.md 813B
.nycrc 284B
conditional-statement.spec.ts 12KB
commands.spec.ts 8KB
scope.ts 6KB
scopes.spec.ts 6KB
spread.spec.ts 4KB
character-selection.spec.ts 4KB
types.ts 4KB
eval-binary-expression.ts 4KB
group.ts 3KB
statement.ts 3KB
exports.spec.ts 3KB
group.ts 3KB
location-data.spec.ts 3KB
combinators.spec.ts 3KB
node.ts 3KB
prettify-error.ts 3KB
arguments.spec.ts 3KB
binary-expression.ts 3KB
essentials.spec.ts 3KB
native-functions.spec.ts 3KB
token-stream.ts 3KB
serialization.spec.ts 2KB
resolve-reference.ts 2KB
types.spec.ts 2KB
error-messages.spec.ts 2KB
spread.ts 2KB
multiplier.ts 2KB
str.ts 2KB
token.ts 2KB
character-selection.ts 2KB
streamable.ts 2KB
literal.ts 2KB
define.ts 2KB
index.ts 2KB
groups.spec.ts 1KB
stream.spec.ts 1KB
conditional-statement.ts 1KB
native-function.ts 1KB
template-strings.spec.ts 1KB
member-expression.ts 1KB
remove.ts 1KB
serialize.ts 1KB
index.ts 1KB
declaration.ts 1KB
reference.ts 1KB
combinator.ts 1KB
function-call.ts 1KB
index.ts 1KB
number.spec.ts 1KB
eval-literal.ts 1KB
sequence.ts 1KB
index.ts 1KB
index.ts 1KB
reference.ts 1KB
tokenizer.spec.ts 1KB
eval-member-expression.ts 1KB
multiplier.ts 1KB
conditional-statement.ts 1KB
hex-color.spec.ts 1KB
num.ts 1KB
spread.ts 1010B
index.ts 994B
push.ts 924B
escaped.ts 857B
block.ts 854B
types.ts 850B
parsing-error.ts 829B
define.ts 757B
arguments.ts 731B
internal.ts 727B
tools.ts 720B
common-token.ts 707B
kw.ts 696B
punc.ts 694B
hex-character.ts 684B
string.ts 652B
character-selection.spec.ts 650B
unary-expression.ts 638B
strings.spec.ts 628B
void.ts 620B
octal-character.ts 611B
internal.ts 596B
common-tokens.ts 591B
conditional-statement.spec.ts 575B
共 132 条
- 1
- 2
资源评论
林John
- 粉丝: 39
- 资源: 4601
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功