tnsnamesInterfaceListener.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:Tnsnames_checker 作者:
@Override
public void enterD_send_buf(tnsnamesParser.D_send_bufContext ctx)
{
    // Who is my parent rule?
    RuleContext parentCtx = ctx.getParent();
    String parentRule = this.ruleNames[parentCtx.getRuleIndex()];

    // Check for redefinitions, DESCRIPTION.
    if (parentRule == "d_parameter")
    {
        checkForRedefinition("SEND_BUF_SIZE", firstSendBufLine, this.lineNumber);
    }

    // Check for redefinitions, DESCRIPTION.
    if (parentRule == "a_parameter")
    {
        checkForRedefinition("SEND_BUF_SIZE", firstA_SendBufLine, this.lineNumber);
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号