C# Class CoolCompiler.CoolFoldingStrategy

Allows producing foldings from a document based on braces.
Inheritance: ICSharpCode.AvalonEdit.Folding.AbstractFoldingStrategy
Afficher le fichier Open project: KvanTTT/Cool-Compiler Class Usage Examples

Méthodes publiques

Méthode Description
CoolFoldingStrategy ( ) : System

Creates a new BraceFoldingStrategy.

CreateNewFoldings ( ITextSource document ) : IEnumerable

Create NewFoldings for the specified document.

CreateNewFoldings ( TextDocument document, int &firstErrorOffset ) : IEnumerable

Create NewFoldings for the specified document.

Method Details

CoolFoldingStrategy() public méthode

Creates a new BraceFoldingStrategy.
public CoolFoldingStrategy ( ) : System
Résultat System

CreateNewFoldings() public méthode

Create NewFoldings for the specified document.
public CreateNewFoldings ( ITextSource document ) : IEnumerable
document ITextSource
Résultat IEnumerable

CreateNewFoldings() public méthode

Create NewFoldings for the specified document.
public CreateNewFoldings ( TextDocument document, int &firstErrorOffset ) : IEnumerable
document ICSharpCode.AvalonEdit.Document.TextDocument
firstErrorOffset int
Résultat IEnumerable