Parse EcmaScript 6 import statements with ease.
Yet another update... ```ts import { Parser } from "ms-utility"
``import Parser from './main'``
``import Parser from '....'``
This is an experiment in optimizing the parsing of Solidity files when the sole purpose is to get dependencies before sending it off to `solc` to compile. Thus, we rely on the compiler to detect any syntax errors, and in that case the library can return "
Parse CSS color values
Algorithms to help you parse CSS from an array of tokens.
Cross-browser Error parser
WebAssembly binary format parser
Support for `import <defer|source>` phase syntax in Acorn
WebAssembly text format printer
Streaming, source-agnostic EventSource/Server-Sent Events parser
Support for import attributes in acorn
A utility package to parse strings
Oxc Parser Node API
A JavaScript parser
The ESLint custom parser for `.vue` files.
the mighty option parser used by yargs
Parse raw conventional commits.
Node.js body parsing middleware
Parses set-cookie headers into objects
An ESLint custom parser which leverages TypeScript ESTree
WebAssembly text format parser
JSON, JSONC and JSON5 parser for use with ESLint plugins
Parses spreadsheets, validates its data against ActiveRecord model and instanciates valid data
Scheme Parser parse an XML/HTML document to hashly-structured format, prepared to import to a DB, or just serialize it and save it as is
==== QDox - http://qdox.codehaus.org QDox is a high speed, small footprint parser for extracting class/interface/method definitions from Java source files complete with JavaDoc @tags. It is designed to be used by active code generators or documentation tools. QDox is a Java library. Therefore this RubyGem needs JRuby. ==== Quickstart Step 1: Load your Java sources. In JRuby (or +jirb+) write: require 'qdox' builder = QDox::JavaDocBuilder.new builder.add_source_tree(java.io.File.new(".") (Source: http://qdox.codehaus.org/usage.html) Step 2: Inspect the source model. src = builder.sources.first pkg = src.package puts pkg.name # e.g. "com.bla.foo" imports = src.imports # => e.g. ["java.util.List", "java.util.Set"] some_class = src.classes.first # => a QDox::Model::JavaClass # output the javadoc comment for the first method in some_class puts some_class.methods.first.comment (Source: http://qdox.codehaus.org/model.html) As you may have noticed, the Java packages used have been aliased to shorter Ruby Module names: The Java package com.thoughtworks.qdox is the Ruby module QDox etc. ==== In a Nutshell A custom built parser has been built using JFlex and BYacc/J. These have been chosen because of their proven performance and they require no external libraries at runtime. The parser skims the source files only looking for things of interest such as class/interface definitions, import statements, JavaDoc and member declarations. The parser ignores things such as actual method implementations to avoid overhead (while in method blocks, curly brace counting suffices). The end result of the parser is a very simple document model containing enough information to be useful. ==== License Apache License, Version 2.0 QDox was created by Joe Walnes, Aslak Hellesoy, Paul Hammant, Mike Williams, Mauro Talevi, Robert Scholte, and others. The RubyGem was created by Benjamin Bock.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.