internal virtual RulePropertyRef GetRulePropertyRef(IToken prop) { try { System.Func<StructDecl, string, RulePropertyRef> c = thisRulePropToModelMap[prop.Text]; RulePropertyRef @ref = c(nodeContext, GetRuleLabel(prop.Text)); return @ref; } catch (Exception e) { factory.GetGrammar().tool.errMgr.ToolError(ErrorType.INTERNAL_ERROR, e); } return null; }