@maverickcer/env-cap
    Preparing search index...

    Function extractSchemaVariables

    • Extracts one schema object literal's variables (processor/validator/default presence); never evaluates or executes the schema.

      Parameters

      • schemaLiteral: ObjectLiteralExpression
      • filePath: string
      • contextLabel: string

        Used only to build human-readable warning messages (e.g. the contract's export name).

      • warnings: ParseWarning[]

        Mutated in place: one entry is pushed per skipped (non-static, invalid-key, or non-literal) property.

      • sourceFile: SourceFile

      Returns DiscoveredSchemaVariable[]