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

com.firefly.template.parser.StatementIf Maven / Gradle / Ivy

The newest version!
package com.firefly.template.parser;

public class StatementIf extends StatementExpression {

	@Override
	public void parse(String content, JavaFileBuilder javaFileBuilder) {
		writePrefix(javaFileBuilder);
		content = content.trim();
		javaFileBuilder.write(parse(content));
		javaFileBuilder.write("){\n");
		javaFileBuilder.getPreBlank().append('\t');
	}

	protected void writePrefix(JavaFileBuilder javaFileBuilder) {
		javaFileBuilder.write(javaFileBuilder.getPreBlank() + "if (");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy