/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
D | PrecompiledTemplateMapKey.java | 27 private final EscapeMode escapeMode; field in PrecompiledTemplateMapKey 30 public PrecompiledTemplateMapKey(Object templateName, EscapeMode escapeMode) { in PrecompiledTemplateMapKey() argument 32 this.escapeMode = escapeMode; in PrecompiledTemplateMapKey() 34 if (escapeMode == EscapeMode.ESCAPE_NONE) { in PrecompiledTemplateMapKey() 37 toStringName = templateName.toString() + "_" + escapeMode.getEscapeCommand(); in PrecompiledTemplateMapKey() 52 return templateName.equals(that.templateName) && (escapeMode == that.escapeMode); in equals() 59 hash = 31 * hash + escapeMode.hashCode(); in hashCode() 76 return escapeMode; in getEscapeMode()
|
D | PrecompiledTemplateLoader.java | 104 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() argument 106 PrecompiledTemplateMapKey mapKey = new PrecompiledTemplateMapKey(key, escapeMode); in load() 111 return nextLoader.load(templateName, resourceLoader, escapeMode); in load() 119 public Template createTemp(String name, String content, EscapeMode escapeMode) { in createTemp() argument 120 return nextLoader.createTemp(name, content, escapeMode); in createTemp()
|
D | PrecompiledTemplateMapFileReader.java | 117 EscapeMode escapeMode; in processTemplateMapFileLine() local 119 escapeMode = EscapeMode.ESCAPE_NONE; in processTemplateMapFileLine() 123 escapeMode = EscapeMode.computeEscapeMode(escapeCmd); in processTemplateMapFileLine() 129 PrecompiledTemplateMapKey key = new PrecompiledTemplateMapKey(templateName, escapeMode); in processTemplateMapFileLine()
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
D | LoadingTemplateFactory.java | 37 EscapeMode escapeMode) { in find() argument 41 return syntaxTreeBuilder.parse(reader, templateName, escapeMode); in find() 50 public TemplateSyntaxTree createTemp(String content, EscapeMode escapeMode) { in createTemp() argument 51 return syntaxTreeBuilder.parse(new StringReader(content), "", escapeMode); in createTemp()
|
D | OptimizingTemplateFactory.java | 58 public TemplateSyntaxTree createTemp(String content, EscapeMode escapeMode) { in createTemp() argument 59 TemplateSyntaxTree result = wrapped.createTemp(content, escapeMode); in createTemp() 66 EscapeMode escapeMode) { in find() argument 67 TemplateSyntaxTree result = wrapped.find(templateName, resourceLoader, escapeMode); in find()
|
D | InterpretedTemplateLoader.java | 51 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() argument 53 resourceLoader, escapeMode), templateName, globalFunctionExecutor, autoEscapeOptions, in load() 54 escapeMode); in load()
|
D | InterpretedTemplate.java | 44 private final EscapeMode escapeMode; field in InterpretedTemplate 53 this.escapeMode = mode; in InterpretedTemplate() 86 return escapeMode; in getEscapeMode()
|
D | TemplateFactory.java | 39 …TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in find() argument 48 TemplateSyntaxTree createTemp(String content, EscapeMode escapeMode); in createTemp() argument
|
/external/jsilver/src/com/google/clearsilver/jsilver/autoescape/ |
D | EscapeMode.java | 57 EscapeMode escapeMode; in computeEscapeMode() local 71 escapeMode = ESCAPE_AUTO; in computeEscapeMode() 73 escapeMode = ESCAPE_NONE; in computeEscapeMode() 75 return escapeMode; in computeEscapeMode()
|
D | AutoEscapeContext.java | 490 private final EscapeMode escapeMode; field in AutoEscapeContext.AutoEscapeState 494 this.escapeMode = mode; in AutoEscapeState() 502 return escapeMode; in getEscapeMode()
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
D | SyntaxTreeBuilder.java | 88 protected void process(Start root, EscapeMode escapeMode, String templateName) { in process() argument 95 if (!escapeMode.equals(EscapeMode.ESCAPE_NONE)) { in process() 98 root.apply(new AutoEscaper(escapeMode, templateName)); in process() 106 public TemplateSyntaxTree parse(Reader input, String templateName, EscapeMode escapeMode) in parse() argument 113 process(root, escapeMode, templateName); in parse()
|
D | AutoEscaper.java | 61 private final EscapeMode escapeMode; field in AutoEscaper 78 escapeMode = mode; in AutoEscaper() 100 if (!escapeMode.isAutoEscapingMode()) { in caseStart() 132 new AStringExpression(new TString("\"" + escapeMode.getEscapeCommand() + "\"")); in handleExplicitEscapeMode()
|
/external/jsilver/src/com/google/clearsilver/jsilver/ |
D | JSilverOptions.java | 43 private EscapeMode escapeMode = EscapeMode.ESCAPE_NONE; field in JSilverOptions 202 return escapeMode; in getEscapeMode() 217 public JSilverOptions setEscapeMode(EscapeMode escapeMode) { in setEscapeMode() argument 218 this.escapeMode = escapeMode; in setEscapeMode()
|
D | JSilver.java | 251 EscapeMode escapeMode = getEscapeMode(data); in render() local 252 render(templateLoader.load(templateName, resourceLoader, escapeMode), data, output, in render() 343 EscapeMode escapeMode = getEscapeMode(data); in renderFromContent() local 344 render(templateLoader.createTemp("[renderFromContent]", content, escapeMode), data, output); in renderFromContent() 370 EscapeMode escapeMode = in getEscapeMode() local 373 if (escapeMode.equals(EscapeMode.ESCAPE_NONE)) { in getEscapeMode() 374 escapeMode = options.getEscapeMode(); in getEscapeMode() 377 return escapeMode; in getEscapeMode()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | TemplateCompiler.java | 71 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() argument 72 return compile(templateFactory.find(templateName, resourceLoader, escapeMode), templateName, in load() 73 escapeMode); in load() 77 public Template createTemp(String name, String content, EscapeMode escapeMode) { in createTemp() argument 78 return compile(templateFactory.createTemp(content, escapeMode), name, escapeMode); in createTemp()
|
D | BaseCompiledTemplate.java | 49 private EscapeMode escapeMode = EscapeMode.ESCAPE_NONE; field in BaseCompiledTemplate 98 this.escapeMode = mode; in setEscapeMode() 103 return escapeMode; in getEscapeMode()
|
D | EscapingEvaluator.java | 97 JavaExpression escapeMode = computeEscaping(expression, true); in computeForPropagateStatus() local 101 JavaExpression.infix(JavaExpression.Type.BOOLEAN, "!=", escapeMode, JavaExpression in computeForPropagateStatus()
|
/external/jsilver/src/com/google/clearsilver/jsilver/values/ |
D | Value.java | 81 private final EscapeMode escapeMode; field in Value 83 public Value(EscapeMode escapeMode, boolean partiallyEscaped) { in Value() argument 84 this.escapeMode = escapeMode; in Value() 268 return escapeMode; in getEscapeMode()
|
D | StringValue.java | 30 public StringValue(String value, EscapeMode escapeMode, boolean partiallyEscaped) { in StringValue() argument 31 super(escapeMode, partiallyEscaped); in StringValue()
|
D | NumberValue.java | 30 public NumberValue(int value, EscapeMode escapeMode, boolean partiallyEscaped) { in NumberValue() argument 31 super(escapeMode, partiallyEscaped); in NumberValue()
|
D | VariantValue.java | 32 VariantValue(EscapeMode escapeMode, boolean partiallyEscaped) { in VariantValue() argument 33 super(escapeMode, partiallyEscaped); in VariantValue()
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
D | AbstractData.java | 28 protected EscapeMode escapeMode = EscapeMode.ESCAPE_NONE; field in AbstractData 137 this.escapeMode = mode; in setEscapeMode() 142 return escapeMode; in getEscapeMode()
|
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
D | TemplateLoader.java | 39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in load() argument 52 Template createTemp(String name, String content, EscapeMode escapeMode); in createTemp() argument
|