Documentation ¶
Index ¶
- type Context
- func (ctx *Context) BeginRawMode(t node.Tag)
- func (ctx *Context) EndRawMode(t node.Tag)
- func (ctx *Context) InRawMode(t node.Tag) bool
- func (ctx *Context) Prev2Node() node.Node
- func (ctx *Context) PrevNode() node.Node
- func (ctx *Context) RawModeTag() node.Tag
- func (ctx *Context) SetPrevNode(n node.Node)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { basecontext.Context // contains filtered or unexported fields }
Context is a wrapper around context.Context with convinient methods.
func (*Context) BeginRawMode ¶
BeginRawMode begins a raw mode for tag.
func (*Context) EndRawMode ¶
EndRawMode ends a raw mode for tag.
func (*Context) RawModeTag ¶
RawModeTag returns a tag in raw mode.
func (*Context) SetPrevNode ¶
SetPrevNode sets a previous processed node.
Click to show internal directories.
Click to hide internal directories.