C# Class Microsoft.Html.Core.Tree.Nodes.TagNode

Node representing start or end tag of an element
Inheritance: TreeNode
ファイルを表示 Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Complete ( ReadOnlyCollection attributes, ITextRange closingSequence, bool closed, bool isShorthand, bool selfClosing ) : void
Contains ( int position ) : bool

Determines if node contains given position

HasPrefix ( ) : bool
Shift ( int offset ) : void
ShiftStartingFrom ( int position, int offset ) : void
TagNode ( ElementNode parent, int openAngleBracketPosition, NameToken nameToken, int maxEnd ) : System

Private Methods

Method Description
ToString ( ) : string

Method Details

Complete() public method

public Complete ( ReadOnlyCollection attributes, ITextRange closingSequence, bool closed, bool isShorthand, bool selfClosing ) : void
attributes ReadOnlyCollection
closingSequence ITextRange
closed bool
isShorthand bool
selfClosing bool
return void

Contains() public method

Determines if node contains given position
public Contains ( int position ) : bool
position int Position in a text buffer
return bool

HasPrefix() public method

public HasPrefix ( ) : bool
return bool

Shift() public method

public Shift ( int offset ) : void
offset int
return void

ShiftStartingFrom() public method

public ShiftStartingFrom ( int position, int offset ) : void
position int
offset int
return void

TagNode() public method

public TagNode ( ElementNode parent, int openAngleBracketPosition, NameToken nameToken, int maxEnd ) : System
parent ElementNode
openAngleBracketPosition int
nameToken Microsoft.Html.Core.Parser.Tokens.NameToken
maxEnd int
return System