/external/jsilver/src/com/google/clearsilver/jsilver/functions/operators/ |
D | SubtractFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(0 - value.asNumber(), value); in execute() 35 return literalConstant(left.asNumber() - right.asNumber(), left, right); in execute()
|
D | ExistsFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 30 return literalConstant(value.exists(), value); in execute()
|
D | NotFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 30 return literalConstant(!value.asBoolean(), value); in execute()
|
D | NumericFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 30 return literalConstant(value.asNumber(), value); in execute()
|
D | NotEqualFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(!left.equals(right), left, right); in execute()
|
D | EqualFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.equals(right), left, right); in execute()
|
D | GreaterOrEqualFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() >= right.asNumber(), left, right); in execute()
|
D | AndFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asBoolean() && right.asBoolean(), left, right); in execute()
|
D | DivideFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() / right.asNumber(), left, right); in execute()
|
D | GreaterFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() > right.asNumber(), left, right); in execute()
|
D | LessFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() < right.asNumber(), left, right); in execute()
|
D | MultiplyFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() * right.asNumber(), left, right); in execute()
|
D | NumericAddFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() + right.asNumber(), left, right); in execute()
|
D | ModuloFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() % right.asNumber(), left, right); in execute()
|
D | OrFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asBoolean() || right.asBoolean(), left, right); in execute()
|
D | LessOrEqualFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() <= right.asNumber(), left, right); in execute()
|
D | NumericEqualFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() == right.asNumber(), left, right); in execute()
|
D | NumericNotEqualFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 31 return literalConstant(left.asNumber() != right.asNumber(), left, right); in execute()
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/structure/ |
D | FirstFunction.java | 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 37 return literalConstant(false, arg); in execute() 41 return literalConstant(thisNode.isFirstSibling(), arg); in execute()
|
D | SubcountFunction.java | 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 37 return literalConstant(0, arg); in execute() 41 return literalConstant(thisNode.getChildCount(), arg); in execute()
|
D | LastFunction.java | 22 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 37 return literalConstant(false, arg); in execute() 41 return literalConstant(thisNode.isLastSibling(), arg); in execute()
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
D | LengthFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 34 return literalConstant(value.asString().length(), value); in execute()
|
D | FindFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 36 return literalConstant(fullStringValue.asString().indexOf(subStringValue.asString()), in execute()
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/numeric/ |
D | AbsFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 36 return literalConstant(abs(arg.asNumber()), arg); in execute()
|
D | MinFunction.java | 21 import static com.google.clearsilver.jsilver.values.Value.literalConstant; 37 return literalConstant(min(left.asNumber(), right.asNumber()), left, right); in execute()
|