Package com.sun.tahiti.grammar

Examples of com.sun.tahiti.grammar.PrimitiveItem


    visitedExps.add(e);
    return e;
  }
 
  public Expression onAnyString() {
    return new PrimitiveItem( StringType.theInstance,
      pool.createData(StringType.theInstance) );
  }
View Full Code Here


      return (Expression)primitiveItems.get(exp);
    else {
      // if this is the first time, wrap it and memorize it.
      Datatype dt = exp.getType();
     
      PrimitiveItem p = new PrimitiveItem(
        (dt instanceof DatabindableDatatype)?(DatabindableDatatype)dt:null,
        (Expression)exp);
      primitiveItems.put( exp, p );
      return p;
    }
View Full Code Here

TOP

Related Classes of com.sun.tahiti.grammar.PrimitiveItem

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.