This is a simple parser for tagged comments.
Generic JSDoc-like comment parser
Create a JSON-friendly object from an SVG string
Unique tag for use in the type-fest Tagged type
Lint your commit messages
Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities
A very simple and stupid parser, based on a statemachine and regular expressions.
Parse math interval
The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.
Low footprint ECMAScript source code parser
Search CSS(-like) strings
Library to find elements in a dynamic web page
Gonzales Preprocessor Edition (fast CSS parser)
Regular Expressions parser in JavaScript
A utility package to parse strings
A JavaScript parser
A small utility to parse, match and generate paths
the mighty option parser used by yargs
Node.js body parsing middleware
An ESLint custom parser which leverages TypeScript ESTree
Parameterised tests for Jest
A module to parse color values
> Selector parser with built in methods for working with selector strings.
Parse a XML string into a proprietary syntax tree
This module encapsulates the API for tagal.us, a site which helps users define tags on twitter or other websites. The basic elements are tags, definitions, and comments - and these 3 objects can be written and read to/from tagal.us using this gem. There's just 6 useful methods - 3 that read, and 3 that write. This module uses the Carboni.ca XML base, which means you can set which XML parser it will use - simply use Tagalus.parser = :nokogiri # can be :nokogiri, :hpricot, :rexml, or :libxml to change the parser.
==== 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.