Documentation
¶
Index ¶
- Constants
- func Code(prsng *Parsing, coords ...int64) (c string)
- func EvalParsing(prsng *Parsing, wout io.Writer, rin io.Reader, initpath string, canexec bool, ...) (err error)
- func ParseEval(prsng *Parsing, forceCode bool, ...) (val interface{}, err error)
- func ParsePrsng(prsng *Parsing, canexec bool, performParsing func(prsng *Parsing) (err error), ...) (err error)
- func PassiveoutSubString(prsng *Parsing, offs int64, offe int64) (s string)
- type AltActiveAPI
- type Parsing
- func (prsng *Parsing) BinRead(size int) (b []byte, err error)
- func (prsng *Parsing) BinWrite(b ...byte) (n int, err error)
- func (prsng *Parsing) DecPrint()
- func (prsng *Parsing) DecRead()
- func (prsng *Parsing) Dispose()
- func (prsng *Parsing) IncPrint(w io.Writer)
- func (prsng *Parsing) IncRead(r io.Reader)
- func (prsng *Parsing) Print(a ...interface{}) (err error)
- func (prsng *Parsing) Println(a ...interface{}) (err error)
- func (prsng *Parsing) ReadAll() (s string, err error)
- func (prsng *Parsing) ReadLines() (lines []string, err error)
- func (prsng *Parsing) ReadLn() (ln string, err error)
- func (prsng *Parsing) ResetPrint()
- func (prsng *Parsing) ResetRead()
- func (prsng *Parsing) Seek(offset int64, whence int) (n int64, err error)
- func (prsng *Parsing) TopPrsng() *Parsing
- type ParsingReader
Constants ¶
View Source
const ( ElemNone elemtype = iota //ElemStart - elem start ElemStart //ElemEnd - elem end ElemEnd //ElemSingle - elem single ElemSingle )
Variables ¶
This section is empty.
Functions ¶
func EvalParsing ¶
func ParsePrsng ¶
Types ¶
type AltActiveAPI ¶
type AltActiveAPI interface { AltLookupTemplate(string, ...interface{}) (io.Reader, error) AltPrint(w io.Writer, a ...interface{}) error AltPrintln(w io.Writer, a ...interface{}) error AltBinWrite(w io.Writer, b ...byte) (n int, err error) AltReadln(r io.Reader) (ln string, err error) AltSeek(r io.Reader, offset int64, whence int) (n int64, err error) AltReadlines(r io.Reader) (lines []string, err error) AltReadAll(r io.Reader) (s string, err error) AltBinRead(r io.Reader, size int) (b []byte, err error) AltObjectRef() map[string]interface{} ProcessParsing(prsng *Parsing) (err error) }
type Parsing ¶
type Parsing struct { AtvActv AltActiveAPI LookupTemplate func(string, ...interface{}) (io.Reader, error) *iorw.Buffer //psvctrl *passivectrl //prvpsvctrls map[*passivectrl]*passivectrl Prsvpth string // contains filtered or unexported fields }
func NextParsing ¶
func (*Parsing) ResetPrint ¶
func (prsng *Parsing) ResetPrint()
type ParsingReader ¶
type ParsingReader struct {
// contains filtered or unexported fields
}
func NewParseReader ¶
func NewParseReader(prsng *Parsing, a ...interface{}) (prsngrdr *ParsingReader)
func (*ParsingReader) Close ¶
func (prsngrdr *ParsingReader) Close() (err error)
Click to show internal directories.
Click to hide internal directories.