ScanState
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.fmt
- Platforms: .NET, .NET Standard 2.0, Island
Required Methods
Read
Parameters:
- buf:
ReadRune
func ReadRune() -> (rune, Int64, error)
Function ReadRune() As Tuple (Of rune, Int64, error)
SkipSpace
method SkipSpace
void SkipSpace()
func SkipSpace()
// .NET, .NET Standard 2.0
func SkipSpace()
// Island
func SkipSpace() void
Sub SkipSpace()
Token
// .NET, .NET Standard 2.0
method Token(skipSpace: bool; f: Func<rune, Boolean>): tuple of (token: Slice<Byte>, err: error)
// Island
method Token(skipSpace: bool; f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>): tuple of (token: Slice<Byte>, err: error)
// .NET, .NET Standard 2.0
(Slice<Byte>token, error err) Token(bool skipSpace, Func<rune, Boolean> f)
// Island
(Slice<Byte>token, error err) Token(bool skipSpace, Func<go.builtin.rune,RemObjects.Elements.System.Boolean> f)
// .NET, .NET Standard 2.0
func Token(_ skipSpace: bool, _ f: Func<rune, Boolean>) -> (Slice<Byte>, error)
// Island
func Token(_ skipSpace: bool, _ f: Func<go.builtin.rune,RemObjects.Elements.System.Boolean>) -> (Slice<Byte>, error)
Parameters:
- skipSpace:
- f:
UnreadRune
method UnreadRune: error
error UnreadRune()
func UnreadRune() -> error
func UnreadRune() error
Function UnreadRune() As error
Width
func Width() -> (Int64, Boolean)
Function Width() As Tuple (Of Int64, Boolean)