C# Class hsp.cs.SyntaxHighlight

C#のコードにシンタックスハイライトを付けて表示
Inheritance: Microsoft.CodeAnalysis.SyntaxWalker
Exibir arquivo Open project: kkrnt/hsp.cs Class Usage Examples

Public Properties

Property Type Description
view List

Public Methods

Method Description
SyntaxHighlight ( Compilation compilation, Microsoft.CodeAnalysis.SyntaxTree _tree ) : System
highlight ( ) : void

Protected Methods

Method Description
VisitToken ( SyntaxToken token ) : void
VisitTrivia ( SyntaxTrivia trivia ) : void

Method Details

SyntaxHighlight() public method

public SyntaxHighlight ( Compilation compilation, Microsoft.CodeAnalysis.SyntaxTree _tree ) : System
compilation Compilation
_tree Microsoft.CodeAnalysis.SyntaxTree
return System

VisitToken() protected method

protected VisitToken ( SyntaxToken token ) : void
token SyntaxToken
return void

VisitTrivia() protected method

protected VisitTrivia ( SyntaxTrivia trivia ) : void
trivia SyntaxTrivia
return void

highlight() public method

public highlight ( ) : void
return void

Property Details

view public_oe property

public List view
return List