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

Section Navigation

  • ScadeOne app
  • Project management
  • Model
  • Swan constructs
    • Basic classes
    • Module and global declarations
    • Operator body
    • Expressions
    • Groups
    • Memory annotations
    • Pragmas
      • Pragmas
      • 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:

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

© Copyright © 2026-2027 Synopsys, Inc. and ANSYS, Inc. All rights reserved.

Created using Sphinx 9.1.0.

Built with the Ansys Sphinx Theme 1.8.2.
Last updated on