Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.mapcss |
Modifier and Type | Class and Description |
---|---|
static class |
ExpressionFactory.AndOperator |
static class |
ExpressionFactory.ArrayFunction
Function that takes an arbitrary number of arguments.
|
static class |
ExpressionFactory.CondOperator
Conditional operator.
|
static class |
ExpressionFactory.LengthFunction
Function to calculate the length of a string or list in a MapCSS eval
expression.
|
static class |
ExpressionFactory.NullExpression
Expression that always evaluates to null.
|
static class |
ExpressionFactory.OrOperator |
static class |
ExpressionFactory.ParameterFunction
Function that takes a certain number of argument with specific type.
|
class |
LiteralExpression
Simple literal value, that does not depend on other expressions.
|
Modifier and Type | Field and Description |
---|---|
private Expression |
ExpressionFactory.LengthFunction.arg |
private Expression |
ExpressionFactory.CondOperator.condition |
private Expression |
Condition.ExpressionCondition.e |
private Expression |
ExpressionFactory.CondOperator.firstOption |
private Expression |
ExpressionFactory.CondOperator.secondOption |
Modifier and Type | Field and Description |
---|---|
private List<Expression> |
ExpressionFactory.AndOperator.args |
private List<Expression> |
ExpressionFactory.OrOperator.args |
private List<Expression> |
ExpressionFactory.ParameterFunction.args |
private List<Expression> |
ExpressionFactory.ArrayFunction.args |
Modifier and Type | Method and Description |
---|---|
static Expression |
ExpressionFactory.createFunctionExpression(String name,
List<Expression> args)
Main method to create an function-like expression.
|
Modifier and Type | Method and Description |
---|---|
static Condition |
Condition.create(Expression e,
Condition.Context context) |
Modifier and Type | Method and Description |
---|---|
static Expression |
ExpressionFactory.createFunctionExpression(String name,
List<Expression> args)
Main method to create an function-like expression.
|
Constructor and Description |
---|
CondOperator(Expression condition,
Expression firstOption,
Expression secondOption) |
ExpressionCondition(Expression e) |
LengthFunction(Expression args) |
Constructor and Description |
---|
AndOperator(List<Expression> args) |
ArrayFunction(Method m,
List<Expression> args) |
OrOperator(List<Expression> args) |
ParameterFunction(Method m,
List<Expression> args) |