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

prompto.python.PythonParenthesisExpression Maven / Gradle / Ivy

The newest version!
package prompto.python;

import prompto.utils.CodeWriter;



public class PythonParenthesisExpression implements PythonExpression {

	PythonExpression expression;
	
	public PythonParenthesisExpression(PythonExpression expression) {
		this.expression = expression;
	}
	
	@Override
	public void toDialect(CodeWriter writer) {
		writer.append('(');
		expression.toDialect(writer);
		writer.append('(');
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy