微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

jdk.nashorn.internal.runtime.regexp.joni.exception.InternalException的实例源码

项目:Openjsharp    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:openjdk-jdk10    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:openjdk9    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:kaziranga    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:lookaside_java-1.8.0-openjdk    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:jdk8u_nashorn    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:infobip-open-jdk-8    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:OLD-OpenJDK8    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:nashorn-backport    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:nashorn    文件ByteCodeMachine.java   
private void nullCheckFound() {
    // null_check_found:
    /* empty loop founded,skip next instruction */
    switch(code[ip++]) {
    case OPCode.JUMP:
    case OPCode.PUSH:
        ip++;       // p += SIZE_RELADDR;
        break;
    case OPCode.REPEAT_INC:
    case OPCode.REPEAT_INC_NG:
    case OPCode.REPEAT_INC_SG:
    case OPCode.REPEAT_INC_NG_SG:
        ip++;        // p += SIZE_MEMNUM;
        break;
    default:
        throw new InternalException(ErrorMessages.ERR_UNEXPECTED_BYTECODE);
    } // switch
}
项目:Openjsharp    文件ScanEnvironment.java   
public void setMemNode(final int num,final Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:Openjsharp    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:openjdk-jdk10    文件ScanEnvironment.java   
public void setMemNode(final int num,final Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:openjdk-jdk10    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:openjdk9    文件ScanEnvironment.java   
public void setMemNode(final int num,final Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:openjdk9    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:kaziranga    文件ScanEnvironment.java   
public void setMemNode(final int num,final Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:kaziranga    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:lookaside_java-1.8.0-openjdk    文件ScanEnvironment.java   
public void setMemNode(final int num,final Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:lookaside_java-1.8.0-openjdk    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:jdk8u_nashorn    文件ScanEnvironment.java   
public void setMemNode(final int num,final Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:jdk8u_nashorn    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:infobip-open-jdk-8    文件ScanEnvironment.java   
public void setMemNode(final int num,final Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:infobip-open-jdk-8    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:OLD-OpenJDK8    文件ScanEnvironment.java   
public void setMemNode(int num,Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:OLD-OpenJDK8    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:OLD-OpenJDK8    文件Parser.java   
private void parseSubExpError(TokenType term) {
    if (term == TokenType.SUBEXP_CLOSE) {
        throw new SyntaxException(ERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS);
    } else {
        throw new InternalException(ERR_PARSER_BUG);
    }
}
项目:nashorn-backport    文件ScanEnvironment.java   
public void setMemNode(int num,Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:nashorn-backport    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:nashorn-backport    文件Parser.java   
private void parseSubExpError(TokenType term) {
    if (term == TokenType.SUBEXP_CLOSE) {
        throw new SyntaxException(ERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS);
    } else {
        throw new InternalException(ERR_PARSER_BUG);
    }
}
项目:nashorn    文件ScanEnvironment.java   
public void setMemNode(int num,Node node) {
    if (numMem >= num) {
        memNodes[num] = node;
    } else {
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:nashorn    文件ConsAltNode.java   
@Override
public String getName() {
    switch (type) {
    case ALT:
        return "Alt";
    case LIST:
        return "List";
    default:
        throw new InternalException(ErrorMessages.ERR_PARSER_BUG);
    }
}
项目:nashorn    文件Parser.java   
private void parseSubExpError(TokenType term) {
    if (term == TokenType.SUBEXP_CLOSE) {
        throw new SyntaxException(ERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS);
    } else {
        throw new InternalException(ERR_PARSER_BUG);
    }
}
项目:Openjsharp    文件Compiler.java   
protected void newInternalException(final String message) {
    throw new InternalException(message);
}
项目:Openjsharp    文件Parser.java   
private static void parseSubExpError(final TokenType term) {
    if (term == TokenType.SUBEXP_CLOSE) {
        throw new SyntaxException(ERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS);
    }
    throw new InternalException(ERR_PARSER_BUG);
}
项目:openjdk-jdk10    文件Compiler.java   
protected void newInternalException(final String message) {
    throw new InternalException(message);
}
项目:openjdk-jdk10    文件Parser.java   
private static void parseSubExpError(final TokenType term) {
    if (term == TokenType.SUBEXP_CLOSE) {
        throw new SyntaxException(ERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS);
    }
    throw new InternalException(ERR_PARSER_BUG);
}
项目:openjdk9    文件Compiler.java   
protected void newInternalException(final String message) {
    throw new InternalException(message);
}
项目:openjdk9    文件Parser.java   
private static void parseSubExpError(final TokenType term) {
    if (term == TokenType.SUBEXP_CLOSE) {
        throw new SyntaxException(ERR_END_PATTERN_WITH_UNMATCHED_PARENTHESIS);
    }
    throw new InternalException(ERR_PARSER_BUG);
}
项目:kaziranga    文件Compiler.java   
protected void newInternalException(final String message) {
    throw new InternalException(message);
}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。