- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleScanner_Scan (0.19 sec)
-
src/go/scanner/example_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package scanner_test import ( "fmt" "go/scanner" "go/token" ) func ExampleScanner_Scan() { // src is the input that we want to tokenize. src := []byte("cos(x) + 1i*sin(x) // Euler") // Initialize the scanner. var s scanner.Scanner
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 19:47:49 UTC 2022 - 1K bytes - Viewed (0)