package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: May 14, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IntValue will attempt to parse a byte-slice as a signed base-10 64-bit integer.
LitToRun will attempt to convert the literal value of a scanned token to a rune.
UintValue will attempt to parse a byte-slice as an unsigned base-10 64-bit integer.
NewStack will return a new, initialized stack.
Len returns the number of items on the stack, or 0 if it is empty.
func (this *Stack) Peek(index int) interface{}
Peek will return the item at `index` in the stack, where 0 is the bottom. Returns
nil if the index exceeds the length of the stack.
func (this *Stack) Pop() (item interface{})
Pop removes and returns the item at the top of the stack or nil.
func (this *Stack) Push(items ...interface{}) *Stack
Push places an item at the top of the stack or panics if item is nil.
func (this *Stack) Top() interface{}
Top returns the item at the top of the stack without altering the stack.
Source Files
¶
Directories
¶
|
|
|
|
Package md extracts code sections of markdown files
|
Package md extracts code sections of markdown files |
Click to show internal directories.
Click to hide internal directories.