CLanguage by praeclarum

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

 Block

public class Block : Statement
public Location EndLocation { get; set; }

public List<CompiledFunction> Functions { get; }

public List<Statement> InitStatements { get; }

public Location StartLocation { get; }

public List<Statement> Statements { get; }

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

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

public List<CompiledVariable> Variables { get; }

public Block()

public Block(Location startLoc, List<Statement> statements, Location endLoc)

public Block(Location startLoc, Location endLoc)

public Block(Block parent, Location startLoc)

public void AddStatement(Statement stmt)

public void AddVariable(string name, CType ctype)