CLanguage by praeclarum

<PackageReference Include="CLanguage" Version="0.19.67" />

.NET API 205,824 bytes

 Block

public class Block : Statement
public Dictionary<string, CEnumType> Enums { get; }

public List<CompiledFunction> Functions { get; }

public List<Statement> InitStatements { get; }

public Block Parent { get; set; }

public List<Statement> Statements { get; }

public Dictionary<string, CStructType> Structures { get; }

public Dictionary<string, CType> Typedefs { get; }

public List<CompiledVariable> Variables { get; }

public VariableScope VariableScope { get; }

public Block(VariableScope variableScope, IEnumerable<Statement> statements)

public Block(VariableScope variableScope)

public void AddStatement(Statement stmt)

public void AddStatements(IEnumerable<Statement> stmts)

public void AddVariable(string name, CType ctype)