Skip to content

Commit

Permalink
Added very simple parser framework that provides a very effective and…
Browse files Browse the repository at this point in the history
… lightweight system for building a parser with code. It is not as capable as a parser-generator (like ANTLR), but it is very easy to do even moderately-complex grammars, and very easy to debug.

git-svn-id: https://svn.jboss.org/repos/modeshape/trunk@1183 76366958-4244-0410-ad5e-bbfabb93f86b
  • Loading branch information
Randall Hauch committed Sep 2, 2009
1 parent 8fe4119 commit 75cd1cc
Show file tree
Hide file tree
Showing 6 changed files with 2,430 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dna-common/src/main/java/org/jboss/dna/common/CommonI18n.java
Expand Up @@ -90,6 +90,19 @@ public final class CommonI18n {
public static I18n requiredToSuppliedParameterMismatch;
public static I18n unableToAccessResourceFileFromClassLoader;

// TokenStream
public static I18n noMoreContent;
public static I18n noMoreContentButWasExpectingToken;
public static I18n unexpectedToken;
public static I18n noMoreContentButWasExpectingCharacter;
public static I18n unexpectedCharacter;
public static I18n noMoreContentButWasExpectingTokenType;
public static I18n unexpectedTokenType;
public static I18n startMethodMustBeCalledBeforeNext;
public static I18n startMethodMustBeCalledBeforeConsumingOrMatching;
public static I18n noMatchingDoubleQuoteFound;
public static I18n noMatchingSingleQuoteFound;

static {
try {
I18n.initialize(CommonI18n.class);
Expand Down

0 comments on commit 75cd1cc

Please sign in to comment.