Searched refs:JavaExpression (Results 1 – 6 of 6) sorted by relevance
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | JavaExpression.java | 30 public abstract class JavaExpression { class 39 protected JavaExpression cast(JavaExpression expression) { in cast() 48 protected JavaExpression cast(JavaExpression expression) { in cast() 57 protected JavaExpression cast(JavaExpression expression) { in cast() 66 protected JavaExpression cast(JavaExpression expression) { in cast() 76 protected JavaExpression cast(JavaExpression expression) { in cast() 88 protected JavaExpression cast(JavaExpression expression) { in cast() 89 final JavaExpression stringExpr = expression.cast(Type.STRING); in cast() 90 return new JavaExpression(Type.VAR_NAME) { in cast() 100 protected JavaExpression cast(JavaExpression expression) { in cast() [all …]
|
D | EscapingEvaluator.java | 19 import static com.google.clearsilver.jsilver.compiler.JavaExpression.BooleanLiteralExpression; 20 import static com.google.clearsilver.jsilver.compiler.JavaExpression.callOn; 21 import static com.google.clearsilver.jsilver.compiler.JavaExpression.string; 62 private JavaExpression currentEscapingExpression; 81 public JavaExpression computeIfExemptFromEscaping(PExpression expression, in computeIfExemptFromEscaping() 89 private JavaExpression computeForPropagateStatus(PExpression expression) { in computeForPropagateStatus() 97 JavaExpression escapeMode = computeEscaping(expression, true); in computeForPropagateStatus() 98 JavaExpression partiallyEscaped = computeEscaping(expression, false); in computeForPropagateStatus() 100 JavaExpression escapeModeCheck = in computeForPropagateStatus() 101 JavaExpression.infix(JavaExpression.Type.BOOLEAN, "!=", escapeMode, JavaExpression in computeForPropagateStatus() [all …]
|
D | TemplateTranslator.java | 20 import static com.google.clearsilver.jsilver.compiler.JavaExpression.BooleanLiteralExpression; 21 import static com.google.clearsilver.jsilver.compiler.JavaExpression.Type; 22 import static com.google.clearsilver.jsilver.compiler.JavaExpression.call; 23 import static com.google.clearsilver.jsilver.compiler.JavaExpression.callFindVariable; 24 import static com.google.clearsilver.jsilver.compiler.JavaExpression.callOn; 25 import static com.google.clearsilver.jsilver.compiler.JavaExpression.declare; 26 import static com.google.clearsilver.jsilver.compiler.JavaExpression.increment; 27 import static com.google.clearsilver.jsilver.compiler.JavaExpression.infix; 28 import static com.google.clearsilver.jsilver.compiler.JavaExpression.inlineIf; 29 import static com.google.clearsilver.jsilver.compiler.JavaExpression.integer; [all …]
|
D | VariableTranslator.java | 19 import static com.google.clearsilver.jsilver.compiler.JavaExpression.StringExpression; 20 import static com.google.clearsilver.jsilver.compiler.JavaExpression.Type; 21 import static com.google.clearsilver.jsilver.compiler.JavaExpression.literal; 44 private List<JavaExpression> components; 58 public JavaExpression translate(PVariable csVariable) { in translate() 61 components = new ArrayList<JavaExpression>(); in translate() 103 private List<JavaExpression> joinComponentsWithDots(List<JavaExpression> in) { in joinComponentsWithDots() 104 List<JavaExpression> out = new ArrayList<JavaExpression>(in.size() * 2); in joinComponentsWithDots() 105 for (JavaExpression component : in) { in joinComponentsWithDots() 114 private static final JavaExpression DOT = new StringExpression("."); [all …]
|
D | ExpressionTranslator.java | 19 import com.google.clearsilver.jsilver.compiler.JavaExpression.Type; 20 import static com.google.clearsilver.jsilver.compiler.JavaExpression.bool; 21 import static com.google.clearsilver.jsilver.compiler.JavaExpression.call; 22 import static com.google.clearsilver.jsilver.compiler.JavaExpression.callFindVariable; 23 import static com.google.clearsilver.jsilver.compiler.JavaExpression.callOn; 24 import static com.google.clearsilver.jsilver.compiler.JavaExpression.declare; 25 import static com.google.clearsilver.jsilver.compiler.JavaExpression.integer; 26 import static com.google.clearsilver.jsilver.compiler.JavaExpression.string; 78 private JavaExpression currentJavaExpression; 83 public JavaExpression translateToString(PExpression csExpression) { in translateToString() [all …]
|
D | JavaSourceWriter.java | 109 public void startAnonymousClass(String baseClass, JavaExpression... constructorArgs) { in startAnonymousClass() 115 for (JavaExpression constructorArg : constructorArgs) { in startAnonymousClass() 198 public void startIfBlock(JavaExpression expression) { in startIfBlock() 227 public void startIterableForLoop(String type, String name, JavaExpression expression) { in startIterableForLoop() 239 public void startForLoop(JavaExpression start, JavaExpression end, JavaExpression increment) { in startForLoop() 256 public void writeStatement(JavaExpression expression) { in writeStatement() 263 public void writeExpression(JavaExpression expression) { in writeExpression() 319 public void startField(String type, JavaExpression name) { in startField()
|