qasm-ts - v2.0.0
GitHub
NPM
Preparing search index...
qasm3/ast
SwitchStatement
Class SwitchStatement
Class representing a switch statement.
Hierarchy (
View Summary
)
Statement
SwitchStatement
Index
Constructors
constructor
Properties
cases
control
Expression
default
Block
Constructors
constructor
new
SwitchStatement
(
controlExpression
:
Expression
,
cases
:
CaseStatement
[]
,
defaultBlock
?:
DefaultStatement
,
)
:
SwitchStatement
Parameters
controlExpression
:
Expression
cases
:
CaseStatement
[]
Optional
defaultBlock
:
DefaultStatement
Returns
SwitchStatement
Properties
cases
cases
:
CaseStatement
[]
control
Expression
controlExpression
:
Expression
default
Block
defaultBlock
:
DefaultStatement
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cases
control
Expression
default
Block
GitHub
NPM
qasm-ts - v2.0.0
Loading...
Class representing a switch statement.