Examples of CharLiteral


Examples of lombok.ast.CharLiteral

        return;
      case BOOLEAN_LITERAL:
        set(node, new BooleanLiteral().astValue((Boolean)val));
        return;
      case CHAR_LITERAL:
        set(node, new CharLiteral().astValue((Character)val));
        return;
      case STRING_LITERAL:
        set(node, new StringLiteral().astValue(val == null ? "" : val.toString()));
        return;
      case NULL_LITERAL:
View Full Code Here

Examples of lombok.ast.CharLiteral

  public Node createStringLiteral(String raw) {
    return posify(new StringLiteral().rawValue(raw));
  }
 
  public Node createCharLiteral(String raw) {
    return posify(new CharLiteral().rawValue(raw));
  }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.ast.CharLiteral

          this.scanner.startPosition,
          this.scanner.currentPosition - 1));
      break;
    case TokenNameCharacterLiteral :
      pushOnExpressionStack(
        new CharLiteral(
          this.scanner.getCurrentTokenSource(),
          this.scanner.startPosition,
          this.scanner.currentPosition - 1));
      break;
    case TokenNameStringLiteral :
View Full Code Here

Examples of rocket.generator.rebind.codeblock.CharLiteral

      if (type == context.getDouble()) {
        literal = new DoubleLiteral(this.getDoubleValue());
        break;
      }
      if (type == context.getChar()) {
        literal = new CharLiteral(this.getCharValue());
        break;
      }

      // will default to String for List/Set/Map which wont have set the
      // propertyType of any StringValues
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.