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

Examples of org.apache.imperius.spl.parser.compiler.symboltable.Symbol


             {
//               Symbol sym = _symTab.getSymbol(_classNameOrInstanceVariableName);
              
               // xiping's test 06/19/09
               // return value must be a PropertySymbol
               Symbol sym = (Symbol)_symTab.getSymbol(_classNameOrInstanceVariableName);
//              
                 intermediateObject = sym.getValue();
             }
             else
             {
                 intermediateObject = _symTab.getInstance(_classNameOrInstanceVariableName);
             }
View Full Code Here


      if (symTab.symbolExists(id1, recurse))
      {
//        TODO xiping
//        Collection c = symTab.getSymbol(id1);
        Symbol symbol = (Symbol)symTab.getSymbol(id1);
//        Symbol symbol = null;
        if (symbol instanceof MacroSymbol)
        {
          returnExpr = new MacroExpression((MacroSymbol) symbol,
              (ArrayList) pList, symTab);
View Full Code Here

        Iterator keySetIt = symbolMap.keySet().iterator();
        Iterator passedParamIt = passedParams2.iterator();
        while (keySetIt.hasNext() && passedParamIt.hasNext())
        {
            String symbolName = (String) keySetIt.next();
            Symbol sym = (Symbol) symbolMap.get(symbolName);
           
            Expression currentParam = (Expression) passedParamIt.next();
            Object value = currentParam.evaluate();
           //System.out.println("symbolName,value : "+symbolName+" "+ value);
            ((PropertySymbol) sym).setValue(value);
View Full Code Here

          // System.out.println("symTab.symbolExists(propName,
          // recurse)");

          //TODO xiping 06/21/09
//          Collection c = symTab.getSymbol(qualifiedPropertyName);
          Symbol sym = null;
//         
         
          _dataType.copy(sym.getType());

          if (sym instanceof MethodSymbol)
          {
            // System.out.println("sym instanceof MethodSymbol");
View Full Code Here

TOP

Related Classes of org.apache.imperius.spl.parser.compiler.symboltable.Symbol

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.