Token IsPrimary Property NFX Class Library

[This is preliminary documentation and is subject to change.]

Returns true for tokens that are primary part of the language, not control, metadata, directive, comment etc... For example BOF,EOF markers are not primary part of the language, compiler directives, comments are not either. This property is useful for pattern searches, when comments and other non-primary tokens need to be quickly skipped

Namespace: NFX.CodeAnalysis
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public abstract bool IsPrimary { get; }

Property Value

Type: OnlineBoolean
See Also