Class VariableFinder
- java.lang.Object
-
- com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.parsing.VariableFinder
-
- All Implemented Interfaces:
IVariableFinder
public class VariableFinder extends Object implements IVariableFinder
The default implementation of the finder
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME_PROPERTY_ID
static String
PARAM_PREFIX_PROPERTY_ID
static String
SIMPLE_VARIABLE_TYPE_ID
static String
TYPE_PROPERTY_ID
-
Fields inherited from interface com.e1c.g5.v8.dt.lcore.ui.templates.contentassist.parsing.IVariableFinder
CLOSING_FOR_VARIABLE, CLOSING_FOR_VARIABLE_FUNCTION, OPENING_FOR_VARIABLE, OPENING_FOR_VARIABLE_FUNCTION
-
-
Constructor Summary
Constructors Constructor Description VariableFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IVariableOccurrence>
findVariables(String pattern)
Finds all the occurrences of the variables in the given pattern and parses them into IVariableData
-
-
-
Field Detail
-
NAME_PROPERTY_ID
public static final String NAME_PROPERTY_ID
- See Also:
- Constant Field Values
-
TYPE_PROPERTY_ID
public static final String TYPE_PROPERTY_ID
- See Also:
- Constant Field Values
-
PARAM_PREFIX_PROPERTY_ID
public static final String PARAM_PREFIX_PROPERTY_ID
- See Also:
- Constant Field Values
-
SIMPLE_VARIABLE_TYPE_ID
public static final String SIMPLE_VARIABLE_TYPE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
findVariables
public List<IVariableOccurrence> findVariables(String pattern)
Description copied from interface:IVariableFinder
Finds all the occurrences of the variables in the given pattern and parses them into IVariableData- Specified by:
findVariables
in interfaceIVariableFinder
- Parameters:
pattern
- The pattern to find variables, cannot benull
- Returns:
- The collection of variable occurrences for each variable occurrence, cannot be
null
-
-