Home
last modified time | relevance | path

Searched refs:StringExpression (Results 1 – 4 of 4) sorted by relevance

/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DVariableTranslator.java19 import static com.google.clearsilver.jsilver.compiler.JavaExpression.StringExpression;
73 components.add(new StringExpression(node.getWord().getText())); in caseANameVariable()
78 components.add(new StringExpression(node.getDecNumber().getText())); in caseADecNumberVariable()
83 components.add(new StringExpression(node.getHexNumber().getText())); in caseAHexNumberVariable()
114 private static final JavaExpression DOT = new StringExpression(".");
130 if (current instanceof StringExpression && last instanceof StringExpression) { in combineAdjacentStrings()
132 StringExpression currentString = (StringExpression) current; in combineAdjacentStrings()
133 StringExpression lastString = (StringExpression) last; in combineAdjacentStrings()
134 last = new StringExpression(lastString.getValue() + currentString.getValue()); in combineAdjacentStrings()
DJavaExpression.java244 return new StringExpression(value);
247 public static class StringExpression extends JavaExpression {
251 public StringExpression(String value) {
/external/icing/icing/scoring/advanced_scoring/
Dscore-expression.h154 class StringExpression : public ScoreExpression {
156 static std::unique_ptr<StringExpression> Create(std::string str) { in Create()
157 return std::unique_ptr<StringExpression>( in Create()
158 new StringExpression(std::move(str))); in Create()
173 explicit StringExpression(std::string str) : str_(std::move(str)) {} in StringExpression() function
Dscoring-visitor.cc33 stack_.push_back(StringExpression::Create(node->value())); in VisitString()