Package com.caucho.quercus.env

Examples of com.caucho.quercus.env.UnicodeBuilderValue


   */
  public int getConstantId(String name)
  {
    // php/3j12
    if (isUnicodeSemantics())
      return getConstantId(new UnicodeBuilderValue(name));
    else
      return getConstantId(new ConstStringValue(name));
  }
View Full Code Here


   * Creates a string.  Because these strings are typically Java
   * constants, they fit into a lru cache.
   */
  public UnicodeBuilderValue createUnicodeString(String name)
  {
    UnicodeBuilderValue value = _unicodeMap.get(name);

    if (value == null) {
      value = new UnicodeBuilderValue(name);

      _unicodeMap.put(name, value);
    }

    return value;
View Full Code Here

  public LiteralUnicodeExpr(Location location, String value)
  {
    super(location);
   
    _value = new UnicodeBuilderValue(value);
  }
View Full Code Here

TOP

Related Classes of com.caucho.quercus.env.UnicodeBuilderValue

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.