gulp-jison-lex
Jison-lex plugin for gulp
Installation
You can install gulp-jison-lex via npm install
:
npm install gulp-jison-lex
Example
var gulp = ;var jisonLex = ; gulp;
Usage
jisonLex([options])
gulp-jison-lex currently supports the options below:
Boolean json
: Parses the input files as JSON files (Default:false
)String outFile
: Output file path (Default:<input_file_name>.js
)String moduleName
: The name of the module to generate (Default:lexer
)String moduleType
: The type of the module to generate. Can be eitherjs
,amd
orcommonjs
(Default:js
)
Template
gulp-jison-lex supports templates (see gutil.template). Currently supported variables:
Object file
Object path
Example
var gulp = ;var jisonLex = ; gulp;
License
See LICENSE.