Class VerificationFunction

java.lang.Object
org.pgcodekeeper.core.parsers.antlr.pg.verification.VerificationFunction
All Implemented Interfaces:
IVerification

public class VerificationFunction extends Object implements 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 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 function
      rules - verification rules and properties to apply
      fileName - the name of the file being verified
      errors - list to collect verification errors
  • Method Details

    • verify

      public void verify()
      Description copied from interface: IVerification
      Performs the verification check. Implementations should analyze code structures and report any violations or issues found during the verification process.
      Specified by:
      verify in interface IVerification