view

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SourceFileCache

type SourceFileCache struct {
	Cache map[string][]string
}

SourceFileCache caches all the source files

func NewSourceFileCache

func NewSourceFileCache() *SourceFileCache

NewSourceFileCache creates a new instance

type View

type View struct {
	Input *bufio.Reader
}

View facade

func NewView

func NewView() *View

NewView creates a new view instance

func (*View) GetInputLine

func (v *View) GetInputLine() string

GetInputLine reads one line

func (*View) Print

func (v *View) Print(s string)

Print prints a string without any format

func (*View) PrintApplicationInformation

func (v *View) PrintApplicationInformation(version string, host string, port uint16)

PrintApplicationInformation general dialog

func (*View) PrintErrorLn

func (v *View) PrintErrorLn(s string)

PrintErrorLn prints a error string

func (*View) PrintInputPrefix

func (v *View) PrintInputPrefix()

PrintInputPrefix prints the input preamble

func (*View) PrintLn

func (v *View) PrintLn(s string)

PrintLn prints a string without any format

func (*View) PrintPropertyListWithDetails

func (v *View) PrintPropertyListWithDetails(scopeName string, propertyList []dbgp.ProtocolProperty)

PrintPropertyListWithDetails print

func (*View) PrintSourceChangeLn

func (v *View) PrintSourceChangeLn(s string)

PrintSourceChangeLn called when the current file is different from the previous one

func (*View) PrintSourceLn

func (v *View) PrintSourceLn(s string, idx int, length int)

PrintSourceLn prints a string without any format

func (*View) ShowBreakpointHelpMessage

func (view *View) ShowBreakpointHelpMessage()

ShowBreakpointHelpMessage prints a short breakpoint help dialog

func (*View) ShowContextHelpMessage

func (view *View) ShowContextHelpMessage()

ShowContextHelpMessage prints a short context help dialog

func (*View) ShowHelpMessage

func (view *View) ShowHelpMessage()

ShowHelpMessage prints a short overall help dialog

func (*View) ShowInfoBreakpoints

func (view *View) ShowInfoBreakpoints(bpl []dbgp.ProtocolBreakpoint)

ShowInfoBreakpoints prints a short info help dialog

func (*View) ShowInfoHelpMessage

func (view *View) ShowInfoHelpMessage()

ShowInfoHelpMessage prints a short info help dialog

func (*View) ShowPrintHelpMessage

func (v *View) ShowPrintHelpMessage()

ShowPrintHelpMessage prints a short step help dialog

func (*View) ShowStepHelpMessage

func (view *View) ShowStepHelpMessage()

ShowStepHelpMessage prints a short step help dialog

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL