Skip to main content
Ctrl+K
PyScadeOne - Home
  • Getting started
  • User guide
  • API reference
  • Examples
  • Contributing
Ctrl+K
  • GitHub
Ctrl+K
  • Getting started
  • User guide
  • API reference
  • Examples
  • Contributing
  • GitHub

Section Navigation

  • ScadeOne app
  • Project management
  • Model
  • Swan constructs
    • Basic classes
    • Module and global declarations
    • Operator body
    • Expressions
    • Groups
    • Memory annotations
    • Pragmas
      • Pragma
      • Diagram Pragmas
      • Code generation pragmas
      • Documentation pragmas
      • Traceability pragmas
      • Test pragmas
    • Protected items
  • Swan Test constructs
  • Services
  • Helper classes
  • PyAnsys
  • API reference
  • Swan constructs
  • Pragmas

Pragmas#

Pragmas are a mean to pass information to tools without having to follow the language semantics. The pragma concept belongs to the language, but the pragmas themselves do not.

The Pragma class and its subclasses are detailed in the following sections:

  • Pragma
  • Diagram Pragmas
  • Code generation pragmas
  • Documentation pragmas
  • Traceability pragmas
  • Test pragmas
Show Source

© Copyright (c) 2026 ANSYS, Inc. All rights reserved.

Created using Sphinx 8.1.3.

Built with the Ansys Sphinx Theme 1.2.4.
Last updated on