private void Instance(string element, Stack <IExpression> stack) { foreach (var keyValuePair in MappingLexemes.GetMappingRegExExpression()) { if (Regex.IsMatch(element, keyValuePair.Key, RegexOptions.IgnoreCase)) { var elementTemp = keyValuePair.Value.Clone; elementTemp.PopExpressionInStarck(element, stack); stack.Push(elementTemp); break; } } }
public IDictionary <string, IExpression> GetMappingRegExExpression() { return(MappingLexemes.GetMappingRegExExpression()); }