Table of Contents

Class TextMateParser

Namespace
Alternet.Syntax.Parsers.TextMate
Assembly
Alternet.Syntax.Parsers.TextMate.v9.dll
[ToolboxBitmap(typeof(TextMateParser), "Parser.Generic.TextMate.Icon.bmp")]
public class TextMateParser : SyntaxParser, IComponent, IDisposable, ISyntaxParser, IParser, ILexer, INotify, IUpdate, IImport
Inheritance
TextMateParser
Implements
Derived

Constructors

TextMateParser()

Properties

FileName

Gets or sets file name of the file being parsed.

LanguageDefinition
ThemeName

Methods

CodeCompletion(string, StringItemInfo[], Point, CodeCompletionArgs)

Performs code completion for the specified text representing language element.

CollectTokens()
CompleteBrace(Point, CodeCompletionArgs)
CreateRepository()

Creates ICodeCompletionRepository to perform code completion functionality for this parser.

GetCompletionType(char)

Obtains type of code completion window from specifies char parameter.

GetGrammarExtension()
GetMultiLineComment(out string, out string)

Gets the start and symbols multi-line comment.

GetSingleLineComment()

Gets the string that represents start symbol of single line comment.

GetSmartIndent(int, bool)

Returns indentation level of specified line.

IsValidRulesOrScopes(List<string>, List<ThemeTrieElementRule>, out string)
IsValidToken(string)
OnFileNameChanged()
OnThemeNameChanged()
ParseText(int, int, string, ref StringItemInfo[])

Performs lexical analysis of given text.

ParseText(int, int, string, ref int, ref int, ref int)

Performs lexical analysis of given text.

ParseText(ITokenizeLineResult, Theme, int, string, ref StringItemInfo[])
ParseUnit()
ProcessFolding()
ProcessIndentationBasedFolding()
ReparseText()

Reparses entire text.

Reset()

Resets SyntaxParser to the start position.

ResetOptions()

Resets Options to the default value.

ShouldSerializeOptions()

Indicates whether the Options property should be persisted.

ShouldSerializeUseScheme()

Indicates whether the UseScheme property should be persisted.

UpdateCodeCompletionChars()
UpdateGrammar()
UpdateTheme()