Class
AttachedMacroContext
class AttachedMacroContext
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: AttachedMacroContext.cs
Inheritance: Object → MacroContext → AttachedMacroContext
Constructors
1 itemProperties
8 items
ArgumentList: ArgumentListSyntax?
No summary available.
Arguments: ImmutableArray<MacroArgument>
No summary available.
CancellationToken: CancellationToken
No summary available.
Compilation: Compilation
No summary available.
CurrentDeclaration: SyntaxNode
No summary available.
SemanticModel: SemanticModel
No summary available.
Syntax: AttributeSyntax
No summary available.
TargetDeclaration: SyntaxNode
No summary available.
Methods
15 items
CreateArgumentDiagnostic(argument: MacroArgument, message: string, severity?: DiagnosticSeverity, code?: string?) -> MacroExpansionDiagnostic
No summary available.
CreateDiagnostic(message: string, severity?: DiagnosticSeverity, syntax?: SyntaxNode?, code?: string?) -> MacroExpansionDiagnostic
No summary available.
Overrides MacroContext.CreateDiagnostic
CreateUniqueIdentifier(hint?: string) -> IdentifierNameSyntax
Creates identifier-name syntax with a deterministic name that does not collide with authored or previously generated identifiers.
Inherited from MacroContext.CreateUniqueIdentifier
CreateUniqueName(hint?: string) -> string
Creates a deterministic identifier name that does not collide with an identifier authored in the invocation document or returned earlier by this context.
Inherited from MacroContext.CreateUniqueName
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
ReportDiagnostic(diagnostic: Diagnostic) -> ()
No summary available.
Inherited from MacroContext.ReportDiagnostic
ReportDiagnostic(diagnostic: MacroExpansionDiagnostic) -> ()
No summary available.
Inherited from MacroContext.ReportDiagnostic
ReportDiagnostic(message: string, severity?: DiagnosticSeverity, syntax?: SyntaxNode?, code?: string?) -> ()
No summary available.
Inherited from MacroContext.ReportDiagnostic
ReportDiagnostics(diagnostics: IEnumerable<Diagnostic>) -> ()
No summary available.
Inherited from MacroContext.ReportDiagnostics
ReportDiagnostics(diagnostics: IEnumerable<MacroExpansionDiagnostic>) -> ()
No summary available.
Inherited from MacroContext.ReportDiagnostics
ReportDiagnostics<TSyntax>(result: MacroSyntaxParseResult<TSyntax>) -> ()
Reports all parser diagnostics carried by a macro syntax parse result.
Inherited from MacroContext.ReportDiagnostics
RequireSyntax<TSyntax>(syntax: SyntaxNode, message?: string?, code?: string?) -> TSyntax
Requires a syntax node to have the requested shape, reporting a macro diagnostic and returning when it does not.
Inherited from MacroContext.RequireSyntax
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString