Package li.selman.jpbe.dsl.position
Interface Position
- All Superinterfaces:
DslElement
- All Known Implementing Classes:
ConstantPosition
,DynamicPosition
-
Method Summary
Modifier and TypeMethodDescriptionint
Given an input, dynamically evaluate to an index inside for string manipulation operations.Methods inherited from interface li.selman.jpbe.dsl.DslElement
getDslWeight
-
Method Details
-
evalToPosition
Given an input, dynamically evaluate to an index inside for string manipulation operations.- Parameters:
s
- input- Returns:
- the index
- Throws:
NoPositionException
- in certain implementations
-