slang/ast/Statement.h file

Statement creation and analysis.

Namespaces

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

Classes

class slang::ast::Statement
The base class for all statements in SystemVerilog.
struct slang::ast::Statement::StatementContext
Additional information passed along during statement creation.
class slang::ast::InvalidStatement
Represents an invalid statement.
class slang::ast::StatementList
Represents a list of statements.
class slang::ast::BlockStatement
Represents a sequential or parallel block statement.

Enums

enum class StatementKind { Invalid, Empty, List, Block, ExpressionStatement, VariableDeclaration, Return, Continue, Break, Disable, Conditional, Case, PatternCase, ForLoop, RepeatLoop, ForeachLoop, WhileLoop, DoWhileLoop, ForeverLoop, Timed, ImmediateAssertion, ConcurrentAssertion, DisableFork, Wait, WaitFork, WaitOrder, EventTrigger, ProceduralAssign, ProceduralDeassign, RandCase, RandSequence, ProceduralChecker }
Specifies possible kinds of statements.
enum class StatementFlags { None = 0, InLoop = 1 << 0, InForkJoin = 1 << 1, InRandSeq = 1 << 2, HasTimingError = 1 << 3 }
Various flags that control statement construction.