Antlr4.Codegen.Model.SrcOp.GetContextName C# (CSharp) Method

GetContextName() public method

public GetContextName ( ) : string
return string
        public virtual string GetContextName()
        {
            CodeBlockForOuterMostAlt alt = GetOuterMostAltCodeBlock();
            if (alt != null && alt.altLabel != null)
                return alt.altLabel;
            return enclosingRuleRunction.name;
        }
    }