Class
PowerShellHighlighter
ConsoleMonster.Highlighting
PowerShell: comments and comment blocks, strings and here-strings, variables, keywords, commands (Verb-Noun), parameters, operators (-eq, -match), type literals ([int]), numbers (with KB/MB suffixes) and punctuation.
Inheritance
- object
- PowerShellHighlighter
Constructors
public PowerShellHighlighter() #Methods
public IReadOnlyList<HighlightToken> Tokenize(string text) #Tokenizes text.
Parameters
- text string
- The text (any line endings).
Inherited Methods
Properties
public string Name { get; } #The language name, for example "json" (lower case).