Property | Type | Description | |
---|---|---|---|
ampersandLocation | Locator | ||
attributeName | AttributeName | ||
confident | bool | ||
cstart | int | ||
endTag | bool | ||
endTagExpectation | ElementName | ||
html4 | bool | ||
index | int | ||
lastCR | bool | ||
stateSave | TokenizerState | ||
value | int |
Method | Description | |
---|---|---|
BecomeConfident ( ) : void | ||
End ( ) : void | ||
Eof ( ) : void | ||
Err ( string message ) : void | ||
ErrTreeBuilder ( string message ) : void | ||
Fatal ( string message ) : void | ||
InitializeWithoutStarting ( ) : void | ||
InternalEncodingDeclaration ( string internalCharset ) : bool | ||
LoadState ( Tokenizer other ) : void | ||
NotifyAboutMetaBoundary ( ) : void | ||
RequestSuspension ( ) : void | ||
ResetToDataState ( ) : void | ||
SetStateAndEndTagExpectation ( TokenizerState specialTokenizerState, ElementName endTagExpectation ) : void | ||
SetStateAndEndTagExpectation ( TokenizerState specialTokenizerState, [ endTagExpectation ) : void | ||
SetTransitionBaseOffset ( int offset ) : void |
Sets an offset to be added to the position reported to
|
|
Start ( ) : void | ||
TokenizeBuffer ( UTF16Buffer buffer ) : bool | ||
Tokenizer ( ITokenHandler tokenHandler ) : System | ||
Tokenizer ( ITokenHandler tokenHandler, bool newAttributesEachTime ) : System | ||
Warn ( string message ) : void |
Method | Description | |
---|---|---|
AddAttributeWithValue ( ) : void | ||
AddAttributeWithoutValue ( ) : void | ||
AdjustDoubleHyphenAndAppendToLongStrBufAndErr ( char c ) : void | ||
AdjustDoubleHyphenAndAppendToLongStrBufCarriageReturn ( ) : void | ||
AdjustDoubleHyphenAndAppendToLongStrBufLineFeed ( ) : void | ||
AppendLongStrBuf ( char c ) : void | ||
AppendLongStrBuf ( char buffer, int offset, int length ) : void | ||
AppendLongStrBufCarriageReturn ( ) : void | ||
AppendLongStrBufLineFeed ( ) : void | ||
AppendSecondHyphenToBogusComment ( ) : void | ||
AppendStrBuf ( char c ) : void | ||
AppendStrBufToLongStrBuf ( ) : void | ||
AttributeNameComplete ( ) : void | ||
BogusDoctype ( ) : void | ||
BogusDoctypeWithoutQuirks ( ) : void | ||
ClearLongStrBuf ( ) : void | ||
ClearLongStrBufAndAppend ( char c ) : void | ||
ClearStrBuf ( ) : void | ||
ClearStrBufAndAppend ( char c ) : void | ||
EmitCarriageReturn ( char buf, int pos ) : void | ||
EmitComment ( int provisionalHyphens, int pos ) : void |
Emits the current comment token.
|
|
EmitCurrentTagToken ( bool selfClosing, int pos ) : TokenizerState | ||
EmitDoctypeToken ( int pos ) : void | ||
EmitOrAppendOne ( char val, TokenizerState returnState ) : void | ||
EmitOrAppendStrBuf ( TokenizerState returnState ) : void | ||
EmitOrAppendTwo ( char val, TokenizerState returnState ) : void | ||
EmitPlaintextReplacementCharacter ( char buf, int pos ) : void | ||
EmitReplacementCharacter ( char buf, int pos ) : void | ||
EmitStrBuf ( ) : void | ||
EmptyAttributes ( ) : HtmlAttributes | ||
EndTagExpectationToArray ( ) : void | ||
HandleNcrValue ( TokenizerState returnState ) : void | ||
InitDoctypeFields ( ) : void | ||
LongStrBufToString ( ) : string | ||
MaybeAppendSpaceToBogusComment ( ) : void | ||
NewAsciiLowerCaseStringFromString ( String str ) : String | ||
ResetAttributes ( ) : void | ||
SetAdditionalAndRememberAmpersandLocation ( char add ) : void | ||
StateLoop ( TokenizerState state, char c, int pos, char buf, bool reconsume, TokenizerState returnState, int endPos ) : int | ||
StrBufToDoctypeName ( ) : void | ||
StrBufToElementNameString ( ) : void | ||
TurnOnAdditionalHtml4Errors ( ) : void |
protected ErrAstralNonCharacter ( int ch ) : void | ||
ch | int | |
return | void |
protected ErrAttributeValueMissing ( ) : void | ||
return | void |
protected ErrBadCharAfterLt ( char c ) : void | ||
c | char | |
return | void |
protected ErrBadCharBeforeAttributeNameOrNull ( char c ) : void | ||
c | char | |
return | void |
protected ErrCharRefLacksSemicolon ( ) : void | ||
return | void |
protected ErrEqualsSignBeforeAttributeName ( ) : void | ||
return | void |
protected ErrHtml4LtSlashInRcdata ( char folded ) : void | ||
folded | char | |
return | void |
protected ErrHtml4NonNameInUnquotedAttribute ( char c ) : void | ||
c | char | |
return | void |
protected ErrLtOrEqualsOrGraveInUnquotedAttributeOrNull ( char c ) : void | ||
c | char | |
return | void |
protected ErrMissingSpaceBeforeDoctypeName ( ) : void | ||
return | void |
protected ErrNcrControlChar ( char ch ) : char | ||
ch | char | |
return | char |
protected ErrNcrNonCharacter ( char ch ) : char | ||
ch | char | |
return | char |
protected ErrNoNamedCharacterMatch ( ) : void | ||
return | void |
protected ErrNoSpaceBetweenAttributes ( ) : void | ||
return | void |
protected ErrNoSpaceBetweenDoctypePublicKeywordAndQuote ( ) : void | ||
return | void |
protected ErrNoSpaceBetweenDoctypeSystemKeywordAndQuote ( ) : void | ||
return | void |
protected ErrNoSpaceBetweenPublicAndSystemIds ( ) : void | ||
return | void |
protected ErrNotSemicolonTerminated ( ) : void | ||
return | void |
protected ErrPrematureEndOfComment ( ) : void | ||
return | void |
protected ErrProcessingInstruction ( ) : void | ||
return | void |
protected ErrQuoteBeforeAttributeName ( char c ) : void | ||
c | char | |
return | void |
protected ErrQuoteOrLtInAttributeNameOrNull ( char c ) : void | ||
c | char | |
return | void |
public ErrTreeBuilder ( string message ) : void | ||
message | string | |
return | void |
protected ErrUnescapedAmpersandInterpretedAsCharacterReference ( ) : void | ||
return | void |
protected ErrUnquotedAttributeValOrNull ( char c ) : void | ||
c | char | |
return | void |
protected FlushChars ( char buf, int pos ) : void | ||
buf | char | The buffer. |
pos | int | The position. |
return | void |
public InternalEncodingDeclaration ( string internalCharset ) : bool | ||
internalCharset | string | |
return | bool |
protected MaybeErrAttributesOnEndTag ( HtmlAttributes attrs ) : void | ||
attrs | HtmlAttributes | |
return | void |
protected MaybeErrSlashInEndTag ( bool selfClosing ) : void | ||
selfClosing | bool | |
return | void |
protected MaybeWarnPrivateUse ( char ch ) : void | ||
ch | char | |
return | void |
protected MaybeWarnPrivateUseAstral ( ) : void | ||
return | void |
protected NoteAttributeWithoutValue ( ) : void | ||
return | void |
protected NoteUnquotedAttributeValue ( ) : void | ||
return | void |
public SetStateAndEndTagExpectation ( TokenizerState specialTokenizerState, ElementName endTagExpectation ) : void | ||
specialTokenizerState | TokenizerState | |
endTagExpectation | ElementName | |
return | void |
public SetStateAndEndTagExpectation ( TokenizerState specialTokenizerState, [ endTagExpectation ) : void | ||
specialTokenizerState | TokenizerState | |
endTagExpectation | [ | |
return | void |
public SetTransitionBaseOffset ( int offset ) : void | ||
offset | int | The offset. |
return | void |
public TokenizeBuffer ( UTF16Buffer buffer ) : bool | ||
buffer | UTF16Buffer | |
return | bool |
public Tokenizer ( ITokenHandler tokenHandler ) : System | ||
tokenHandler | ITokenHandler | |
return | System |
public Tokenizer ( ITokenHandler tokenHandler, bool newAttributesEachTime ) : System | ||
tokenHandler | ITokenHandler | |
newAttributesEachTime | bool | |
return | System |