All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.prompto.parser.EParserFactory.js Maven / Gradle / Ivy

var antlr4 = require("antlr4/index");
var EIndentingLexer = require("./EIndentingLexer").EIndentingLexer;
var ECleverParser = require("./ECleverParser").ECleverParser;

exports.EParserFactory = function() {
	
	this.newLexer = function(data) {
		return new EIndentingLexer(new antlr4.InputStream(data));
	};

	this.newParser = function(path, data) {
		return new ECleverParser(path, data);
	};

};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy