Tokenizer

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.golang.org.x.net.html
  • Platforms: .NET, .NET Standard 2.0, Island

Instance Methods


constructor

 

constructor

 

Tokenizer()

 

init()

 

Sub New()

constructor (Tokenizer)

 

constructor(value: Tokenizer)

 

Tokenizer(Tokenizer value)

 

init(_ value: Tokenizer)

 

Sub New(value As Tokenizer)

Parameters:

  • value:

AllowCDATA

 

method AllowCDATA(allowCDATA: bool)

 

void AllowCDATA(bool allowCDATA)

 

func AllowCDATA(_ allowCDATA: bool)

 

func AllowCDATA(allowCDATA bool)

 

Sub AllowCDATA(allowCDATA As bool)

Parameters:

  • allowCDATA:

Buffered

 

method Buffered: Slice<Byte>

 

Slice<Byte> Buffered()

 

func Buffered() -> Slice<Byte>

 

func Buffered() Slice<Byte>

 

Function Buffered() As Slice<Byte>

Err

 

method Err: error

 

error Err()

 

func Err() -> error

 

func Err() error

 

Function Err() As error

Next

 

method Next: TokenType

 

TokenType Next()

 

func Next() -> TokenType

 

func Next() TokenType

 

Function Next() As TokenType

NextIsNotRawText

 

method NextIsNotRawText

 

void NextIsNotRawText()

 

func NextIsNotRawText()

 

func NextIsNotRawText()

 

Sub NextIsNotRawText()

Raw

 

method Raw: Slice<Byte>

 

Slice<Byte> Raw()

 

func Raw() -> Slice<Byte>

 

func Raw() Slice<Byte>

 

Function Raw() As Slice<Byte>

SetMaxBuf

 

method SetMaxBuf(n: int)

 

void SetMaxBuf(int n)

 

func SetMaxBuf(_ n: int)

 

func SetMaxBuf(n int)

 

Sub SetMaxBuf(n As int)

Parameters:

  • n:

TagAttr

 

method TagAttr: tuple of (key: Slice<Byte>, val: Slice<Byte>, moreAttr: Boolean)

 

(Slice<Byte> key, Slice<Byte> val, Boolean moreAttr) TagAttr()

 

func TagAttr() -> (key:Slice<Byte>, val:Slice<Byte>, moreAttr:Boolean)

 

func TagAttr() (key Slice<Byte>, val Slice<Byte>, moreAttr Boolean)

 

Function TagAttr() As Tuple (Of key:=Slice<Byte>, val:=Slice<Byte>, moreAttr:=Boolean)

TagName

 

method TagName: tuple of (name: Slice<Byte>, hasAttr: Boolean)

 

(Slice<Byte> name, Boolean hasAttr) TagName()

 

func TagName() -> (name:Slice<Byte>, hasAttr:Boolean)

 

func TagName() (name Slice<Byte>, hasAttr Boolean)

 

Function TagName() As Tuple (Of name:=Slice<Byte>, hasAttr:=Boolean)

Text

 

method Text: Slice<Byte>

 

Slice<Byte> Text()

 

func Text() -> Slice<Byte>

 

func Text() Slice<Byte>

 

Function Text() As Slice<Byte>

Token

 

method Token: Token

 

Token Token()

 

func Token() -> Token

 

func Token() Token

 

Function Token() As Token