Antlr4.Codegen.ActionTranslator.GetRulePropertyRef C# (CSharp) Method

GetRulePropertyRef() private method

private GetRulePropertyRef ( Antlr.Runtime.IToken prop ) : RulePropertyRef
prop Antlr.Runtime.IToken
return Antlr4.Codegen.Model.Chunk.RulePropertyRef
        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;
        }

Same methods

ActionTranslator::GetRulePropertyRef ( Antlr.Runtime.IToken x, Antlr.Runtime.IToken prop ) : RulePropertyRef