Table of Contents

Class HtmlScriptParser

Namespace
Alternet.Syntax.Parsers.Advanced
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

Represents properties and methods to perform syntax analysis of specified html code text with script code fragments.

[Serializable]
public class HtmlScriptParser : HtmlParser, IComponent, IDisposable, ISyntaxParser, IParser, ILexer, INotify, IUpdate, IImport
Inheritance
HtmlScriptParser
Implements

Constructors

HtmlScriptParser()

Fields

CssOffset
JavaScriptOffset

Methods

AddCssNode(ISyntaxNode, ISyntaxNode, Point)
AddJsNode(ISyntaxNode, ISyntaxNode, Point)
CodeCompletion(string, StringItemInfo[], Point, bool, CodeCompletionArgs)

Performs code completion for the specified text representing language element.

GetCompletionType(char)

Obtains type of code completion window from specifies char parameter.

GetCssNode(Point)
GetLexerState(int)
GetMultiLineComment(Point, out string, out string)

Gets the start and symbols multi-line comment.

GetMultiLineComment(out string, out string)

Gets the start and symbols multi-line comment.

GetScriptNode(Point)
GetScriptOrCssNode(Point)
GetSingleLineComment(Point)

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

InitDefaultStyles()
IsCssNode(ISyntaxNode)
IsScriptNode(ISyntaxNode)
LexTag()
OffsetPoint(Point, int, int)
ParseBody()
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)
ReparseBlock(Point)

Reparses syntax block at specified position.

ResetOptions()

Resets Options to the default value.

ShiftPoint(Point, Point)
ShouldSerializeOptions()

Indicates whether the Options property should be persisted.