Overview

Namespaces

  • Alvine
    • Markup
      • Html
        • Constraint
        • Element
          • Html
          • Svg
        • Node
        • Operation
        • Tokenizer
          • State
          • Token
            • Util
        • TreeConstructor
          • InsertionMode

Classes

  • AfterAttributeName
  • AfterAttributeValueQuoted
  • AfterDoctypeName
  • AfterDoctypePublicIdentifier
  • AfterDoctypePublicKeyword
  • AfterDoctypeSystemIdentifier
  • AfterDoctypeSystemKeyword
  • AttributeName
  • AttributeValueDoubleQuoted
  • AttributeValueQuoted
  • AttributeValueSingleQuoted
  • AttributeValueUnquoted
  • BeforeAttributeName
  • BeforeAttributeValue
  • BeforeDoctypeName
  • BeforeDoctypePublicIdentifier
  • BeforeDoctypeSystemIdentifier
  • BetweenDoctypePublicAndSystemIdentifiers
  • BogusComment
  • BogusDoctype
  • CDataSection
  • CharacterReferenceInAttributeValue
  • CharacterReferenceInData
  • CharacterReferenceInRcData
  • Comment
  • CommentEnd
  • CommentEndBang
  • CommentEndDash
  • CommentStart
  • CommentStartDash
  • Data
  • DataTextEndTagName
  • Doctype
  • DoctypeName
  • DoctypePublicIdentifierDoubleQuoted
  • DoctypePublicIdentifierQuoted
  • DoctypePublicIdentifierSingleQuoted
  • DoctypeSystemIdentifierDoubleQuoted
  • DoctypeSystemIdentifierQuoted
  • DoctypeSystemIdentifierSingleQuoted
  • EndTagOpen
  • MarkupDeclarationOpen
  • Plaintext
  • RawText
  • RawTextEndTagName
  • RawTextEndTagOpen
  • RawTextLessThanSign
  • RcData
  • RcDataEndTagName
  • RcDataEndTagOpen
  • RcDataLessThanSign
  • ScriptData
  • ScriptDataDoubleEscaped
  • ScriptDataDoubleEscapedDash
  • ScriptDataDoubleEscapedDashDash
  • ScriptDataDoubleEscapedLessThanSign
  • ScriptDataDoubleEscapeEnd
  • ScriptDataDoubleEscapeStart
  • ScriptDataEndTagName
  • ScriptDataEndTagOpen
  • ScriptDataEscaped
  • ScriptDataEscapedDash
  • ScriptDataEscapedDashDash
  • ScriptDataEscapedEndTagName
  • ScriptDataEscapedEndTagOpen
  • ScriptDataEscapedLessThanSign
  • ScriptDataEscapeStart
  • ScriptDataEscapeStartDash
  • ScriptDataLessThanSign
  • SelfClosingStartTag
  • TagName
  • TagOpen
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class BogusComment

BogusComment

Diese Methode bildet den Status 8.2.4.44 Bogus comment state der HTML-Spezifikation ab.

Alvine\Core\Alvine
Extended by Alvine\Markup\Html\Tokenizer\State
Extended by Alvine\Markup\Html\Tokenizer\State\BogusComment
Namespace: Alvine\Markup\Html\Tokenizer\State
Package: Alvine\Markup\Html
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20150302
Link: Consume every character up to and including the first ">" (U+003E) character or the end of the file (EOF), whichever comes first. Emit a comment token whose data is the concatenation of all the characters starting from and including the character that caused the state machine to switch into the bogus comment state, up to and including the character immediately before the last consumed character (i.e. up to the character just before the U+003E or EOF character), but with any U+0000 NULL characters replaced by U+FFFD REPLACEMENT CHARACTER characters. (If the comment was started by the end of the file (EOF), the token is empty. Similarly, the token is empty if it was generated by the string ">!<".) Switch to the data state. If the end of the file was reached, reconsume the EOF character.
Link: alvine.io
Located at tokenizer/state/BogusComment.class.php
Methods summary
public
# __construct( Alvine\Markup\Html\Tokenizer $tokenizer, Alvine\Markup\Html\Tokenizer\Token\Comment $currentToken )

Neues Objekt

Neues Objekt

Parameters

$tokenizer
Tokenizer
$currentToken
CurrentTag

Overrides

Alvine\Markup\Html\Tokenizer\State::__construct()
public Alvine\Markup\Html\Tokenizer\BogusComment
# parse( )

parse

parse

Diese Methode bildet den Status 8.2.4.44 Bogus comment state der HTML-Spezifikation ab.

Returns

Alvine\Markup\Html\Tokenizer\BogusComment

Link

http://www.w3.org/TR/html5/syntax.html
Properties summary
protected Alvine\Markup\Html\Tokenizer\Token\Comment $currentToken
#
Properties inherited from Alvine\Markup\Html\Tokenizer\State
$tokenizer
alvine.markup.html API-Dokumentation 1.2.0 | © schukai GmbH | Impressum