Antlr4.Codegen.Model.SrcOp.GetContextName C# (CSharp) 메소드

GetContextName() 공개 메소드

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