Documentation ¶
Overview ¶
Copyright 2009 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
- Variables
- func CloseReader(r io.Reader)
- func ParseJSON(r io.Reader) (nitro.Value, error)
- func PopStdout(m *nitro.VM) io.Writer
- func PushStdout(m *nitro.VM, out io.Writer)
- func RegisterAll(c *nitro.Compiler)
- func SetStderr(m *nitro.VM, w io.Writer)
- func SetStdout(m *nitro.VM, w io.Writer)
- func Stderr(m *nitro.VM) io.Writer
- func Stdout(m *nitro.VM) io.Writer
- func ToArray(m *nitro.VM, v nitro.Value) (*nitro.Array, error)
- func ToJSON(v nitro.Value, prefix, indent string) ([]byte, error)
- type Buffer
- type Duration
- func (d Duration) Duration() time.Duration
- func (d Duration) EvalOp(op nitro.Op, operand nitro.Value) (nitro.Value, error)
- func (d Duration) Index(key nitro.Value) (nitro.Value, error)
- func (d Duration) IndexRef(key nitro.Value) (nitro.ValueRef, error)
- func (d Duration) String() string
- func (d Duration) Type() string
- type File
- func (f *File) Call(m *nitro.VM, args []nitro.Value, nRet int) ([]nitro.Value, error)
- func (f *File) EvalOp(op nitro.Op, operand nitro.Value) (nitro.Value, error)
- func (f *File) GetNativeReader() io.Reader
- func (f *File) GetNativeWriter() io.Writer
- func (f *File) Index(key nitro.Value) (nitro.Value, error)
- func (f *File) IndexRef(key nitro.Value) (nitro.ValueRef, error)
- func (f *File) String() string
- func (f *File) Type() string
- type NativeReader
- type NativeWriter
- type PathExpr
- type Time
- type Value2Structer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAborted = errors.New("aborted")
Functions ¶
func CloseReader ¶
func RegisterAll ¶
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
type NativeReader ¶
type NativeWriter ¶
type Value2Structer ¶
type Value2Structer struct {
// contains filtered or unexported fields
}
Source Files ¶
- base64.go
- buf.go
- crlf.go
- csv.go
- discard.go
- do.go
- duration.go
- env.go
- exec.go
- file.go
- filter.go
- first.go
- flatten.go
- hex.go
- io.go
- join.go
- json.go
- lib.go
- lines.go
- map.go
- mapreduce.go
- parsefloat.go
- parseint.go
- path_expr.go
- prefix_suffix_saver.go
- print.go
- probe.go
- prompt.go
- reduce.go
- regex.go
- sha1.go
- skip.go
- sleep.go
- sort.go
- stat.go
- take.go
- time.go
- to_bool.go
- toarray.go
- toint.go
- tomap.go
- tostring.go
- type.go
- unique.go
- user_home_dir.go
- util.go
- value_to_structer.go
Click to show internal directories.
Click to hide internal directories.