Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.mapcss |
Modifier and Type | Class and Description |
---|---|
static class |
ExpressionFactory.AndOperator
"And" logical operator.
|
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.MinMaxFunction
Computes the maximum/minimum value an arbitrary number of floats, or a list of floats.
|
static class |
ExpressionFactory.NullExpression
Expression that always evaluates to null.
|
static class |
ExpressionFactory.OrOperator
"Or" logical operator.
|
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 |
Subpart.ExpressionSubpart.id |
private Expression |
ExpressionFactory.CondOperator.secondOption |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Expression> |
ExpressionFactory.AndOperator.args |
private java.util.List<Expression> |
ExpressionFactory.OrOperator.args |
private java.util.List<Expression> |
ExpressionFactory.MinMaxFunction.args |
private java.util.List<Expression> |
ExpressionFactory.ParameterFunction.args |
private java.util.List<Expression> |
ExpressionFactory.ArrayFunction.args |
Modifier and Type | Method and Description |
---|---|
static Expression |
ExpressionFactory.createFunctionExpression(java.lang.String name,
java.util.List<Expression> args)
Main method to create an function-like expression.
|
Modifier and Type | Method and Description |
---|---|
static Condition.ExpressionCondition |
Condition.createExpressionCondition(Expression e,
Condition.Context context) |
Modifier and Type | Method and Description |
---|---|
static Expression |
ExpressionFactory.createFunctionExpression(java.lang.String name,
java.util.List<Expression> args)
Main method to create an function-like expression.
|
Constructor and Description |
---|
Condition.ExpressionCondition(Expression e) |
ExpressionFactory.CondOperator(Expression condition,
Expression firstOption,
Expression secondOption)
Constructs a new
CondOperator . |
ExpressionFactory.LengthFunction(Expression args)
Constructs a new
LengthFunction . |
Subpart.ExpressionSubpart(Expression id) |
Constructor and Description |
---|
ExpressionFactory.AndOperator(java.util.List<Expression> args)
Constructs a new
AndOperator . |
ExpressionFactory.ArrayFunction(java.lang.reflect.Method m,
java.util.List<Expression> args)
Constructs a new
ArrayFunction . |
ExpressionFactory.MinMaxFunction(java.util.List<Expression> args,
boolean computeMax)
Constructs a new
MinMaxFunction . |
ExpressionFactory.OrOperator(java.util.List<Expression> args)
Constructs a new
OrOperator . |
ExpressionFactory.ParameterFunction(java.lang.reflect.Method m,
java.util.List<Expression> args,
boolean needsEnvironment)
Constructs a new
ParameterFunction . |