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()
Sub New()
constructor (Reader, array of Byte, Int64, Int64, Int64, Int64, Int64, Int64, Int64, Buffer, Int64, Int64, rune, Action<Memory<Scanner>, string>, Int64, UInt64, uint64, Func<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: Action<Memory<Scanner>, string>; aErrorCount: Int64; aMode: UInt64; aWhitespace: uint64; aIsIdentRune: Func<rune, Int64, Boolean>; aPosition: 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: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>; aErrorCount: int; aMode: uint; aWhitespace: uint64; aIsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>; aPosition: Position)
// .NET, .NET Standard 2.0
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, Action<Memory<Scanner>, string> aError, Int64 aErrorCount, UInt64 aMode, uint64 aWhitespace, Func<rune, Int64, Boolean> aIsIdentRune, Position aPosition)
// Island
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, Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string> aError, int aErrorCount, uint aMode, uint64 aWhitespace, Func<go.builtin.rune,go.builtin.int,go.builtin.bool> aIsIdentRune, Position aPosition)
// .NET, .NET Standard 2.0
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: Action<Memory<Scanner>, string>, _ aErrorCount: Int64, _ aMode: UInt64, _ aWhitespace: uint64, _ aIsIdentRune: Func<rune, Int64, Boolean>, _ aPosition: Position)
// Island
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: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>, _ aErrorCount: int, _ aMode: uint, _ aWhitespace: uint64, _ aIsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>, _ aPosition: Position)
// .NET, .NET Standard 2.0
Sub New(asrc As Reader, asrcBuf As Byte(), asrcPos As Int64, asrcEnd As Int64, asrcBufOffset As Int64, aline As Int64, acolumn As Int64, alastLineLen As Int64, alastCharLen As Int64, atokBuf As Buffer, atokPos As Int64, atokEnd As Int64, ach As rune, aError As Action (Of Memory<Scanner>, string), aErrorCount As Int64, aMode As UInt64, aWhitespace As uint64, aIsIdentRune As Func (Of rune, Int64, Boolean), aPosition As Position)
// Island
Sub New(asrc As Reader, asrcBuf As byte(), asrcPos As int, asrcEnd As int, asrcBufOffset As int, aline As int, acolumn As int, alastLineLen As int, alastCharLen As int, atokBuf As Buffer, atokPos As int, atokEnd As int, ach As rune, aError As Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>, aErrorCount As int, aMode As uint, aWhitespace As uint64, aIsIdentRune As Func<go.builtin.rune,go.builtin.int,go.builtin.bool>, aPosition As Position)
Parameters:
- asrc:
- asrcBuf:
- asrcPos:
- asrcEnd:
- asrcBufOffset:
- aline:
- acolumn:
- alastLineLen:
- alastCharLen:
- atokBuf:
- atokPos:
- atokEnd:
- ach:
- aError:
- aErrorCount:
- aMode:
- aWhitespace:
- aIsIdentRune:
- aPosition:
constructor (Scanner)
Parameters:
- value:
Column
property Column: int read write;
int Column { get; set; }
var Column: int { get{} set{} }
Column int
Property Column() As int
Error
// .NET, .NET Standard 2.0
var Error: Action<Memory<Scanner>, string>;
// Island
var Error: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>;
// .NET, .NET Standard 2.0
Action<Memory<Scanner>, string> Error
// Island
Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string> Error
// .NET, .NET Standard 2.0
var Error: Action<Memory<Scanner>, string>
// Island
var Error: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>
ErrorCount
Filename
property Filename: string read write;
string Filename { get; set; }
var Filename: string { get{} set{} }
Filename string
Property Filename() As string
Init
// .NET, .NET Standard 2.0
method Init(src: Reader): Memory<Scanner>
// Island
method Init(src: Reader): Memory<Scanner>
// .NET, .NET Standard 2.0
Memory<Scanner> Init(Reader src)
// Island
Memory<Scanner> Init(Reader src)
// .NET, .NET Standard 2.0
func Init(_ src: Reader) -> Memory<Scanner>
// Island
func Init(_ src: Reader) -> Memory<Scanner>
Parameters:
- src:
IsIdentRune
// .NET, .NET Standard 2.0
var IsIdentRune: Func<rune, int, bool>;
// Island
var IsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>;
// .NET, .NET Standard 2.0
Func<rune, int, bool> IsIdentRune
// Island
Func<go.builtin.rune,go.builtin.int,go.builtin.bool> IsIdentRune
// .NET, .NET Standard 2.0
var IsIdentRune: Func<rune, int, bool>
// Island
var IsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>
IsValid
method IsValid: bool
bool IsValid()
func IsValid() -> bool
func IsValid() bool
Function IsValid() As bool
Line
property Line: int read write;
int Line { get; set; }
var Line: int { get{} set{} }
Line int
Property Line() As int
Mode
Next
Offset
property Offset: int read write;
int Offset { get; set; }
var Offset: int { get{} set{} }
Offset int
Property Offset() As int
Peek
Pos
method Pos: Position
Position Pos()
func Pos() -> Position
func Pos() Position
Function Pos() As Position
Position
var Position: Position;
Position Position
var Position: Position
Position Position
FIELD Position() As Position
Scan
String
method String: string
string String()
func String() -> string
func String() string
Function String() As string
TokenText
method TokenText: string
string TokenText()
func TokenText() -> string
func TokenText() string
Function TokenText() As string
Whitespace
Error
// .NET, .NET Standard 2.0
var Error: Action<Memory<Scanner>, string>;
// Island
var Error: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>;
// .NET, .NET Standard 2.0
Action<Memory<Scanner>, string> Error
// Island
Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string> Error
// .NET, .NET Standard 2.0
var Error: Action<Memory<Scanner>, string>
// Island
var Error: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>
ErrorCount
IsIdentRune
// .NET, .NET Standard 2.0
var IsIdentRune: Func<rune, int, bool>;
// Island
var IsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>;
// .NET, .NET Standard 2.0
Func<rune, int, bool> IsIdentRune
// Island
Func<go.builtin.rune,go.builtin.int,go.builtin.bool> IsIdentRune
// .NET, .NET Standard 2.0
var IsIdentRune: Func<rune, int, bool>
// Island
var IsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>
Mode
Position
var Position: Position;
Position Position
var Position: Position
Position Position
FIELD Position() As Position
Whitespace
Column
property Column: int read write;
int Column { get; set; }
var Column: int { get{} set{} }
Column int
Property Column() As int
Filename
property Filename: string read write;
string Filename { get; set; }
var Filename: string { get{} set{} }
Filename string
Property Filename() As string
Line
property Line: int read write;
int Line { get; set; }
var Line: int { get{} set{} }
Line int
Property Line() As int
Offset
constructor
constructor
Scanner()
init()
Sub New()
constructor (Reader, array of Byte, Int64, Int64, Int64, Int64, Int64, Int64, Int64, Buffer, Int64, Int64, rune, Action<Memory<Scanner>, string>, Int64, UInt64, uint64, Func<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: Action<Memory<Scanner>, string>; aErrorCount: Int64; aMode: UInt64; aWhitespace: uint64; aIsIdentRune: Func<rune, Int64, Boolean>; aPosition: 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: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>; aErrorCount: int; aMode: uint; aWhitespace: uint64; aIsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>; aPosition: Position)
// .NET, .NET Standard 2.0
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, Action<Memory<Scanner>, string> aError, Int64 aErrorCount, UInt64 aMode, uint64 aWhitespace, Func<rune, Int64, Boolean> aIsIdentRune, Position aPosition)
// Island
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, Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string> aError, int aErrorCount, uint aMode, uint64 aWhitespace, Func<go.builtin.rune,go.builtin.int,go.builtin.bool> aIsIdentRune, Position aPosition)
// .NET, .NET Standard 2.0
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: Action<Memory<Scanner>, string>, _ aErrorCount: Int64, _ aMode: UInt64, _ aWhitespace: uint64, _ aIsIdentRune: Func<rune, Int64, Boolean>, _ aPosition: Position)
// Island
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: Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>, _ aErrorCount: int, _ aMode: uint, _ aWhitespace: uint64, _ aIsIdentRune: Func<go.builtin.rune,go.builtin.int,go.builtin.bool>, _ aPosition: Position)
// .NET, .NET Standard 2.0
Sub New(asrc As Reader, asrcBuf As Byte(), asrcPos As Int64, asrcEnd As Int64, asrcBufOffset As Int64, aline As Int64, acolumn As Int64, alastLineLen As Int64, alastCharLen As Int64, atokBuf As Buffer, atokPos As Int64, atokEnd As Int64, ach As rune, aError As Action (Of Memory<Scanner>, string), aErrorCount As Int64, aMode As UInt64, aWhitespace As uint64, aIsIdentRune As Func (Of rune, Int64, Boolean), aPosition As Position)
// Island
Sub New(asrc As Reader, asrcBuf As byte(), asrcPos As int, asrcEnd As int, asrcBufOffset As int, aline As int, acolumn As int, alastLineLen As int, alastCharLen As int, atokBuf As Buffer, atokPos As int, atokEnd As int, ach As rune, aError As Action<RemObjects.Elements.System.Memory<go.text.scanner.Scanner>,go.builtin.string>, aErrorCount As int, aMode As uint, aWhitespace As uint64, aIsIdentRune As Func<go.builtin.rune,go.builtin.int,go.builtin.bool>, aPosition As Position)
Parameters:
- asrc:
- asrcBuf:
- asrcPos:
- asrcEnd:
- asrcBufOffset:
- aline:
- acolumn:
- alastLineLen:
- alastCharLen:
- atokBuf:
- atokPos:
- atokEnd:
- ach:
- aError:
- aErrorCount:
- aMode:
- aWhitespace:
- aIsIdentRune:
- aPosition:
constructor (Scanner)
Parameters:
- value:
IsValid
method IsValid: bool
bool IsValid()
func IsValid() -> bool
func IsValid() bool
Function IsValid() As bool
String