☀️ Sun Language
GitHubGitHub (opens in a new tab)
  • Introduction
  • Examples
  • Overview
  • Builtin Types
  • Functions & Lambdas
  • Control Flow
  • Match Expressions
  • Enums
  • Classes
  • Interfaces
  • Generics
  • Error Handling
  • Testing
  • Memory Safety
  • Threads
  • SIMD
  • Matrices
  • NVIDIA GPU Matrices
  • Modules & Configuration
  • Protobuf
  • Standard Library
  • TLS & HTTPS
  • Compiler Intrinsics
  • C FFI
  • ABI (Draft)
    • Compatibility Model
    • Experimental Implementation
    • Examples
    • Declarations & Symbols
    • Data Layout
    • Function Calls
    • Ownership & Allocation
    • Interfaces & Closures
    • Generic Specialization
    • Runtime & Errors
    • Moon Library Format
    • Conformance & Implementation
  • Formatting
  • Architecture
    • Semantic Analysis
    • Code Generation
  • Compiler API Reference
  • Roadmap

On This Page

  • Public Functions
  • operator()
Question? Give us feedback → (opens in a new tab)Edit this page
Compiler API Reference
sun::parsing::DFA::SetHash

sun::parsing::DFA::SetHash

struct · Source (opens in a new tab)

struct sun::parsing::DFA::SetHash

Hashes sets of automaton states during deterministic-state construction.

Public Functions

  • operator()

operator()

public · function · Source (opens in a new tab)

size_t sun::parsing::DFA::SetHash::operator()(const std::vector< int32_t > &v) const noexcept

Hashes a set of NFA state identifiers for deterministic-state lookup.

Related: NFA

Compiler API Reference

Sun Programming Language Documentation