Class ExpressionFactory.IsInsideFunction
- java.lang.Object
-
- org.openstreetmap.josm.gui.mappaint.mapcss.ExpressionFactory.IsInsideFunction
-
- All Implemented Interfaces:
Expression
- Enclosing class:
- ExpressionFactory
public static class ExpressionFactory.IsInsideFunction extends Object implements Expression
Functions#inside
implementation for use inMapCSSTagChecker
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
arg
-
Constructor Summary
Constructors Constructor Description IsInsideFunction(Expression arg)
Constructs a newIsInsideFunction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Environment env)
Evaluate this expression.Expression
getArg()
Returns the argument
-
-
-
Field Detail
-
arg
private final Expression arg
-
-
Constructor Detail
-
IsInsideFunction
public IsInsideFunction(Expression arg)
Constructs a newIsInsideFunction
.- Parameters:
arg
- argument
-
-
Method Detail
-
getArg
public Expression getArg()
Returns the argument- Returns:
- the argument
-
evaluate
public Object evaluate(Environment env)
Description copied from interface:Expression
Evaluate this expression.- Specified by:
evaluate
in interfaceExpression
- Parameters:
env
- The environment- Returns:
- the result of the evaluation, can be a
List
, String or any primitive type or wrapper classes of a primitive type.
-
-