Documentation ¶
Index ¶
- Variables
- type FileStackElement
- type FileStackType
- func (ns *FileStackType) Dump1()
- func (ns *FileStackType) GetNames() (names []string)
- func (ns *FileStackType) IsEmpty() bool
- func (ns *FileStackType) Length() int
- func (ns *FileStackType) Peek() (FileStackElement, error)
- func (ns *FileStackType) Pop()
- func (ns *FileStackType) Push(S, C int, fp *os.File, name string)
- func (ns *FileStackType) SetLineNo(n int)
- func (ns *FileStackType) SetScanner(ss *bufio.Scanner)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyStack = errors.New("Empty Stack")
Functions ¶
This section is empty.
Types ¶
type FileStackElement ¶
type FileStackType ¶
type FileStackType struct { Stack []FileStackElement Top int }
func NewFileStackType ¶
func NewFileStackType() (rv *FileStackType)
func (*FileStackType) Dump1 ¶
func (ns *FileStackType) Dump1()
func (*FileStackType) GetNames ¶
func (ns *FileStackType) GetNames() (names []string)
func (*FileStackType) IsEmpty ¶
func (ns *FileStackType) IsEmpty() bool
func (*FileStackType) Length ¶
func (ns *FileStackType) Length() int
func (*FileStackType) Peek ¶
func (ns *FileStackType) Peek() (FileStackElement, error)
func (*FileStackType) Pop ¶
func (ns *FileStackType) Pop()
func (*FileStackType) SetLineNo ¶
func (ns *FileStackType) SetLineNo(n int)
func (*FileStackType) SetScanner ¶
func (ns *FileStackType) SetScanner(ss *bufio.Scanner)
Click to show internal directories.
Click to hide internal directories.