slang Documentation
  1. User Manual
    1. Command Line Reference
    2. Language Support
    3. Warning Reference
    4. Tools
  2. Developer Guide
    1. Building & Installation
    2. Compilation Overview
    3. Common Components
    4. Source Management
    5. Diagnostic APIs
    6. Parsing and Syntax
  1. API Reference
    1. Namespaces
    2. Classes
    3. Files
  2. Try It
  3. GitHub

Navigation

  • slang
  • util
  • Bag.h (file)
  • BumpAllocator.h (file)
  • CommandLine.h (file)
  • ConcurrentMap.h (file)
  • CopyPtr.h (file)
  • Enum.h (file)
  • FlatMap.h (file)
  • Function.h (file)
  • Hash.h (file)
  • IntervalMap.h (file)
  • Iterator.h (file)
  • LanguageVersion.h (file)
  • OS.h (file)
  • PointerIntPair.h (file)
  • PoolAllocator.h (file)
  • Random.h (file)
  • ScopeGuard.h (file)
  • SmallMap.h (file)
  • SmallVector.h (file)
  • String.h (file)
  • ThreadPool.h (file)
  • TimeTrace.h (file)
  • TypeTraits.h (file)
  • Util.h (file)
  • VersionInfo.h (file)
API Reference:
  • 📁 Namespaces
  • 🏛️ Classes
  • 📄 Files

slang/util/CommandLine.h file

Command line argument parsing support.

Namespaces

namespace slang
Root namespace.

Classes

class slang::CommandLine
Command line argument parser.
struct slang::CommandLine::Error
Represents an error encountered while parsing command line arguments.
struct slang::CommandLine::ParseOptions
Contains various options to control parsing of command flags.

Enums

enum class CommandLineFlags { None = 0, FilePath = 1, CommaList = 2 }
Specifies flags that can apply to command line options.

Contents

  • Namespaces
  • Classes
  • Enums
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-2026 Michael Popoloski.
    Code is available on GitHub under the MIT license.