All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.codetrans.expression.IdentifierModel Maven / Gradle / Ivy

There is a newer version: 4.1.0.Beta1
Show newest version
package io.vertx.codetrans.expression;

import io.vertx.codetrans.CodeBuilder;
import io.vertx.codetrans.CodeWriter;

/**
 * @author Julien Viet
 */
public class IdentifierModel extends ExpressionModel {

  public final String name;
  final VariableScope scope;

  public IdentifierModel(CodeBuilder builder, String name, VariableScope scope) {
    super(builder);
    this.name = name;
    this.scope = scope;
  }

  @Override
  public void render(CodeWriter writer) {
    writer.renderIdentifier(name, scope);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy