com.google.clearsilver.jsilver.compiler
Class JavaExpression.BooleanLiteralExpression
java.lang.Object
com.google.clearsilver.jsilver.compiler.JavaExpression
com.google.clearsilver.jsilver.compiler.JavaExpression.BooleanLiteralExpression
- Enclosing class:
- JavaExpression
public static class JavaExpression.BooleanLiteralExpression
- extends JavaExpression
A JavaExpression to represent boolean literal values ('true' or 'false').
Method Summary |
boolean |
getValue()
|
void |
write(PrintWriter out)
Implementations use this to output the expression as Java code. |
Methods inherited from class com.google.clearsilver.jsilver.compiler.JavaExpression |
assign, bool, call, call, callFindVariable, callOn, callOn, cast, declare, getType, increment, infix, inlineIf, integer, integer, literal, macro, prefix, string, symbol, symbol, toString |
FALSE
public static final JavaExpression.BooleanLiteralExpression FALSE
TRUE
public static final JavaExpression.BooleanLiteralExpression TRUE
getValue
public boolean getValue()
write
public void write(PrintWriter out)
- Description copied from class:
JavaExpression
- Implementations use this to output the expression as Java code.
- Specified by:
write
in class JavaExpression
Copyright © 2010-2012 Google. All Rights Reserved.