Repository URL to install this package:
|
Version:
1.0 ▾
|
!<arch>
__.PKGDEF 0 0 0 644 6949 `
go object linux amd64 go1.6 X:none
build id "0bc708c96b353d617c0337daf1491c27aa29705a"
$$
package scanner
import bytes "bytes"
import io "io"
import utf8 "unicode/utf8"
import unicode "unicode"
import fmt "fmt"
import os "os"
type @"".Position struct { Filename string; Offset int; Line int; Column int }
func (@"".pos·2 *@"".Position "esc:0x1") IsValid () (? bool) { return @"".pos·2.Line > int(0x0) }
func (@"".pos·2 @"".Position "esc:0x12") String () (? string)
const @"".ScanIdents = 0x4
const @"".ScanInts = 0x8
const @"".ScanFloats = 0x10
const @"".ScanChars = 0x20
const @"".ScanStrings = 0x40
const @"".ScanRawStrings = 0x80
const @"".ScanComments = 0x100
const @"".SkipComments = 0x200
const @"".GoTokens = 0x3f4
const @"".EOF = -0x1
const @"".Ident = -0x2
const @"".Int = -0x3
const @"".Float = -0x4
const @"".Char = -0x5
const @"".String = -0x6
const @"".RawString = -0x7
const @"".Comment = -0x8
func @"".TokenString (@"".tok·2 rune) (? string)
const @"".GoWhitespace = 0x100002600
type @"io".Reader interface { Read(@"io".p []byte) (@"io".n int, @"io".err error) }
type @"bytes".readOp int
type @"io".Writer interface { Write(@"io".p []byte) (@"io".n int, @"io".err error) }
type @"bytes".Buffer struct { @"bytes".buf []byte; @"bytes".off int; @"bytes".runeBytes [4]byte; @"bytes".bootstrap [64]byte; @"bytes".lastRead @"bytes".readOp }
func (@"bytes".b·2 *@"bytes".Buffer "esc:0x22") Bytes () (? []byte) { return @"bytes".b·2.@"bytes".buf[@"bytes".b·2.@"bytes".off:] }
func (@"bytes".b·2 *@"bytes".Buffer "esc:0x1") Cap () (? int) { return cap(@"bytes".b·2.@"bytes".buf) }
func (@"bytes".b·1 *@"bytes".Buffer) Grow (@"bytes".n·2 int)
func (@"bytes".b·2 *@"bytes".Buffer "esc:0x1") Len () (? int) { return len(@"bytes".b·2.@"bytes".buf) - @"bytes".b·2.@"bytes".off }
func (@"bytes".b·2 *@"bytes".Buffer "esc:0x22") Next (@"bytes".n·3 int) (? []byte) { @"bytes".b·2.@"bytes".lastRead = @"bytes".readOp(0x0); var @"bytes".m·4 int; ; @"bytes".m·4 = @"bytes".b·2.Len(); if @"bytes".n·3 > @"bytes".m·4 { @"bytes".n·3 = @"bytes".m·4 }; var @"bytes".data·5 []byte; ; @"bytes".data·5 = @"bytes".b·2.@"bytes".buf[@"bytes".b·2.@"bytes".off:@"bytes".b·2.@"bytes".off + @"bytes".n·3]; @"bytes".b·2.@"bytes".off += @"bytes".n·3; if @"bytes".n·3 > int(0x0) { @"bytes".b·2.@"bytes".lastRead = @"bytes".readOp(0x2) }; return @"bytes".data·5 }
func (@"bytes".b·3 *@"bytes".Buffer "esc:0x9") Read (@"bytes".p·4 []byte "esc:0x1") (@"bytes".n·1 int, @"bytes".err·2 error)
func (@"bytes".b·3 *@"bytes".Buffer "esc:0x1") ReadByte () (@"bytes".c·1 byte, @"bytes".err·2 error)
func (@"bytes".b·3 *@"bytes".Buffer "esc:0x9") ReadBytes (@"bytes".delim·4 byte) (@"bytes".line·1 []byte, @"bytes".err·2 error)
func (@"bytes".b·3 *@"bytes".Buffer "esc:0x9") ReadFrom (@"bytes".r·4 @"io".Reader) (@"bytes".n·1 int64, @"bytes".err·2 error)
func (@"bytes".b·4 *@"bytes".Buffer "esc:0x1") ReadRune () (@"bytes".r·1 rune, @"bytes".size·2 int, @"bytes".err·3 error)
func (@"bytes".b·3 *@"bytes".Buffer "esc:0x1") ReadString (@"bytes".delim·4 byte) (@"bytes".line·1 string, @"bytes".err·2 error)
func (@"bytes".b·1 *@"bytes".Buffer "esc:0x1") Reset ()
func (@"bytes".b·2 *@"bytes".Buffer "esc:0x1") String () (? string) { if @"bytes".b·2 == nil { return string("<nil>") }; return string(@"bytes".b·2.@"bytes".buf[@"bytes".b·2.@"bytes".off:]) }
func (@"bytes".b·1 *@"bytes".Buffer "esc:0x1") Truncate (@"bytes".n·2 int)
func (@"bytes".b·2 *@"bytes".Buffer "esc:0x1") UnreadByte () (? error) { if @"bytes".b·2.@"bytes".lastRead != @"bytes".readOp(0x1) && @"bytes".b·2.@"bytes".lastRead != @"bytes".readOp(0x2) { return @"errors".New(string("bytes.Buffer: UnreadByte: previous operation was not a read")) }; @"bytes".b·2.@"bytes".lastRead = @"bytes".readOp(0x0); if @"bytes".b·2.@"bytes".off > int(0x0) { @"bytes".b·2.@"bytes".off-- }; return nil }
func (@"bytes".b·2 *@"bytes".Buffer "esc:0x1") UnreadRune () (? error)
func (@"bytes".b·3 *@"bytes".Buffer) Write (@"bytes".p·4 []byte "esc:0x9") (@"bytes".n·1 int, @"bytes".err·2 error)
func (@"bytes".b·2 *@"bytes".Buffer) WriteByte (@"bytes".c·3 byte) (? error)
func (@"bytes".b·3 *@"bytes".Buffer) WriteRune (@"bytes".r·4 rune) (@"bytes".n·1 int, @"bytes".err·2 error)
func (@"bytes".b·3 *@"bytes".Buffer) WriteString (@"bytes".s·4 string "esc:0x9") (@"bytes".n·1 int, @"bytes".err·2 error)
func (@"bytes".b·3 *@"bytes".Buffer "esc:0x9") WriteTo (@"bytes".w·4 @"io".Writer) (@"bytes".n·1 int64, @"bytes".err·2 error)
func (@"bytes".b·2 *@"bytes".Buffer) @"bytes".grow (@"bytes".n·3 int) (? int)
func (@"bytes".b·3 *@"bytes".Buffer "esc:0x22") @"bytes".readSlice (@"bytes".delim·4 byte) (@"bytes".line·1 []byte, @"bytes".err·2 error)
type @"".Scanner struct { @"".src @"io".Reader; @"".srcBuf [1025]byte; @"".srcPos int; @"".srcEnd int; @"".srcBufOffset int; @"".line int; @"".column int; @"".lastLineLen int; @"".lastCharLen int; @"".tokBuf @"bytes".Buffer; @"".tokPos int; @"".tokEnd int; @"".ch rune; Error func(@"".s *@"".Scanner, @"".msg string); ErrorCount int; Mode uint; Whitespace uint64; IsIdentRune func(@"".ch rune, @"".i int) (? bool); ? @"".Position }
func (@"".s·2 *@"".Scanner "esc:0x12") Init (@"".src·3 @"io".Reader) (? *@"".Scanner)
func (@"".s·2 *@"".Scanner) Next () (? rune)
func (@"".s·2 *@"".Scanner) Peek () (? rune)
func (@"".s·2 *@"".Scanner "esc:0x22") Pos () (@"".pos·1 @"".Position)
func (@"".s·2 *@"".Scanner) Scan () (? rune)
func (@"".s·2 *@"".Scanner) TokenText () (? string)
func (@"".s·1 *@"".Scanner) @"".error (@"".msg·2 string)
func (@"".s·2 *@"".Scanner "esc:0x1") @"".isIdentRune (@"".ch·3 rune, @"".i·4 int) (? bool)
func (@"".s·2 *@"".Scanner) @"".next () (? rune)
func (@"".s·1 *@"".Scanner) @"".scanChar ()
func (@"".s·2 *@"".Scanner) @"".scanComment (@"".ch·3 rune) (? rune)
func (@"".s·2 *@"".Scanner) @"".scanDigits (@"".ch·3 rune, @"".base·4 int, @"".n·5 int) (? rune)
func (@"".s·2 *@"".Scanner) @"".scanEscape (@"".quote·3 rune) (? rune)
func (@"".s·2 *@"".Scanner) @"".scanExponent (@"".ch·3 rune) (? rune)
func (@"".s·2 *@"".Scanner) @"".scanFraction (@"".ch·3 rune) (? rune)
func (@"".s·2 *@"".Scanner) @"".scanIdentifier () (? rune)
func (@"".s·2 *@"".Scanner) @"".scanMantissa (@"".ch·3 rune) (? rune)
func (@"".s·3 *@"".Scanner) @"".scanNumber (@"".ch·4 rune) (? rune, ? rune)
func (@"".s·1 *@"".Scanner) @"".scanRawString ()
func (@"".s·2 *@"".Scanner) @"".scanString (@"".quote·3 rune) (@"".n·1 int)
func @"".init ()
import errors "errors" // indirect
func @"errors".New (@"errors".text·2 string) (? error) { return (&@"errors".errorString{ @"errors".s:@"errors".text·2 }) }
type @"errors".errorString struct { @"errors".s string }
func (@"errors".e·2 *@"errors".errorString "esc:0x22") Error () (? string) { return @"errors".e·2.@"errors".s }
$$
_go_.o 0 0 0 644 119720 `
go object linux amd64 go1.6 X:none
!
go13ldbytes.a
fmt.aio.aos.aunicode.aunicode/utf8.a þ,"".(*Position).IsValid À ÀdH% H;avAHìH\$H$è H\$H$H$è Hl$H]Hû D$è HÄÃè ë©ÌÌÌÌÌÌÌÌÌ
: *runtime.racefuncenter ` runtime.raceread (runtime.racefuncexit ¢ 0runtime.morestack_noctxt "".~r0 type.bool "".pos "type.*"".Position < ` JÒÑ%ÒÑ
D Tgclocals·3f5c1f818fa7055d0400cecd34057162 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb F$GOROOT/src/text/scanner/scanner.goþ$"".Position.String À
À
dH% HD$ÈH;A2 Hì¸ WÀ$ $¨ H$¸ H$è 1ÛH$è H$ð H$À H\$@H$È HD$HH$À HD$8H$H$è HL$@HD$HHl$8H]Hû ú - Hø t@HÇ$ HL$pHL$HD$xHD$H H\$HÇD$ è HL$(HD$0HL$@HL$pHD$HHD$x1ÛH$ H$ H$¨ H$° H$ Hû HDŽ$ HDŽ$ H$ H H$H$À H\$HD$HÇD$ è H\$H\$PH\$ H\$XH$ H$è H$ Hl$PH+Hl$X=
^ HkH H$H$À H\$HD$ HÇD$ è H\$H\$PH\$ H\$XH$ HÃH$è H$ Hl$PHÃH+Hl$X=
È HkH H$HÇD$ H$ H\$H$ H\$H$ H\$ è HL$(HD$0HÇ$ H\$pH\$H\$xH\$HL$`HL$HD$hHD$ è HL$(HD$0Hø uH
HÇÀ HL$@H$è HD$HH$ð è Hĸ ÃLCL$Hl$è é%ÿÿÿLCL$Hl$è éþÿÿéñýÿÿè é¬üÿÿÌÌÌÌÌÌÌÌÌÌÌÌ*
~ *runtime.racefuncenter runtime.raceread ¤ go.string.":" Ê *runtime.concatstring2 ¼ type.int runtime.convT2E Ð "runtime.racewrite (runtime.writeBarrier ª type.int ô runtime.convT2E Æ "runtime.racewrite (runtime.writeBarrier ¨ "go.string."%d:%d"
fmt.Sprintf *runtime.concatstring2 Æ go.string."???" (runtime.racefuncexit Æ .runtime.writebarrierptr ô .runtime.writebarrierptr
0runtime.morestack_noctxt pð "".autotmp_0009 "type.interface {} "".autotmp_0008 Ï"type.interface {} "".autotmp_0007 ?(type.[2]interface {} "".autotmp_0004 o&type.[]interface {} "".autotmp_0002 ¯type.string "".autotmp_0001 type.string "".autotmp_0000 type.string "".pos ÿ"type.*"".Position "".s ïtype.string "".~r0 Ptype.string "".pos type."".Position ðõïð5ï à 8N2>@ç' 5 4 >G_%R)j?=
>