Package com.google.clearsilver.jsilver.compiler

Class Summary
BaseCompiledTemplate Base class providing help to generated templates.
CompilingClassLoader This is a Java ClassLoader that will attempt to load a class from a string of source code.
EscapingEvaluator Generates a JavaExpression to determine whether a given CS expression should be escaped before displaying.
ExpressionTranslator Translates a CS expression (from the AST) into an equivalent Java expression.
JavaExpression Represents a node of a Java expression.
JavaExpression.BooleanLiteralExpression A JavaExpression to represent boolean literal values ('true' or 'false').
JavaExpression.StringExpression  
JavaSourceWriter Simple API for generating Java source code.
TemplateCompiler Takes a template AST and compiles it into a Java class, which executes much faster than the intepreter.
TemplateTranslator Translates a JSilver AST into compilable Java code.
VariableTranslator Translates a variable name (e.g.
 

Enum Summary
JavaExpression.Type Simple type enumeration to allow us to compare the return types of expressions easily and cast expressions nicely.
 

Exception Summary
CompilingClassLoader.CompilerException Thrown when code cannot be compiled.
JSilverCompilationException Thrown when a template cannot be compiled.
 



Copyright © 2010-2012 Google. All Rights Reserved.