Scanner

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.text.scanner
  • Platforms: .NET, .NET Standard 2.0, Island

 

constructor

 

constructor

 

Scanner()

 

init()

constructor (Reader, array of Byte, Int64, Int64, Int64, Int64, Int64, Int64, Int64, Buffer, Int64, Int64, rune, $Delegate_arg0$_arg1$<Reference<Scanner>, string>, Int64, UInt64, uint64, $DelegateRes_arg0$_arg1$<rune, Int64, Boolean>, Position) .NET, .NET Standard 2.0

 

constructor(asrc: Reader; asrcBuf: array of Byte; asrcPos: Int64; asrcEnd: Int64; asrcBufOffset: Int64; aline: Int64; acolumn: Int64; alastLineLen: Int64; alastCharLen: Int64; atokBuf: Buffer; atokPos: Int64; atokEnd: Int64; ach: rune; aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>; aErrorCount: Int64; aMode: UInt64; aWhitespace: uint64; aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, Int64, Boolean>; aPosition: Position)

 

Scanner(Reader asrc, Byte[] asrcBuf, Int64 asrcPos, Int64 asrcEnd, Int64 asrcBufOffset, Int64 aline, Int64 acolumn, Int64 alastLineLen, Int64 alastCharLen, Buffer atokBuf, Int64 atokPos, Int64 atokEnd, rune ach, $Delegate_arg0$_arg1$<Reference<Scanner>, string> aError, Int64 aErrorCount, UInt64 aMode, uint64 aWhitespace, $DelegateRes_arg0$_arg1$<rune, Int64, Boolean> aIsIdentRune, Position aPosition)

 

init(_ asrc: Reader, _ asrcBuf: Byte..., _ asrcPos: Int64, _ asrcEnd: Int64, _ asrcBufOffset: Int64, _ aline: Int64, _ acolumn: Int64, _ alastLineLen: Int64, _ alastCharLen: Int64, _ atokBuf: Buffer, _ atokPos: Int64, _ atokEnd: Int64, _ ach: rune, _ aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>, _ aErrorCount: Int64, _ aMode: UInt64, _ aWhitespace: uint64, _ aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, Int64, Boolean>, _ aPosition: Position)

Parameters:

  • asrc:
  • asrcBuf:
  • asrcPos:
  • asrcEnd:
  • asrcBufOffset:
  • aline:
  • acolumn:
  • alastLineLen:
  • alastCharLen:
  • atokBuf:
  • atokPos:
  • atokEnd:
  • ach:
  • aError:
  • aErrorCount:
  • aMode:
  • aWhitespace:
  • aIsIdentRune:
  • aPosition:

constructor (Reader, array of byte, int, int, int, int, int, int, int, Buffer, int, int, rune, $Delegate_arg0$_arg1$<Reference<Scanner>, string>, int, uint, uint64, $DelegateRes_arg0$_arg1$<rune, int, bool>, Position) Island

 

constructor(asrc: Reader; asrcBuf: array of byte; asrcPos: int; asrcEnd: int; asrcBufOffset: int; aline: int; acolumn: int; alastLineLen: int; alastCharLen: int; atokBuf: Buffer; atokPos: int; atokEnd: int; ach: rune; aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>; aErrorCount: int; aMode: uint; aWhitespace: uint64; aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, int, bool>; aPosition: Position)

 

Scanner(Reader asrc, byte[] asrcBuf, int asrcPos, int asrcEnd, int asrcBufOffset, int aline, int acolumn, int alastLineLen, int alastCharLen, Buffer atokBuf, int atokPos, int atokEnd, rune ach, $Delegate_arg0$_arg1$<Reference<Scanner>, string> aError, int aErrorCount, uint aMode, uint64 aWhitespace, $DelegateRes_arg0$_arg1$<rune, int, bool> aIsIdentRune, Position aPosition)

 

init(_ asrc: Reader, _ asrcBuf: byte..., _ asrcPos: int, _ asrcEnd: int, _ asrcBufOffset: int, _ aline: int, _ acolumn: int, _ alastLineLen: int, _ alastCharLen: int, _ atokBuf: Buffer, _ atokPos: int, _ atokEnd: int, _ ach: rune, _ aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>, _ aErrorCount: int, _ aMode: uint, _ aWhitespace: uint64, _ aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, int, bool>, _ aPosition: Position)

Parameters:

  • asrc:
  • asrcBuf:
  • asrcPos:
  • asrcEnd:
  • asrcBufOffset:
  • aline:
  • acolumn:
  • alastLineLen:
  • alastCharLen:
  • atokBuf:
  • atokPos:
  • atokEnd:
  • ach:
  • aError:
  • aErrorCount:
  • aMode:
  • aWhitespace:
  • aIsIdentRune:
  • aPosition:

constructor (Scanner)

 

constructor(value: Scanner)

 

Scanner(Scanner value)

 

init(_ value: Scanner)

Parameters:

  • value:

Column

 

property Column: int read write;

 

int Column { get; set; }

 

var Column: int { get{} set{} }

 

Column int

Error

 

var Error: $Delegate_arg0$_arg1$_<Reference<Scanner>, string>;

 

$Delegate_arg0$_arg1$_<Reference<Scanner>, string> Error

 

var Error: $Delegate_arg0$_arg1$_<Reference<Scanner>, string>

 

Error $Delegate_arg0$_arg1$_<Reference<Scanner>, string>

ErrorCount

 

var ErrorCount: int;

 

int ErrorCount

 

var ErrorCount: int

 

ErrorCount int

Filename

 

property Filename: string read write;

 

string Filename { get; set; }

 

var Filename: string { get{} set{} }

 

Filename string

Init

 

method Init(src: Reader): Reference<Scanner>

 

Reference<Scanner> Init(Reader src)

 

func Init(_ src: Reader) -> Reference<Scanner>

 

func Init(src Reader) Reference<Scanner>

Parameters:

  • src:

IsIdentRune

 

var IsIdentRune: $DelegateRes_arg0$_arg1$_<rune, int, bool>;

 

$DelegateRes_arg0$_arg1$_<rune, int, bool> IsIdentRune

 

var IsIdentRune: $DelegateRes_arg0$_arg1$_<rune, int, bool>

 

IsIdentRune $DelegateRes_arg0$_arg1$_<rune, int, bool>

IsValid

 

method IsValid: bool

 

bool IsValid()

 

func IsValid() -> bool

 

func IsValid() bool

Line

 

property Line: int read write;

 

int Line { get; set; }

 

var Line: int { get{} set{} }

 

Line int

Mode

 

var Mode: uint;

 

uint Mode

 

var Mode: uint

 

Mode uint

Next

 

method Next: rune

 

rune Next()

 

func Next() -> rune

 

func Next() rune

Offset

 

property Offset: int read write;

 

int Offset { get; set; }

 

var Offset: int { get{} set{} }

 

Offset int

Peek

 

method Peek: rune

 

rune Peek()

 

func Peek() -> rune

 

func Peek() rune

Pos

 

method Pos: Position

 

Position Pos()

 

func Pos() -> Position

 

func Pos() Position

Position

 

var Position: Position;

 

Position Position

 

var Position: Position

 

Position Position

Scan

 

method Scan: rune

 

rune Scan()

 

func Scan() -> rune

 

func Scan() rune

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

TokenText

 

method TokenText: string

 

string TokenText()

 

func TokenText() -> string

 

func TokenText() string

Whitespace

 

var Whitespace: uint64;

 

uint64 Whitespace

 

var Whitespace: uint64

 

Whitespace uint64

 

Error

 

var Error: $Delegate_arg0$_arg1$_<Reference<Scanner>, string>;

 

$Delegate_arg0$_arg1$_<Reference<Scanner>, string> Error

 

var Error: $Delegate_arg0$_arg1$_<Reference<Scanner>, string>

 

Error $Delegate_arg0$_arg1$_<Reference<Scanner>, string>

ErrorCount

 

var ErrorCount: int;

 

int ErrorCount

 

var ErrorCount: int

 

ErrorCount int

IsIdentRune

 

var IsIdentRune: $DelegateRes_arg0$_arg1$_<rune, int, bool>;

 

$DelegateRes_arg0$_arg1$_<rune, int, bool> IsIdentRune

 

var IsIdentRune: $DelegateRes_arg0$_arg1$_<rune, int, bool>

 

IsIdentRune $DelegateRes_arg0$_arg1$_<rune, int, bool>

Mode

 

var Mode: uint;

 

uint Mode

 

var Mode: uint

 

Mode uint

Position

 

var Position: Position;

 

Position Position

 

var Position: Position

 

Position Position

Whitespace

 

var Whitespace: uint64;

 

uint64 Whitespace

 

var Whitespace: uint64

 

Whitespace uint64

 

Column

 

property Column: int read write;

 

int Column { get; set; }

 

var Column: int { get{} set{} }

 

Column int

Filename

 

property Filename: string read write;

 

string Filename { get; set; }

 

var Filename: string { get{} set{} }

 

Filename string

Line

 

property Line: int read write;

 

int Line { get; set; }

 

var Line: int { get{} set{} }

 

Line int

Offset

 

property Offset: int read write;

 

int Offset { get; set; }

 

var Offset: int { get{} set{} }

 

Offset int

 

constructor

 

constructor

 

Scanner()

 

init()

constructor (Reader, array of Byte, Int64, Int64, Int64, Int64, Int64, Int64, Int64, Buffer, Int64, Int64, rune, $Delegate_arg0$_arg1$<Reference<Scanner>, string>, Int64, UInt64, uint64, $DelegateRes_arg0$_arg1$<rune, Int64, Boolean>, Position) .NET, .NET Standard 2.0

 

constructor(asrc: Reader; asrcBuf: array of Byte; asrcPos: Int64; asrcEnd: Int64; asrcBufOffset: Int64; aline: Int64; acolumn: Int64; alastLineLen: Int64; alastCharLen: Int64; atokBuf: Buffer; atokPos: Int64; atokEnd: Int64; ach: rune; aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>; aErrorCount: Int64; aMode: UInt64; aWhitespace: uint64; aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, Int64, Boolean>; aPosition: Position)

 

Scanner(Reader asrc, Byte[] asrcBuf, Int64 asrcPos, Int64 asrcEnd, Int64 asrcBufOffset, Int64 aline, Int64 acolumn, Int64 alastLineLen, Int64 alastCharLen, Buffer atokBuf, Int64 atokPos, Int64 atokEnd, rune ach, $Delegate_arg0$_arg1$<Reference<Scanner>, string> aError, Int64 aErrorCount, UInt64 aMode, uint64 aWhitespace, $DelegateRes_arg0$_arg1$<rune, Int64, Boolean> aIsIdentRune, Position aPosition)

 

init(_ asrc: Reader, _ asrcBuf: Byte..., _ asrcPos: Int64, _ asrcEnd: Int64, _ asrcBufOffset: Int64, _ aline: Int64, _ acolumn: Int64, _ alastLineLen: Int64, _ alastCharLen: Int64, _ atokBuf: Buffer, _ atokPos: Int64, _ atokEnd: Int64, _ ach: rune, _ aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>, _ aErrorCount: Int64, _ aMode: UInt64, _ aWhitespace: uint64, _ aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, Int64, Boolean>, _ aPosition: Position)

Parameters:

  • asrc:
  • asrcBuf:
  • asrcPos:
  • asrcEnd:
  • asrcBufOffset:
  • aline:
  • acolumn:
  • alastLineLen:
  • alastCharLen:
  • atokBuf:
  • atokPos:
  • atokEnd:
  • ach:
  • aError:
  • aErrorCount:
  • aMode:
  • aWhitespace:
  • aIsIdentRune:
  • aPosition:

constructor (Reader, array of byte, int, int, int, int, int, int, int, Buffer, int, int, rune, $Delegate_arg0$_arg1$<Reference<Scanner>, string>, int, uint, uint64, $DelegateRes_arg0$_arg1$<rune, int, bool>, Position) Island

 

constructor(asrc: Reader; asrcBuf: array of byte; asrcPos: int; asrcEnd: int; asrcBufOffset: int; aline: int; acolumn: int; alastLineLen: int; alastCharLen: int; atokBuf: Buffer; atokPos: int; atokEnd: int; ach: rune; aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>; aErrorCount: int; aMode: uint; aWhitespace: uint64; aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, int, bool>; aPosition: Position)

 

Scanner(Reader asrc, byte[] asrcBuf, int asrcPos, int asrcEnd, int asrcBufOffset, int aline, int acolumn, int alastLineLen, int alastCharLen, Buffer atokBuf, int atokPos, int atokEnd, rune ach, $Delegate_arg0$_arg1$<Reference<Scanner>, string> aError, int aErrorCount, uint aMode, uint64 aWhitespace, $DelegateRes_arg0$_arg1$<rune, int, bool> aIsIdentRune, Position aPosition)

 

init(_ asrc: Reader, _ asrcBuf: byte..., _ asrcPos: int, _ asrcEnd: int, _ asrcBufOffset: int, _ aline: int, _ acolumn: int, _ alastLineLen: int, _ alastCharLen: int, _ atokBuf: Buffer, _ atokPos: int, _ atokEnd: int, _ ach: rune, _ aError: $Delegate_arg0$_arg1$<Reference<Scanner>, string>, _ aErrorCount: int, _ aMode: uint, _ aWhitespace: uint64, _ aIsIdentRune: $DelegateRes_arg0$_arg1$<rune, int, bool>, _ aPosition: Position)

Parameters:

  • asrc:
  • asrcBuf:
  • asrcPos:
  • asrcEnd:
  • asrcBufOffset:
  • aline:
  • acolumn:
  • alastLineLen:
  • alastCharLen:
  • atokBuf:
  • atokPos:
  • atokEnd:
  • ach:
  • aError:
  • aErrorCount:
  • aMode:
  • aWhitespace:
  • aIsIdentRune:
  • aPosition:

constructor (Scanner)

 

constructor(value: Scanner)

 

Scanner(Scanner value)

 

init(_ value: Scanner)

Parameters:

  • value:

IsValid

 

method IsValid: bool

 

bool IsValid()

 

func IsValid() -> bool

 

func IsValid() bool

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

Init

 

method Init(src: Reader): Reference<Scanner>

 

Reference<Scanner> Init(Reader src)

 

func Init(_ src: Reader) -> Reference<Scanner>

 

func Init(src Reader) Reference<Scanner>

Parameters:

  • src:

Next

 

method Next: rune

 

rune Next()

 

func Next() -> rune

 

func Next() rune

Peek

 

method Peek: rune

 

rune Peek()

 

func Peek() -> rune

 

func Peek() rune

Pos

 

method Pos: Position

 

Position Pos()

 

func Pos() -> Position

 

func Pos() Position

Scan

 

method Scan: rune

 

rune Scan()

 

func Scan() -> rune

 

func Scan() rune

TokenText

 

method TokenText: string

 

string TokenText()

 

func TokenText() -> string

 

func TokenText() string