AngouriMath

Navigation

← Back to list of members

PatternSource

 Property

Summary

The pattern the arm matches, as the C# source writes it.

Remarks

Source text, and named so. This is what a reader would see in the
switch, not a representation anything can match against — to ask whether this
rule fires on a node, call TryApply(AngouriMath.Entity), which runs the arm itself.
The name carries Source because
#746 tier 1 is
pattern matching as data, and when a pattern becomes a value it should be able to be
called Pattern without first breaking somebody. Deciding that after the
property shipped would have cost a major version; deciding it here cost nothing.

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online