Class VerificationFunction
java.lang.Object
org.pgcodekeeper.core.parsers.antlr.pg.verification.VerificationFunction
- All Implemented Interfaces:
IVerification
Verification implementation for PostgreSQL function statements.
Analyzes function definitions to ensure they comply with coding standards
and best practices, including complexity checks, parameter validation,
and code style verification.
-
Constructor Summary
ConstructorsConstructorDescriptionVerificationFunction(SQLParser.Schema_createContext createCtx, VerificationProperties rules, String fileName, List<Object> errors) Creates a new function verification instance. -
Method Summary
-
Constructor Details
-
VerificationFunction
public VerificationFunction(SQLParser.Schema_createContext createCtx, VerificationProperties rules, String fileName, List<Object> errors) Creates a new function verification instance.- Parameters:
createCtx- the schema creation context containing the functionrules- verification rules and properties to applyfileName- the name of the file being verifiederrors- list to collect verification errors
-
-
Method Details
-
verify
public void verify()Description copied from interface:IVerificationPerforms the verification check. Implementations should analyze code structures and report any violations or issues found during the verification process.- Specified by:
verifyin interfaceIVerification
-