homunculus
Advanced tools
Comparing version 1.4.3 to 1.5.0
{ | ||
"name": "homunculus", | ||
"version": "1.4.3", | ||
"version": "1.5.0", | ||
"description": "A lexer&parser by Javascript", | ||
@@ -22,2 +22,3 @@ "maintainers": [ | ||
"src/lexer/HtmlLexer", | ||
"src/lexer/AxmlLexer", | ||
"src/lexer/JSXLexer", | ||
@@ -27,2 +28,3 @@ "src/lexer/Token", | ||
"src/lexer/HtmlToken", | ||
"src/lexer/AxmlToken", | ||
"src/lexer/JSXToken", | ||
@@ -34,2 +36,3 @@ "src/lexer/match", | ||
"src/lexer/rule/HtmlRule", | ||
"src/lexer/rule/AxmlRule", | ||
"src/parser", | ||
@@ -53,3 +56,4 @@ "src/util/walk" | ||
"jsx", | ||
"csx" | ||
"csx", | ||
"axml" | ||
], | ||
@@ -56,0 +60,0 @@ "author": "army8735", |
@@ -7,2 +7,3 @@ var Lexer = require('./lexer/Lexer'); | ||
var CSXLexer = require('./lexer/CSXLexer'); | ||
var AxmlLexer = require('./lexer/AxmlLexer'); | ||
@@ -14,2 +15,3 @@ var EcmascriptRule = require('./lexer/rule/EcmascriptRule'); | ||
var HtmlRule = require('./lexer/rule/HtmlRule'); | ||
var AxmlRule = require('./lexer/rule/AxmlRule'); | ||
@@ -21,2 +23,3 @@ var Token = require('./lexer/Token'); | ||
var CSXToken = require('./lexer/CSXToken'); | ||
var AxmlToken = require('./lexer/AxmlToken'); | ||
@@ -29,2 +32,3 @@ var JsParser = require('./parser/js/Parser'); | ||
var CSXParser = require('./parser/csx/Parser'); | ||
var AxmlParser = require('./parser/axml/Parser'); | ||
@@ -37,2 +41,3 @@ var JsNode = require('./parser/js/Node'); | ||
var CSXNode = require('./parser/csx/Node'); | ||
var AxmlNode = require('./parser/axml/Node'); | ||
@@ -66,2 +71,4 @@ var JsContext = require('./parser/js/Context'); | ||
return HtmlLexer; | ||
case 'axml': | ||
return AxmlLexer; | ||
case 'jsx': | ||
@@ -93,2 +100,4 @@ return JSXLexer; | ||
return HtmlParser; | ||
case 'axml': | ||
return AxmlParser; | ||
case 'jsx': | ||
@@ -121,2 +130,4 @@ return JSXParser; | ||
return HtmlNode; | ||
case 'axml': | ||
return AxmlNode; | ||
case 'jsx': | ||
@@ -154,2 +165,4 @@ return JSXNode; | ||
return HtmlToken; | ||
case 'axml': | ||
return AxmlToken; | ||
case 'jsx': | ||
@@ -180,2 +193,4 @@ return JSXToken; | ||
return HtmlRule; | ||
case 'axml': | ||
return AxmlRule; | ||
case 'jsx': | ||
@@ -223,2 +238,4 @@ return EcmascriptRule; | ||
return new HtmlLexer(new HtmlRule()); | ||
case 'axml': | ||
return new AxmlLexer(new AxmlRule()); | ||
case 'jsx': | ||
@@ -253,2 +270,4 @@ return new JSXLexer(new EcmascriptRule()); | ||
return new HtmlParser(exports.getLexer(lan)); | ||
case 'axml': | ||
return new AxmlParser(exports.getLexer(lan)); | ||
case 'jsx': | ||
@@ -255,0 +274,0 @@ return new JSXParser(exports.getLexer(lan)); |
@@ -7,2 +7,3 @@ define(function(require, exports, module) {var Lexer = require('./lexer/Lexer'); | ||
var CSXLexer = require('./lexer/CSXLexer'); | ||
var AxmlLexer = require('./lexer/AxmlLexer'); | ||
@@ -14,2 +15,3 @@ var EcmascriptRule = require('./lexer/rule/EcmascriptRule'); | ||
var HtmlRule = require('./lexer/rule/HtmlRule'); | ||
var AxmlRule = require('./lexer/rule/AxmlRule'); | ||
@@ -21,2 +23,3 @@ var Token = require('./lexer/Token'); | ||
var CSXToken = require('./lexer/CSXToken'); | ||
var AxmlToken = require('./lexer/AxmlToken'); | ||
@@ -29,2 +32,3 @@ var JsParser = require('./parser/js/Parser'); | ||
var CSXParser = require('./parser/csx/Parser'); | ||
var AxmlParser = require('./parser/axml/Parser'); | ||
@@ -37,2 +41,3 @@ var JsNode = require('./parser/js/Node'); | ||
var CSXNode = require('./parser/csx/Node'); | ||
var AxmlNode = require('./parser/axml/Node'); | ||
@@ -66,2 +71,4 @@ var JsContext = require('./parser/js/Context'); | ||
return HtmlLexer; | ||
case 'axml': | ||
return AxmlLexer; | ||
case 'jsx': | ||
@@ -93,2 +100,4 @@ return JSXLexer; | ||
return HtmlParser; | ||
case 'axml': | ||
return AxmlParser; | ||
case 'jsx': | ||
@@ -121,2 +130,4 @@ return JSXParser; | ||
return HtmlNode; | ||
case 'axml': | ||
return AxmlNode; | ||
case 'jsx': | ||
@@ -154,2 +165,4 @@ return JSXNode; | ||
return HtmlToken; | ||
case 'axml': | ||
return AxmlToken; | ||
case 'jsx': | ||
@@ -180,2 +193,4 @@ return JSXToken; | ||
return HtmlRule; | ||
case 'axml': | ||
return AxmlRule; | ||
case 'jsx': | ||
@@ -223,2 +238,4 @@ return EcmascriptRule; | ||
return new HtmlLexer(new HtmlRule()); | ||
case 'axml': | ||
return new AxmlLexer(new AxmlRule()); | ||
case 'jsx': | ||
@@ -253,2 +270,4 @@ return new JSXLexer(new EcmascriptRule()); | ||
return new HtmlParser(exports.getLexer(lan)); | ||
case 'axml': | ||
return new AxmlParser(exports.getLexer(lan)); | ||
case 'jsx': | ||
@@ -255,0 +274,0 @@ return new JSXParser(exports.getLexer(lan)); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
791539
109
22689