A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/asterjs/aster-parse below:

asterjs/aster-parse: Centralized code parsing for aster.

Centralized code parsing for aster.

This is mostly internal module that you don't want to use directly but rather as part of aster-src. However, you should use it directly when developing bindings for external build systems.

Type: Boolean Default: true

Location tracking (required for source maps; common option for all the parsers).

Any other options for parsers being used (see corresponding documentation of each parser).

parse.registerParser(extension, parser)

Method for registering parser as processor for any files with given extension:

var parse = require('aster-parse');
parse.registerParser('.coffee', require('aster-parse-coffee'));

Please note that parsers published under name in format 'aster-parse-<extension>' do not require explicit registration.

MIT License


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4