com.google.clearsilver.jsilver.compiler
Class JavaExpression.BooleanLiteralExpression

java.lang.Object
  extended by com.google.clearsilver.jsilver.compiler.JavaExpression
      extended by 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').


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.clearsilver.jsilver.compiler.JavaExpression
JavaExpression.BooleanLiteralExpression, JavaExpression.StringExpression, JavaExpression.Type
 
Field Summary
static JavaExpression.BooleanLiteralExpression FALSE
           
static JavaExpression.BooleanLiteralExpression TRUE
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FALSE

public static final JavaExpression.BooleanLiteralExpression FALSE

TRUE

public static final JavaExpression.BooleanLiteralExpression TRUE
Method Detail

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.