Open sandboxFocus

Enum TextSpanClassification

An enumeration of classifications of TextSpanClassification, which typically map to different colors in the view layer.

Namespace: Metalama.Framework.Engine.Formatting
Assembly: Metalama.Framework.Sdk.dll
Syntax
public enum TextSpanClassification

Fields

Name Description
CompileTime

Compile-time code.

CompileTimeVariable

Compile-time variable.

Conflict

A text span has several categories (not implemented).

Default

No category.

Dynamic

Dynamic member.

Excluded

An excluded region, which should not be written to the output file (used for HTML generation).

GeneratedCode

Used to classify the output code and marks the code generated by the aspect or by the framework.

NeutralTrivia

The white space at the beginning of a line.

RunTime

Run-time code.

SourceCode

Used to classify the output code and marks the source code.

TemplateKeyword

Keyword-like member.