Class
MacroFragmentRegion
class MacroFragmentRegion
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: MacroFragmentRegion.cs
Inheritance: Object → MacroFragmentRegion
Describes a region of a token-tree macro body that contains ordinary Raven syntax.
Properties
5 items
BodyRelativeSpan: TextSpan
Gets the region relative to the start of the macro body.
Kind: MacroFragmentKind
Gets the Raven syntax category expected in this region.
Locals: ImmutableArray<MacroFragmentLocal>
Gets the macro-introduced locals visible inside this region.
Span: TextSpan
Gets the region in the containing Raven source text.
TargetType: ITypeSymbol?
Gets the optional target type used to bind an expression region.
Methods
4 items
Equals(obj: object?) -> bool
Determines whether the specified object is equal to the current object.
Inherited from Object.Equals
GetHashCode() -> int
Serves as the default hash function.
Inherited from Object.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString