Method CheckInterpretationPattern
CheckInterpretationPattern(RideID, String)
Determine if a given pattern, described as a string, matches the representation of the current interpretation of a given interpreter
Declaration
Dictionary<string, RideID> CheckInterpretationPattern(RideID interpreter, string pattern)
Parameters
Type | Name | Description |
---|---|---|
RideID | interpreter | The RideID of the interpreter to use |
System.String | pattern | A string representation of a pattern, e.g. "(behaviourAmbush' ?e ?b ?g)" |
Returns
Type | Description |
---|---|
Dictionary<System.String, RideID> | A dictionary that maps variables in the pattern to RideID values in a matching interpretation, or null when there is no match |