github.com/hirochachacha/plua@v0.0.0-20170217012138-c82f520cc725/object/table.go (about)

     1  package object
     2  
     3  type Table interface {
     4  	Value
     5  
     6  	// Sequence APIs
     7  	Len() int
     8  	SetList(base int, src []Value)
     9  
    10  	// Map APIs
    11  	Get(key Value) Value
    12  	Set(Key, val Value)
    13  	Del(key Value)
    14  	Next(key Value) (nkey, nval Value, ok bool)
    15  
    16  	Metatable() Table
    17  	SetMetatable(mt Table)
    18  }