slang C++ docs
  1. User Manual
    1. Command Line Reference
    2. Language Support
    3. Warning Reference
    4. Tools
  2. Developer Guide
    1. Building & Installation
    2. Common Components
    3. Source Management
    4. Diagnostics
    5. Parsing and Syntax
  1. API Reference
    1. Namespaces
    2. Classes
    3. Files
  2. Try It
  3. GitHub

slang/ast/expressions/Operator.h file

Definitions and helpers for dealing with operators.

Contents

  • Reference
    • Namespaces
    • Enums

Namespaces

namespace slang
Root namespace.
namespace slang::ast
The SystemVerilog AST.

Enums

enum class UnaryOperator { Plus, Minus, BitwiseNot, BitwiseAnd, BitwiseOr, BitwiseXor, BitwiseNand, BitwiseNor, BitwiseXnor, LogicalNot, Preincrement, Predecrement, Postincrement, Postdecrement }
Specifies possible unary operator kinds.
enum class BinaryOperator { Add, Subtract, Multiply, Divide, Mod, BinaryAnd, BinaryOr, BinaryXor, BinaryXnor, Equality, Inequality, CaseEquality, CaseInequality, GreaterThanEqual, GreaterThan, LessThanEqual, LessThan, WildcardEquality, WildcardInequality, LogicalAnd, LogicalOr, LogicalImplication, LogicalEquivalence, LogicalShiftLeft, LogicalShiftRight, ArithmeticShiftLeft, ArithmeticShiftRight, Power }
Specifies possible binary operator kinds.
Tab / T to search, Esc to close
…

Search for symbols, directories, files, pages or modules. You can omit any prefix from the symbol or file path; adding a : or / suffix lists all members of given symbol or directory.

Use ↓ / ↑ to navigate through the list, Enter to go. Tab autocompletes common prefix, you can copy a link to the result using ⌘ L while ⌘ M produces a Markdown link.

Sorry, nothing was found.
Maybe try a full-text search with external engine?

    slang SystemVerilog language services. Copyright (C) 2015-2025 Michael Popoloski.
    Code is available on GitHub under the MIT license.