org.jboss.aspects.dbc.condition.parser
Class ExpressionParser

java.lang.Object
  extended by org.jboss.aspects.dbc.condition.parser.ExpressionParser

public class ExpressionParser
extends Object

A very simple expression parser, for the reason that I really, really cannot get my head around defining grammars in JavaCC. If this grammar gets more complex I guess JavaCC is the way forward...

Version:
$Revision: 1.2.2.3 $
Author:
Kabir Khan

Constructor Summary
ExpressionParser()
           
 
Method Summary
static void doit(String str)
           
static void main(String[] args)
           
static Expression parseExpression(String expr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionParser

public ExpressionParser()
Method Detail

parseExpression

public static Expression parseExpression(String expr)

main

public static void main(String[] args)

doit

public static void doit(String str)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.