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

com.alibaba.simpleEL.dialect.tiny.ast.TinyELBooleanExpr Maven / Gradle / Ivy

The newest version!
package com.alibaba.simpleEL.dialect.tiny.ast;

import com.alibaba.simpleEL.dialect.tiny.visitor.TinyELAstVisitor;

public class TinyELBooleanExpr extends TinyELExpr {
	private boolean value;

	public TinyELBooleanExpr(boolean value) {
		this.value = value;
	}

	public boolean getValue() {
		return value;
	}

	public void setValue(boolean value) {
		this.value = value;
	}

	@Override
	protected void accept0(TinyELAstVisitor visitor) {
		visitor.visit(this);
		visitor.endVisit(this);
	}

	@Override
	public void output(StringBuffer buf) {
		buf.append(value ? "true" : "false");
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy