Vixen
02b45cc4
csharp
public record class BoundExpression

A run of C# the binder resolved nothing about, and where it came from.

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

Remarks

⚠ The binder does not look inside this. It carries the text and the span, and the emitter copies both into the generated C# under a #line — which is what makes Roslyn the typechecker rather than something hand-rolled here. The position is the whole reason that works: without it an error lands in generated code the author has never seen.

Fields and properties (2)

  • public string Text

    The source characters, exactly as written.

  • public LinePositionSpan Position

    Where they are in the .vxml, so a #line can point back.

Methods (1)

  • public BoundExpression(string Text, LinePositionSpan Position)

    A run of C# the binder resolved nothing about, and where it came from.

Used by (13)

  • BinderVixen.Ui.Markup
  • BinderTestsVixen.Ui.Markup.Tests
  • BoundAttributeVixen.Ui.Markup
  • BoundBranchVixen.Ui.Markup
  • BoundCaseVixen.Ui.Markup
  • BoundComponentVixen.Ui.Markup
  • BoundElementVixen.Ui.Markup
  • BoundExpressionPartVixen.Ui.Markup
  • BoundForVixen.Ui.Markup
  • BoundInterpolationVixen.Ui.Markup
  • BoundSwitchVixen.Ui.Markup
  • ComponentEmitterVixen.Ui.Markup
  • PreviewCodeEditorViewVixen.Editor.AssetEditors