Tokenizer

Overview

Location

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) void

 

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() void

 

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) void

 

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() -> (Slice<Byte>, Slice<Byte>, Boolean)

 

func TagAttr() tuple of (|name=key| Slice<Byte>, |name=val| Slice<Byte>, |name=moreAttr| Boolean)

 

Function TagAttr() As Tuple (Of Slice<Byte>, Slice<Byte>, Boolean)

TagName

 

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

 

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

 

func TagName() -> (Slice<Byte>, Boolean)

 

func TagName() tuple of (|name=name| Slice<Byte>, |name=hasAttr| Boolean)

 

Function TagName() As Tuple (Of Slice<Byte>, 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