C# Class ExamplesFx.ColorCode.Parsing.LanguageParser

Inheritance: ILanguageParser
Afficher le fichier Open project: MarcosMeli/ExamplesFx

Méthodes publiques

Méthode Description
LanguageParser ( ILanguageCompiler languageCompiler, ILanguageRepository languageRepository ) : System
Parse ( string sourceCode, ILanguage language, Action parseHandler ) : void

Private Methods

Méthode Description
AddScopeToNestedScopes ( Scope scope, Scope &currentScope, ICollection capturedStyleTree ) : void
AppendCapturedStylesForNestedLanguage ( Capture regexCapture, int offset, string nestedLanguageId, ICollection capturedStyles ) : void
AppendCapturedStylesForRegexCapture ( Capture regexCapture, int currentIndex, string styleName, ICollection capturedStyles ) : void
CreateCapturedStyleTree ( IList capturedStyles ) : List
GetCapturedStyles ( Match regexMatch, int currentIndex, CompiledLanguage compiledLanguage ) : List
IncreaseCapturedStyleIndicies ( IList capturedStyles, int amountToIncrease ) : void
Parse ( string sourceCode, CompiledLanguage compiledLanguage, Action parseHandler ) : void

Method Details

LanguageParser() public méthode

public LanguageParser ( ILanguageCompiler languageCompiler, ILanguageRepository languageRepository ) : System
languageCompiler ILanguageCompiler
languageRepository ILanguageRepository
Résultat System

Parse() public méthode

public Parse ( string sourceCode, ILanguage language, Action parseHandler ) : void
sourceCode string
language ILanguage
parseHandler Action
Résultat void