Repository URL to install this package:
|
Version:
1.0 ▾
|
!<arch>
__.PKGDEF 0 0 0 644 8012 `
go object linux amd64 go1.6 X:none
build id "ef7ceccd0cd7c0f2c711d05051911f5bb381b905"
$$
package token
import fmt "fmt"
import strconv "strconv"
import sync "sync"
import sort "sort"
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)
type @"".Pos int
func (@"".p·2 @"".Pos) IsValid () (? bool) { return @"".p·2 != @"".Pos(0x0) }
const @"".NoPos @"".Pos = 0x0
type @"sync".Mutex struct { @"sync".state int32; @"sync".sema uint32 }
func (@"sync".m·1 *@"sync".Mutex) Lock ()
func (@"sync".m·1 *@"sync".Mutex) Unlock ()
type @"sync".Locker interface { Lock(); Unlock() }
type @"sync".RWMutex struct { @"sync".w @"sync".Mutex; @"sync".writerSem uint32; @"sync".readerSem uint32; @"sync".readerCount int32; @"sync".readerWait int32 }
func (@"sync".rw·1 *@"sync".RWMutex) Lock ()
func (@"sync".rw·1 *@"sync".RWMutex) RLock ()
func (@"sync".rw·2 *@"sync".RWMutex "esc:0x12") RLocker () (? @"sync".Locker) { return (*@"sync".rlocker)(@"sync".rw·2) }
func (@"sync".rw·1 *@"sync".RWMutex) RUnlock ()
func (@"sync".rw·1 *@"sync".RWMutex) Unlock ()
type @"".FileSet struct { @"".mutex @"sync".RWMutex; @"".base int; @"".files []*@"".File; @"".last *@"".File }
func (@"".s·2 *@"".FileSet) AddFile (@"".filename·3 string, @"".base·4 int, @"".size·5 int) (? *@"".File)
func (@"".s·2 *@"".FileSet) Base () (? int)
func (@"".s·2 *@"".FileSet) File (@"".p·3 @"".Pos) (@"".f·1 *@"".File)
func (@"".s·1 *@"".FileSet) Iterate (@"".f·2 func(? *@"".File) (? bool) "esc:0x1")
func (@"".s·2 *@"".FileSet) Position (@"".p·3 @"".Pos) (@"".pos·1 @"".Position)
func (@"".s·2 *@"".FileSet) PositionFor (@"".p·3 @"".Pos, @"".adjusted·4 bool) (@"".pos·1 @"".Position)
func (@"".s·2 *@"".FileSet) Read (@"".decode·3 func(? interface {}) (? error) "esc:0x1") (? error)
func (@"".s·2 *@"".FileSet) Write (@"".encode·3 func(? interface {}) (? error) "esc:0x1") (? error)
func (@"".s·2 *@"".FileSet) @"".file (@"".p·3 @"".Pos) (? *@"".File)
type @"".lineInfo struct { Offset int; Filename string; Line int }
type @"".File struct { @"".set *@"".FileSet; @"".name string; @"".base int; @"".size int; @"".lines []int; @"".infos []@"".lineInfo }
func (@"".f·1 *@"".File "esc:0x9") AddLine (@"".offset·2 int)
func (@"".f·1 *@"".File "esc:0x9") AddLineInfo (@"".offset·2 int, @"".filename·3 string, @"".line·4 int)
func (@"".f·2 *@"".File "esc:0x1") Base () (? int) { return @"".f·2.@"".base }
func (@"".f·2 *@"".File "esc:0x1") Line (@"".p·3 @"".Pos) (? int)
func (@"".f·2 *@"".File "esc:0x9") LineCount () (? int)
func (@"".f·1 *@"".File "esc:0x9") MergeLine (@"".line·2 int)
func (@"".f·2 *@"".File "esc:0x22") Name () (? string) { return @"".f·2.@"".name }
func (@"".f·2 *@"".File "esc:0x1") Offset (@"".p·3 @"".Pos) (? int)
func (@"".f·2 *@"".File "esc:0x1") Pos (@"".offset·3 int) (? @"".Pos)
func (@"".f·2 *@"".File "esc:0x22") Position (@"".p·3 @"".Pos) (@"".pos·1 @"".Position)
func (@"".f·2 *@"".File "esc:0x22") PositionFor (@"".p·3 @"".Pos, @"".adjusted·4 bool) (@"".pos·1 @"".Position)
func (@"".f·2 *@"".File "esc:0x9") SetLines (@"".lines·3 []int) (? bool)
func (@"".f·1 *@"".File "esc:0x9") SetLinesForContent (@"".content·2 []byte "esc:0x1")
func (@"".f·2 *@"".File "esc:0x1") Size () (? int) { return @"".f·2.@"".size }
func (@"".f·2 *@"".File "esc:0x22") @"".position (@"".p·3 @"".Pos, @"".adjusted·4 bool) (@"".pos·1 @"".Position)
func (@"".f·4 *@"".File "esc:0x22") @"".unpack (@"".offset·5 int, @"".adjusted·6 bool) (@"".filename·1 string, @"".line·2 int, @"".column·3 int)
func @"".NewFileSet () (? *@"".FileSet) { return (&@"".FileSet{ @"".base:int(0x1) }) }
type @"".Token int
func (@"".tok·2 @"".Token) IsKeyword () (? bool) { return @"".Token(0x3c) < @"".tok·2 && @"".tok·2 < @"".Token(0x56) }
func (@"".tok·2 @"".Token) IsLiteral () (? bool) { return @"".Token(0x3) < @"".tok·2 && @"".tok·2 < @"".Token(0xa) }
func (@"".tok·2 @"".Token) IsOperator () (? bool) { return @"".Token(0xb) < @"".tok·2 && @"".tok·2 < @"".Token(0x3b) }
func (@"".op·2 @"".Token) Precedence () (? int)
func (@"".tok·2 @"".Token) String () (? string)
const @"".ILLEGAL @"".Token = 0x0
const @"".EOF @"".Token = 0x1
const @"".COMMENT @"".Token = 0x2
const @"".IDENT @"".Token = 0x4
const @"".INT @"".Token = 0x5
const @"".FLOAT @"".Token = 0x6
const @"".IMAG @"".Token = 0x7
const @"".CHAR @"".Token = 0x8
const @"".STRING @"".Token = 0x9
const @"".ADD @"".Token = 0xc
const @"".SUB @"".Token = 0xd
const @"".MUL @"".Token = 0xe
const @"".QUO @"".Token = 0xf
const @"".REM @"".Token = 0x10
const @"".AND @"".Token = 0x11
const @"".OR @"".Token = 0x12
const @"".XOR @"".Token = 0x13
const @"".SHL @"".Token = 0x14
const @"".SHR @"".Token = 0x15
const @"".AND_NOT @"".Token = 0x16
const @"".ADD_ASSIGN @"".Token = 0x17
const @"".SUB_ASSIGN @"".Token = 0x18
const @"".MUL_ASSIGN @"".Token = 0x19
const @"".QUO_ASSIGN @"".Token = 0x1a
const @"".REM_ASSIGN @"".Token = 0x1b
const @"".AND_ASSIGN @"".Token = 0x1c
const @"".OR_ASSIGN @"".Token = 0x1d
const @"".XOR_ASSIGN @"".Token = 0x1e
const @"".SHL_ASSIGN @"".Token = 0x1f
const @"".SHR_ASSIGN @"".Token = 0x20
const @"".AND_NOT_ASSIGN @"".Token = 0x21
const @"".LAND @"".Token = 0x22
const @"".LOR @"".Token = 0x23
const @"".ARROW @"".Token = 0x24
const @"".INC @"".Token = 0x25
const @"".DEC @"".Token = 0x26
const @"".EQL @"".Token = 0x27
const @"".LSS @"".Token = 0x28
const @"".GTR @"".Token = 0x29
const @"".ASSIGN @"".Token = 0x2a
const @"".NOT @"".Token = 0x2b
const @"".NEQ @"".Token = 0x2c
const @"".LEQ @"".Token = 0x2d
const @"".GEQ @"".Token = 0x2e
const @"".DEFINE @"".Token = 0x2f
const @"".ELLIPSIS @"".Token = 0x30
const @"".LPAREN @"".Token = 0x31
const @"".LBRACK @"".Token = 0x32
const @"".LBRACE @"".Token = 0x33
const @"".COMMA @"".Token = 0x34
const @"".PERIOD @"".Token = 0x35
const @"".RPAREN @"".Token = 0x36
const @"".RBRACK @"".Token = 0x37
const @"".RBRACE @"".Token = 0x38
const @"".SEMICOLON @"".Token = 0x39
const @"".COLON @"".Token = 0x3a
const @"".BREAK @"".Token = 0x3d
const @"".CASE @"".Token = 0x3e
const @"".CHAN @"".Token = 0x3f
const @"".CONST @"".Token = 0x40
const @"".CONTINUE @"".Token = 0x41
const @"".DEFAULT @"".Token = 0x42
const @"".DEFER @"".Token = 0x43
const @"".ELSE @"".Token = 0x44
const @"".FALLTHROUGH @"".Token = 0x45
const @"".FOR @"".Token = 0x46
const @"".FUNC @"".Token = 0x47
const @"".GO @"".Token = 0x48
const @"".GOTO @"".Token = 0x49
const @"".IF @"".Token = 0x4a
const @"".IMPORT @"".Token = 0x4b
const @"".INTERFACE @"".Token = 0x4c
const @"".MAP @"".Token = 0x4d
const @"".PACKAGE @"".Token = 0x4e
const @"".RANGE @"".Token = 0x4f
const @"".RETURN @"".Token = 0x50
const @"".SELECT @"".Token = 0x51
const @"".STRUCT @"".Token = 0x52
const @"".SWITCH @"".Token = 0x53
const @"".TYPE @"".Token = 0x54
const @"".VAR @"".Token = 0x55
const @"".LowestPrec = 0x0
const @"".UnaryPrec = 0x6
const @"".HighestPrec = 0x7
func @"".Lookup (@"".ident·2 string "esc:0x1") (? @"".Token) { { var @"".tok·3 @"".Token; var @"".is_keyword·4 bool; @"".tok·3, @"".is_keyword·4 = @"".keywords[@"".ident·2]; if @"".is_keyword·4 { return @"".tok·3 }}; return @"".Token(0x4) }
func @"".init ()
type @"sync".rlocker struct { @"sync".w @"sync".Mutex; @"sync".writerSem uint32; @"sync".readerSem uint32; @"sync".readerCount int32; @"sync".readerWait int32 }
func (@"sync".r·1 *@"sync".rlocker) Lock ()
func (@"sync".r·1 *@"sync".rlocker) Unlock ()
const @"".keyword_beg @"".Token = 0x3c
const @"".keyword_end @"".Token = 0x56
const @"".literal_beg @"".Token = 0x3
const @"".literal_end @"".Token = 0xa
const @"".operator_beg @"".Token = 0xb
const @"".operator_end @"".Token = 0x3b
var @"".keywords map[string]@"".Token
$$
_go_.o 0 0 0 644 149208 `
go object linux amd64 go1.6 X:none
!
go13ld
fmt.asort.async.astrconv.a þ,"".(*Position).IsValid @ @Hl$H]Hû D$ÃÌÌÌÌÌÌÌÌÌÌÌÌÌ "".~r0 type.bool "".pos "type.*"".Position : Tgclocals·3f5c1f818fa7055d0400cecd34057162 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/go/token/position.goþ$"".Position.String dH% HD$ÐH;A Hì° 1ÛH$à H$è H$¸ H$À H$¸ H[Hû ú ñ Hø tJHL$8HD$@HÇ$ HL$hHL$HD$pHD$H H\$HÇD$ è HL$(HD$0HL$8HL$hHD$@HD$p1ÛH$ H$ H$ H$¨ H$ Hû ³ HDŽ$ HDŽ$ H\$xH H$H$¸ H\$HD$HÇD$ è HL$HD$ H\$xHL$HHHD$P=
* HCH H$H$¸ H\$HD$ HÇD$ è HL$HD$ H\$xHÃHL$HHHD$P=
¶ HCH H$HÇD$ H\$xH\$H$ H\$H$ H\$ è HL$(HD$0HÇ$ H\$hH\$H\$pH\$HL$XHL$HD$`HD$ è HL$(HD$0Hø uH
HÇÀ H$à H$è Hİ ÃLCL$HD$è é7ÿÿÿLCL$HD$è éÃþÿÿéFþÿÿè éGýÿÿÌÌÌÌÌÌÌ
go.string.":" ¾ *runtime.concatstring2 ª type.int ô runtime.convT2E ¸ (runtime.writeBarrier Ü type.int ¦ runtime.convT2E ò (runtime.writeBarrier "go.string."%d:%d" fmt.Sprintf *runtime.concatstring2 ® go.string."-"
.runtime.writebarrierptr ¾
.runtime.writebarrierptr à
0runtime.morestack_noctxt pà "".autotmp_0010 "type.interface {} "".autotmp_0009 Ï"type.interface {} "".autotmp_0008 ?(type.[2]interface {} "".autotmp_0005 o&type.[]interface {} "".autotmp_0003 ¯type.string "".autotmp_0002 type.string "".autotmp_0001 type.string "".s ïtype.string "".~r0 Ptype.string "".pos type."".Position àÚßà5ß À 0L1J¡ 5 Ç?H9 Tgclocals·1be7d47bae55850e7016f9662c4ac24a Tgclocals·fd84c5d22dc328e8f95fd1b5353c503e @$GOROOT/src/go/token/position.goþ"".Pos.IsValid H\$Hû D$ÃÌ "".~r0 type.bool "".p type."".Pos ¦ Tgclocals·23e8278e2b69a3a75fa59b23c49ed6ad Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/go/token/position.goþ"".(*File).Name ` `1ÛH\$Hû tHkHl$HkHl$ÉëéÌÌÌÌÌÌÌÌÌÌÌÌ 0 "".~r0 type.string "".f type.*"".File 0 0 Ð. Tgclocals·0b86ef39f3fed835f14ba5f4d7c62fa2 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/go/token/position.goþ"".(*File).Base H\$HkHl$ÃÌ "".~r0 type.int "".f type.*"".File Ü Tgclocals·3f5c1f818fa7055d0400cecd34057162 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/go/token/position.goþ"".(*File).Size H\$Hk Hl$ÃÌ "".~r0 type.int "".f type.*"".File æ Tgclocals·3f5c1f818fa7055d0400cecd34057162 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/go/token/position.goþ("".(*File).LineCount dH% H;av^HìH\$H+H,$H<$ t>è HD$Hh0Hl$H(H,$H<$ tè H\$H\$ HÄÉ% ëã% ë¹è ëÌÌÌÌÌÌÌÌÌÌÌÌ
N *sync.(*RWMutex).RLock .sync.(*RWMutex).RUnlock Ü 0runtime.morestack_noctxt "".n type.int "".~r0 type.int "".f type.*"".File G $î
&Z Tgclocals·3f5c1f818fa7055d0400cecd34057162 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/go/token/position.goþ$"".(*File).AddLine dH% H;ad HìhH\$pH+H,$H<$ = è Ht$pHn0Hý t\HÿÍHèHV(HN0Hn8Hl$`HT$PHL$XH9Èø HÂHHl$xH9ë|!H.H,$H<$ t
è HÄhÉ% ëíH^ Hl$xH9ë~ÑHV(HF0HN8HÅHÿÅH9ÍwHn0HÂHl$xH+ë¨H H$HT$HD$HL$Hl$ è Ht$pHT$(HD$0HL$8Hþ tMHÅHD$@HÿÅHn0HN8HT$H= uHV(ëLF(L$HT$è Ht$pHT$HHD$@égÿÿÿë¯è % é·þÿÿè éþÿÿÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ
^ (sync.(*RWMutex).Lock ,sync.(*RWMutex).Unlock ° type.[]int ê "runtime.growslice Ú (runtime.writeBarrier .runtime.writebarrierptr Ê $runtime.panicindex ð 0runtime.morestack_noctxt Ð "".offset type.int "".f type.*"".File Ð}ÏÐâÏ :!E ' ., Tgclocals·32bd5c6dc84e3e86dd35593b3922d3aa Tgclocals·83ead081cd909acab0dcd88a450c1878 @$GOROOT/src/go/token/position.goþ("".(*File).MergeLine
dH% HD$èH;A] Hì H$¨ Hû TH H\$(HÇD$00 H H$H\$(H\$HÇD$ è H\$HH$HKHL$è H$ H+H,$H<$ Î è H$ H+Hl$H|$ ¡ Ç$ H HD$è H$¨ H$ ø
b Hi0H9ê|TH H\$(HÇD$0 H H$H\$(H\$HÇD$ è H\$HH$HKHL$è LA0LI8L9Âí LQ(I)ÐI)ÑIù tMÒMÄMËLÖHÐHÿÀLA0LI8L9À² LQ(I)ÀI)ÁIù tMÂH´$ L¤$ L$ L\$`LT$hLÒLD$pLL$xLL$HLd$XLàLD$@M9à}LÀHt$PH4$HT$8HT$HÃHÁãH\$è H$ HJ0HÿÉLB8L9ÁwHJ0è HĘ Ãè è è è HĘ É% éSþÿÿ% é&þÿÿè éýÿÿÌ&
` xgo.string."illegal line number (line numbering starts at 1)" type.string  runtime.convT2E ö runtime.gopanic ¸ (sync.(*RWMutex).Lock 2sync.(*RWMutex).Unlock·f "runtime.deferproc ò >go.string."illegal line number" type.string Ô runtime.convT2E runtime.gopanic runtime.memmove Ü &runtime.deferreturn ö $runtime.panicslice $runtime.panicslice $runtime.panicslice ¢ &runtime.deferreturn ì 0runtime.morestack_noctxt ° "".autotmp_0025 ¿type.[]int "".autotmp_0024 type.[]int "".autotmp_0023 type.int "".autotmp_0022 type.int "".autotmp_0021 _type.[]int "".autotmp_0020 type.int "".autotmp_0019 /type.[]int "".autotmp_0018 type.string "".autotmp_0016 ßtype.string "".line type.int "".f type.*"".File ,°¯°"¯°¯ BTM TÎ `;âu Tgclocals·32bd5c6dc84e3e86dd35593b3922d3aa Tgclocals·4593d1c83847a2059f0e060e10344a6b @$GOROOT/src/go/token/position.goþ&"".(*File).SetLines À ÀdH% H;aõ HìLd$HL$ H|$(ML$ H\$01ÀIúIËH9ø}?HHø ~%HÅHÿÍL9Õ¬ IëHH9Ó|
ÆD$8 HÄÃI9Ñ~ñHÁHÿÀH9ø|ÁI,$H,$H<$ tmè H\$Hl$(Hk0Hl$0Hk8Hl$ = u/Hk(H\$H+H,$H<$ tè ÆD$8HÄÉ% ëèLC(L$Hl$è ëI% ëè è éîþÿÿÌÌÌÌÌÌÌÌÌÌÌÌÌÌ
(sync.(*RWMutex).Lock Ü (runtime.writeBarrier ,sync.(*RWMutex).Unlock ä .runtime.writebarrierptr $runtime.panicindex 0runtime.morestack_noctxt P "".~r1 @type.bool "".lines type.[]int "".f type.*"".File S o - HÒ&!
)
Tgclocals·1347047f6245a35b91e9a4f213167d52 Tgclocals·33cdeccccebe80329f1fdbee7f5874cb @$GOROOT/src/go/token/position.goþ:"".(*File).SetLinesForContent à àdH% HD$àH;AÊ Hì E1ÛL\$pMÚL\$xMÙL$ 1ÿL$° H$¸ H$À H$ 1öH$ HD$XL$ Hl$XH9î}pLD$hA¶(Ht$`Ht$H@l$GH|$PHÿ |$LÙLÐLÓHÿÃL9ËË IÚH\$xHÁH;HÇÇÿÿÿÿ¶\$Gû
uH|$HHÿÇIÿÀHÿÆHl$XH9î|H$¨ H+H,$H<$ ttè H$¨ Hl$xHk0H¬$ Hk8Hl$p= u0Hk(H$¨ H+H,$H<$ t
è HĠ É% ëêLC(L$Hl$è ë % ëH- H,$HL$HD$LL$H\$ è LD$hH|$PHt$`L\$(LT$0LL$8LÐIÿÂLT$xL$ LÙL\$péÛþÿÿè éþÿÿÌÌÌÌ
(sync.(*RWMutex).Lock Ø (runtime.writeBarrier ,sync.(*RWMutex).Unlock â .runtime.writebarrierptr type.[]int À "runtime.growslice Æ 0runtime.morestack_noctxt @À "".autotmp_0036 otype.*uint8 "".autotmp_0035 type.int "".autotmp_0034 type.int "".autotmp_0033 /type.[]uint8 "".b ±type.uint8 "".offset ¯type.int "".line type.int "".lines _type.[]int "".content type.[]uint8 "".f type.*"".File "Àº¿À¿ ð TöY$
/ b JRQ Tgclocals·14c16763214c88f6ebc22b4b638329b7 Tgclocals·98ed4fede4305b76799eb89c68818740 @$GOROOT/src/go/token/position.goþ,"".(*File).AddLineInfo à àdH% HD$øH;A Hì H$ H+H,$H<$ Ø è H´$ H$ HnHHý tNHèHÿÈHn@HVHLFPLD$`Hl$PIÀHT$XH9Ð
IÁàLÅH] H9Ë H^ H9Ë 1ÛHL$hH$ H\$pH$¨ H\$xH$° H$ HV@HFHHNPHÅHÿÅH9Í HnHHÓHÅHkí HëHl$hH+Hl$xHkH¬$ HkHl$p= u(HkH.H,$H<$ t
è HĈ É% ëêLCL$Hl$è H´$ ëÀH H$HT$HD$HL$Hl$ è H´$ HT$(HD$0HL$8Hþ tSHÅHD$@HÿÅHnHHNPHT$H= u HV@éÿÿÿLF@L$HT$è H´$ HT$HHD$@éðþÿÿë©è % éþÿÿè éÙýÿÿÌÌÌÌÌÌÌÌÌ
t (sync.(*RWMutex).Lock Î (runtime.writeBarrier ,sync.(*RWMutex).Unlock È .runtime.writebarrierptr ê $type.[]"".lineInfo ¤ "runtime.growslice (runtime.writeBarrier Ö .runtime.writebarrierptr $runtime.panicindex ¼ 0runtime.morestack_noctxt P
"".autotmp_0041 ? type."".lineInfo "".line @type.int "".filename type.string "".offset type.int "".f type.*"".File "Ð ° <À/X 9ØY &