Properties
MaximumLength
#Gets the longest path that could possibly match this map. If the map contains sequence wildcards, the maximum length is always int.MaxValue.
Methods
Apply
#Apply this mapping to a path+item pair.
Parameters:
| path (Path) | Path to map. |
| item (int) | Item to map. |
| pathOut (out Path) | Mapped path. |
| itemOut (out int) | Mapped item. If there is no defined item mapping, -1 will be returned here, indicating no preferred location for the item. |
| error (out string) | Error in case of failure. |
Returns: True on success, false on failure.
Matches
#Test whether this mapping applies to a given path and item index.
PathInConstant
#Gets whether the i-th input element is a constant.
PathInIdentifier
#Gets the identifier associated with the i-th element in the input.
Parameters:
| index (int) |
PathOutConstant
#Gets whether the i-th input element is a constant.