Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
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 List<Expression> |
ExpressionFactory.AndOperator.args |
private List<Expression> |
ExpressionFactory.OrOperator.args |
private List<Expression> |
ExpressionFactory.MinMaxFunction.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.ExpressionCondition |
Condition.createExpressionCondition(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)
Constructs a new
CondOperator . |
ExpressionCondition(Expression e) |
ExpressionSubpart(Expression id) |
LengthFunction(Expression args)
Constructs a new
LengthFunction . |
Constructor and Description |
---|
AndOperator(List<Expression> args)
Constructs a new
AndOperator . |
ArrayFunction(Method m,
List<Expression> args)
Constructs a new
ArrayFunction . |
MinMaxFunction(List<Expression> args,
boolean computeMax)
Constructs a new
MinMaxFunction . |
OrOperator(List<Expression> args)
Constructs a new
OrOperator . |
ParameterFunction(Method m,
List<Expression> args,
boolean needsEnvironment)
Constructs a new
ParameterFunction . |