Vixen
02b45cc4
csharp
public sealed class BlockBinder

A statement scope. Locals are added as their declarations are bound, so a name is only visible after the point it is declared.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (2)

  • public override bool IsInLoop
  • public IReadOnlyList<LocalSymbol> Locals

Methods (2)

  • public BlockBinder(Binder next, bool isLoopBody = false)

    A statement scope. Locals are added as their declarations are bound, so a name is only visible after the point it is declared.

  • public bool TryDeclare(Symbol symbol)

    Adds a local or local function; false when the name is already taken here.

Used by (1)

  • BinderVixen.Raven