Package org.apache.imperius.spl.parser.compiler

Examples of org.apache.imperius.spl.parser.compiler.SPLTreeParser


    if (t == null)
    {
      return null;
    }

    SPLTreeParser tparse = new SPLTreeParser();
    tparse.setASTNodeClass("org.apache.imperius.spl.parser.compiler.ASTWithLineNumber");
    try
    {
      DataCollector dc = DataCollectorFactory.getDataCollector();
      SPLSymbolTable st = new SPLSymbolTable();
      SPLPolicy cp = tparse.splpolicy(t, dc, st);
      if(tparse.getErrorList() != null && tparse.getErrorList().size() > 0)
      {
        throw new SPLException(Messages.getString("SPL_POLICY_TREE_PARSING_EXCEPTION_MSG"));
      }
      logger.exiting(sourceClass, Thread.currentThread().getName() + " "
          + "doTreeAction");
View Full Code Here

TOP

Related Classes of org.apache.imperius.spl.parser.compiler.SPLTreeParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.