All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.pmd.lang.plsql.ast.ASTRegexpLikeCondition Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
/*
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */

package net.sourceforge.pmd.lang.plsql.ast;

public final class ASTRegexpLikeCondition extends AbstractPLSQLNode {
    private String matchParam;

    ASTRegexpLikeCondition(int id) {
        super(id);
    }

    @Override
    protected  R acceptPlsqlVisitor(PlsqlVisitor visitor, P data) {
        return visitor.visit(this, data);
    }

    void setMatchParam(String matchParam) {
        this.matchParam = matchParam;
    }

    public String getMatchParam() {
        return this.matchParam;
    }

    public ASTSqlExpression getSourceChar() {
        return (ASTSqlExpression) getChild(0);
    }

    public ASTSqlExpression getPattern() {
        return (ASTSqlExpression) getChild(1);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy