io.vertx.codetrans.expression.IdentifierModel Maven / Gradle / Ivy
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