C# Class Microsoft.Html.Core.Parser.Tokens.HtmlTokenizer

Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
GetComment ( ) : IHtmlToken[]
GetNameToken ( int tagEnd = Int32.MaxValue, bool artifactTag = false ) : NameToken
GetQuotedAttributeValue ( bool isScript, int tagEnd ) : IHtmlAttributeValueToken

Retrieves quoted attribute value token at the current character stream position

GetUnquotedAttributeValue ( int tagEnd ) : IHtmlAttributeValueToken

Retrieves unquoted attribute value

HtmlTokenizer ( HtmlCharStream cs ) : System
SkipWhitespace ( ) : void

Method Details

GetComment() public method

public GetComment ( ) : IHtmlToken[]
return IHtmlToken[]

GetNameToken() public method

public GetNameToken ( int tagEnd = Int32.MaxValue, bool artifactTag = false ) : NameToken
tagEnd int
artifactTag bool
return NameToken

GetQuotedAttributeValue() public method

Retrieves quoted attribute value token at the current character stream position
public GetQuotedAttributeValue ( bool isScript, int tagEnd ) : IHtmlAttributeValueToken
isScript bool True if attribute is a script, like onclick
tagEnd int
return IHtmlAttributeValueToken

GetUnquotedAttributeValue() public method

Retrieves unquoted attribute value
public GetUnquotedAttributeValue ( int tagEnd ) : IHtmlAttributeValueToken
tagEnd int
return IHtmlAttributeValueToken

HtmlTokenizer() public method

public HtmlTokenizer ( HtmlCharStream cs ) : System
cs Microsoft.Html.Core.Parser.Utility.HtmlCharStream
return System

SkipWhitespace() public method

public SkipWhitespace ( ) : void
return void