Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

CBML Parser

License

NotificationsYou must be signed in to change notification settings

cbml/cbmljs

Repository files navigation

NPM versionBuild StatusCoverage Status

CBML Parser

Struct

cbml

{"type":"block",// token type : "text" | "block" | "single""pos":7,// Starting position"endpos":333,// End position"value":"/*<jdists>*/.../*</jdists>*/",// All value // as "{{prefix}}" + "{{content}}" + "{{suffix}}""tag":"jdists",// tag name"language":"c",// language : "c" | "pascal" | "python" | "lua""attrs":{},"line":1,// Line Numbers"col":8// Column number"nodes":[       ...],"content":"...","prefix":"/*<jdists>*/","suffix":"/*</jdists>*/"}

Install

$ npm install --save cbml

Usage

varcbml=require('cbml');console.log(cbml.parse('/*<hello />*/'));
$ npm install --global cbml$ cbml --help

License

MIT ©zswang

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp