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 java.lang.Object implements Expression
Functions#insideimplementation for use inMapCSSTagChecker
-
-
Field Summary
Fields Modifier and Type Field Description private Expressionarg
-
Constructor Summary
Constructors Constructor Description IsInsideFunction(Expression arg)Constructs a newIsInsideFunction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectevaluate(Environment env)Evaluate this expression.ExpressiongetArg()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 java.lang.Object evaluate(Environment env)
Description copied from interface:ExpressionEvaluate this expression.- Specified by:
evaluatein 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.
-
-