Example #1
0
File: fs.go Project: hialin/hialin
func (n fileNex) Value() nex.Value { return nex.Str(filepath.Base(n.path)) }
Example #2
0
func (n lineNex) Value() nex.Value { return nex.Str(n.line) }
Example #3
0
func (tn termNex) Value() nex.Value                           { return nex.Str(tn.value) }
Example #4
0
func (n hostNode) Value() nex.Value { return nex.Str(n.name) }