Open sandboxFocus

Class StatementListBuilder

A class that allows to dynamically build an IStatementList.

Inheritance
StatementListBuilder
Namespace: Metalama.Framework.Code.SyntaxBuilders
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public class StatementListBuilder

Constructors

Name Description
StatementListBuilder()

Methods

Name Description
Add(IStatement)

Appends an IStatement to the list.

Add(IStatementList)

Appends an IStatementList to the list.

ToStatementList()

Creates an IStatementList from the current object.