X7ROOT File Manager
Current Path:
/opt/golang/1.19.4/src/cmd/compile/internal/syntax
opt
/
golang
/
1.19.4
/
src
/
cmd
/
compile
/
internal
/
syntax
/
📁
..
📄
branches.go
(9.8 KB)
📄
dumper.go
(4.51 KB)
📄
dumper_test.go
(424 B)
📄
error_test.go
(4.78 KB)
📄
nodes.go
(8.74 KB)
📄
nodes_test.go
(8.69 KB)
📄
operator_string.go
(1.02 KB)
📄
parser.go
(61.51 KB)
📄
parser_test.go
(11.32 KB)
📄
pos.go
(5.21 KB)
📄
positions.go
(6.5 KB)
📄
printer.go
(21.53 KB)
📄
printer_test.go
(7.46 KB)
📄
scanner.go
(17.06 KB)
📄
scanner_test.go
(21.98 KB)
📄
source.go
(5.71 KB)
📄
syntax.go
(3.09 KB)
📁
testdata
📄
testing.go
(2.2 KB)
📄
testing_test.go
(1.27 KB)
📄
token_string.go
(1.74 KB)
📄
tokens.go
(2.61 KB)
📄
walk.go
(6.16 KB)
Editing: operator_string.go
// Code generated by "stringer -type Operator -linecomment tokens.go"; DO NOT EDIT. package syntax import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[Def-1] _ = x[Not-2] _ = x[Recv-3] _ = x[Tilde-4] _ = x[OrOr-5] _ = x[AndAnd-6] _ = x[Eql-7] _ = x[Neq-8] _ = x[Lss-9] _ = x[Leq-10] _ = x[Gtr-11] _ = x[Geq-12] _ = x[Add-13] _ = x[Sub-14] _ = x[Or-15] _ = x[Xor-16] _ = x[Mul-17] _ = x[Div-18] _ = x[Rem-19] _ = x[And-20] _ = x[AndNot-21] _ = x[Shl-22] _ = x[Shr-23] } const _Operator_name = ":!<-~||&&==!=<<=>>=+-|^*/%&&^<<>>" var _Operator_index = [...]uint8{0, 1, 2, 4, 5, 7, 9, 11, 13, 14, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 31, 33} func (i Operator) String() string { i -= 1 if i >= Operator(len(_Operator_index)-1) { return "Operator(" + strconv.FormatInt(int64(i+1), 10) + ")" } return _Operator_name[_Operator_index[i]:_Operator_index[i+1]] }
Upload File
Create Folder