Scanner

Overview

Location

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

 

constructor

 

constructor

 

Scanner()

 

init()

 

Sub New()

 

// .NET, .NET Standard 2.0
constructor(afile: Memory<File>; adir: string; asrc: Slice<Byte>; aerr: ErrorHandler; amode: Mode; ach: rune; aoffset: Int64; ardOffset: Int64; alineOffset: Int64; ainsertSemi: Boolean; aErrorCount: Int64)
// Island
constructor(afile: Memory<File>; adir: string; asrc: Slice<Byte>; aerr: ErrorHandler; amode: Mode; ach: rune; aoffset: int; ardOffset: int; alineOffset: int; ainsertSemi: bool; aErrorCount: int)

 

// .NET, .NET Standard 2.0
Scanner(Memory<File> afile, string adir, Slice<Byte> asrc, ErrorHandler aerr, Mode amode, rune ach, Int64 aoffset, Int64 ardOffset, Int64 alineOffset, Boolean ainsertSemi, Int64 aErrorCount)
// Island
Scanner(Memory<File> afile, string adir, Slice<Byte> asrc, ErrorHandler aerr, Mode amode, rune ach, int aoffset, int ardOffset, int alineOffset, bool ainsertSemi, int aErrorCount)

 

// .NET, .NET Standard 2.0
init(_ afile: Memory<File>, _ adir: string, _ asrc: Slice<Byte>, _ aerr: ErrorHandler, _ amode: Mode, _ ach: rune, _ aoffset: Int64, _ ardOffset: Int64, _ alineOffset: Int64, _ ainsertSemi: Boolean, _ aErrorCount: Int64)
// Island
init(_ afile: Memory<File>, _ adir: string, _ asrc: Slice<Byte>, _ aerr: ErrorHandler, _ amode: Mode, _ ach: rune, _ aoffset: int, _ ardOffset: int, _ alineOffset: int, _ ainsertSemi: bool, _ aErrorCount: int)

 

// .NET, .NET Standard 2.0
Sub New(afile As Memory<File>, adir As string, asrc As Slice<Byte>, aerr As ErrorHandler, amode As Mode, ach As rune, aoffset As Int64, ardOffset As Int64, alineOffset As Int64, ainsertSemi As Boolean, aErrorCount As Int64)
// Island
Sub New(afile As Memory<File>, adir As string, asrc As Slice<Byte>, aerr As ErrorHandler, amode As Mode, ach As rune, aoffset As int, ardOffset As int, alineOffset As int, ainsertSemi As bool, aErrorCount As int)

Parameters:

  • afile:
  • adir:
  • asrc:
  • aerr:
  • amode:
  • ach:
  • aoffset:
  • ardOffset:
  • alineOffset:
  • ainsertSemi:
  • aErrorCount:

constructor (Scanner)

 

constructor(value: Scanner)

 

Scanner(Scanner value)

 

init(_ value: Scanner)

 

Sub New(value As Scanner)

Parameters:

  • value:

ErrorCount

 

var ErrorCount: int;

 

int ErrorCount

 

var ErrorCount: int

 

ErrorCount int

 

FIELD ErrorCount() As int

Init

 

// .NET, .NET Standard 2.0
method Init(file: Memory<File>; src: Slice<Byte>; err: ErrorHandler; mode: Mode)
// Island
method Init(file: Memory<File>; src: Slice<Byte>; err: ErrorHandler; mode: Mode)

 

// .NET, .NET Standard 2.0
void Init(Memory<File> file, Slice<Byte> src, ErrorHandler err, Mode mode)
// Island
void Init(Memory<File> file, Slice<Byte> src, ErrorHandler err, Mode mode)

 

// .NET, .NET Standard 2.0
func Init(_ file: Memory<File>, _ src: Slice<Byte>, _ err: ErrorHandler, _ mode: Mode)
// Island
func Init(_ file: Memory<File>, _ src: Slice<Byte>, _ err: ErrorHandler, _ mode: Mode)

 

// .NET, .NET Standard 2.0
func Init(file Memory<File>, src Slice<Byte>, err ErrorHandler, mode Mode) 
// Island
func Init(file Memory<File>, src Slice<Byte>, err ErrorHandler, mode Mode) void

 

// .NET, .NET Standard 2.0
Sub Init(file As Memory<File>, src As Slice<Byte>, err As ErrorHandler, mode As Mode)
// Island
Sub Init(file As Memory<File>, src As Slice<Byte>, err As ErrorHandler, mode As Mode)

Parameters:

  • file:
  • src:
  • err:
  • mode:

Scan

 

method Scan: tuple of (pos: Pos, tok: Token, lit: string)

 

(Pos pos, Token tok, string lit) Scan()

 

func Scan() -> (Pos, Token, string)

 

func Scan() tuple of (|name=pos| Pos, |name=tok| Token, |name=lit| string)

 

Function Scan() As Tuple (Of Pos, Token, string)

 

ErrorCount

 

var ErrorCount: int;

 

int ErrorCount

 

var ErrorCount: int

 

ErrorCount int

 

FIELD ErrorCount() As int

 

constructor

 

constructor

 

Scanner()

 

init()

 

Sub New()

 

// .NET, .NET Standard 2.0
constructor(afile: Memory<File>; adir: string; asrc: Slice<Byte>; aerr: ErrorHandler; amode: Mode; ach: rune; aoffset: Int64; ardOffset: Int64; alineOffset: Int64; ainsertSemi: Boolean; aErrorCount: Int64)
// Island
constructor(afile: Memory<File>; adir: string; asrc: Slice<Byte>; aerr: ErrorHandler; amode: Mode; ach: rune; aoffset: int; ardOffset: int; alineOffset: int; ainsertSemi: bool; aErrorCount: int)

 

// .NET, .NET Standard 2.0
Scanner(Memory<File> afile, string adir, Slice<Byte> asrc, ErrorHandler aerr, Mode amode, rune ach, Int64 aoffset, Int64 ardOffset, Int64 alineOffset, Boolean ainsertSemi, Int64 aErrorCount)
// Island
Scanner(Memory<File> afile, string adir, Slice<Byte> asrc, ErrorHandler aerr, Mode amode, rune ach, int aoffset, int ardOffset, int alineOffset, bool ainsertSemi, int aErrorCount)

 

// .NET, .NET Standard 2.0
init(_ afile: Memory<File>, _ adir: string, _ asrc: Slice<Byte>, _ aerr: ErrorHandler, _ amode: Mode, _ ach: rune, _ aoffset: Int64, _ ardOffset: Int64, _ alineOffset: Int64, _ ainsertSemi: Boolean, _ aErrorCount: Int64)
// Island
init(_ afile: Memory<File>, _ adir: string, _ asrc: Slice<Byte>, _ aerr: ErrorHandler, _ amode: Mode, _ ach: rune, _ aoffset: int, _ ardOffset: int, _ alineOffset: int, _ ainsertSemi: bool, _ aErrorCount: int)

 

// .NET, .NET Standard 2.0
Sub New(afile As Memory<File>, adir As string, asrc As Slice<Byte>, aerr As ErrorHandler, amode As Mode, ach As rune, aoffset As Int64, ardOffset As Int64, alineOffset As Int64, ainsertSemi As Boolean, aErrorCount As Int64)
// Island
Sub New(afile As Memory<File>, adir As string, asrc As Slice<Byte>, aerr As ErrorHandler, amode As Mode, ach As rune, aoffset As int, ardOffset As int, alineOffset As int, ainsertSemi As bool, aErrorCount As int)

Parameters:

  • afile:
  • adir:
  • asrc:
  • aerr:
  • amode:
  • ach:
  • aoffset:
  • ardOffset:
  • alineOffset:
  • ainsertSemi:
  • aErrorCount:

constructor (Scanner)

 

constructor(value: Scanner)

 

Scanner(Scanner value)

 

init(_ value: Scanner)

 

Sub New(value As Scanner)

Parameters:

  • value: