Table of Contents

Class HtmlTemplateParser

Namespace
Alternet.Syntax.Parsers.Advanced
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll
public class HtmlTemplateParser : HtmlParser, IComponent, IDisposable, ISyntaxParser, IParser, ILexer, INotify, IUpdate, IImport
Inheritance
HtmlTemplateParser
Implements
Derived

Constructors

HtmlTemplateParser()

Fields

CsOffset
StringStart
VbOffset
csParser
template
templates
vbParser

Properties

BackCodeColor
BackCommentColor
BackDirectiveColor
ForeCommentColor

Methods

AddTemplateNode(ISyntaxNode, ISyntaxNode, Point)
CheckTemplate()
CodeCompletion(string, StringItemInfo[], Point, bool, CodeCompletionArgs)

Performs code completion for the specified text representing language element.

CreateCsParser()
CreateRepository()

Creates ICodeCompletionRepository to perform code completion functionality for this parser.

CreateVbParser()
DefineTemplateLanguage()
FillTemplate(CodeCompletionArgs)
GetCompletionType(char)

Obtains type of code completion window from specifies char parameter.

GetLexerState(int)
GetLexerStyle(int)
GetMultiLineComment(out string, out string)

Gets the start and symbols multi-line comment.

GetParserText(ISyntaxParser, ISyntaxNode)
GetTemplateNode(Point, ref ISyntaxParser)
GetUsingList(ISyntaxNode)
InitStyles()
IsTemplateNode(ISyntaxNode)
LexComment()
LexCommentEnd()
LexString()
LexStringEnd(char)
ParseOpenTag()
ParseTag(ISyntaxNode)
ParseTemplateBody(ISyntaxParser, int, int, string)
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.

ParseToken(LexerProc, ref int, ref int, ref int, ref int, ref int, ref int)
RegisterAssembly(Assembly)
RegisterAssembly(string)
ReparseBlock(Point)

Reparses syntax block at specified position.

ReparseText()

Reparses entire text.

Reset(int, int, int)

Resets Parser to the specified position.

ResetCodeCompletionChars()

Resets CodeCompletionChars to the default value.

ResetOptions()

Resets Options to the default value.

ShiftPoint(Point, Point)
ShouldSerializeCodeCompletionChars()

Indicates whether the CodeCompletionChars property should be persisted.

ShouldSerializeOptions()

Indicates whether the Options property should be persisted.

UnregisterAssembly(Assembly, bool)
UnregisterAssembly(string, bool)
UpdateUsingList(ISyntaxNode)