|
| 1 | +func (self *VimLParser) __init__() { |
| 2 | + var x = 1 |
| 3 | +} |
| 4 | + |
| 5 | +var y = &ExArg{} |
| 6 | +self.hoge = 1 |
| 7 | +self.ea.range_ = 1 |
| 8 | +xxx.x = 1 |
| 9 | +var z = self.ea.range_ |
| 10 | +var xs = viml_range(10) |
| 11 | +Node() |
| 12 | +var type_ = 1 |
| 13 | +var t = type_ |
| 14 | +var at = type_ |
| 15 | +var lhs = &lhs{} |
| 16 | +var lhs = hoge() |
| 17 | +for _, x := range builtin_commands { |
| 18 | +} |
| 19 | +func (self *LvalueParser) pos1() { |
| 20 | + var pos = self.reader.tell() |
| 21 | +} |
| 22 | + |
| 23 | +func (self *LvalueParser) pos2() { |
| 24 | + var pos = self.reader.tell() |
| 25 | +} |
| 26 | + |
| 27 | +self.ea.forceit = true |
| 28 | +self.ea.forceit = false |
| 29 | +self.ea.usefilter = true |
| 30 | +self.ea.usefilter = false |
| 31 | +node.attr.range_ = true |
| 32 | +node.attr.abort = true |
| 33 | +node.attr.dict = true |
| 34 | +// skip |
| 35 | +// end skip |
| 36 | +// do not skip |
| 37 | +node.list = self.parse_lvaluelist() |
| 38 | +node.depth = hoge |
| 39 | +node.rlist = []*VimNode{nil, nil} |
| 40 | +node.rlist = []*VimNode{right, nil} |
| 41 | +node.rlist = F() |
| 42 | +// end do not skip |
| 43 | +var p = NewVimLParser() |
| 44 | +var et = NewExprTokenizer(r) |
| 45 | +var ep = NewExprParser(r) |
| 46 | +var lp = NewLvalueParser(r) |
| 47 | +var r = NewStringReader(lines) |
| 48 | +var nl = nil |
| 49 | +var list []*VimNode |
| 50 | +var curly_parts []*VimNode |
| 51 | +var cmd *Cmd = nil |
| 52 | +cmd = &Cmd{name: name, flags: "USERCMD", parser: "parse_cmd_usercmd"} |
| 53 | +// type assertion |
| 54 | +var s = left.value.(string) |
| 55 | +var vn = isvarname(node.value.(string)) |
| 56 | +func cache() { |
| 57 | + self.reader.seek_set(x[0].(int)) |
| 58 | + return x[1].(*ExprToken) |
| 59 | +} |
| 60 | + |
| 61 | +F(self.compile(node.left).(string)) |
| 62 | +F(self.compile(node.rest).(string)) |
| 63 | +func F() { |
| 64 | + return node.value.(string) |
| 65 | +} |
| 66 | + |
| 67 | +// end type assertion |
| 68 | +xs = append(xs, x) |
| 69 | +node.value = append(node.value.([]interface{}), []interface{}{key, val}) |
| 70 | +if cnode.pattern != "" { |
| 71 | +} |
| 72 | +if node.depth != 0 { |
| 73 | +} |
| 74 | +var rlist = func() []string {;var ss []string;for _, vval := range node.rlist {;ss = append(ss, self.compile(vval).(string));};return ss;}() |
| 75 | +F(func() string { if node.rlist[0] == nil {return "nil"} else {return self.compile(node.rlist[0]).(string)} }()) |
| 76 | +F(func() string { if node.rlist[1] == nil {return "nil"} else {return self.compile(node.rlist[1]).(string)} }()) |
0 commit comments