Documentation ¶
Index ¶
- func Close()
- func Exit(code int)
- func L(fileIndex, debugIndex, offset int, item Item)
- func SprintCutCheckQuote(max int, s string) string
- type Addr
- type AddrImpl
- type AfdFileIndex
- type AfdFileSize
- type AfdMsgIndex
- type AnnotatorFileData
- type Conn
- type ConnCloser
- type CtxDoneRelease
- type Decoder
- type EDRegId
- type EDRegistry
- type ES
- type Encoder
- type FilesDataMsg
- type InitWait
- type Item
- func IA(lhs *ItemList, op int, rhs *ItemList) Item
- func IAn() Item
- func IB(x Item, op int, y Item, result Item) Item
- func IBr() Item
- func IC(enter Item, result Item) Item
- func ICe(fun Item, args *ItemList) Item
- func II(expr, index, result Item) Item
- func II2(expr, low, high, max Item, slice3 bool, result Item) Item
- func IKV(key, value Item) Item
- func IL2(u ...Item) Item
- func ILa(reason string) Item
- func ILit(fields *ItemList) Item
- func INAnn(reason string) Item
- func IP(x Item) Item
- func IS(ch, value Item) Item
- func ISel(x, sel, result Item) Item
- func ISt() Item
- func ITA(x, t, result Item, isSwitch bool) Item
- func IU(enter Item, result Item) Item
- func IUe(op int, x Item) Item
- func IVi(v any) Item
- func IVr(v int) Item
- func IVs(s string) Item
- func IVt(v any) Item
- type ItemAnon
- type ItemAssign
- type ItemBinary
- type ItemBranch
- type ItemCall
- type ItemCallEnter
- type ItemIndex
- type ItemIndex2
- type ItemKeyValue
- type ItemLabel
- type ItemList
- type ItemList2
- type ItemLiteral
- type ItemNotAnn
- type ItemParen
- type ItemSelector
- type ItemSend
- type ItemStep
- type ItemTypeAssert
- type ItemUnary
- type ItemUnaryEnter
- type ItemValue
- type Listener
- type Logger
- type MsgWriteBuffering
- type OffsetMsg
- type OffsetMsgs
- type Proto
- type ProtoConn
- type ProtoEditorSide
- type ProtoExecSide
- type ProtoSide
- type ReqFilesDataMsg
- type ReqStartMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exit ¶ added in v1.3.1
func Exit(code int)
Auto-inserted in annotated files to replace os.Exit calls. Don't use. Non-annotated files that call os.Exit will not let the editor receive all debug msgs. The sync msgs option will need to be used.
func L ¶ added in v1.3.7
Auto-inserted at annotations. Don't use. NOTE: func name is used in annotator, don't rename.
func SprintCutCheckQuote ¶ added in v1.3.3
Types ¶
type AddrImpl ¶ added in v1.3.7
type AddrImpl struct {
// contains filtered or unexported fields
}
a simple addr implementation
type AfdFileIndex ¶ added in v1.3.7
type AfdFileIndex = uint16
type AfdFileSize ¶ added in v1.3.7
type AfdFileSize = uint32
type AfdMsgIndex ¶ added in v1.3.7
type AfdMsgIndex = uint32 // uint16 enough?
type AnnotatorFileData ¶
type AnnotatorFileData struct { // decl order matters: used by the config generator to fill the struct FileIndex AfdFileIndex NMsgIndexes AfdMsgIndex Filename string FileSize AfdFileSize FileHash []byte }
type ConnCloser ¶ added in v1.3.7
type ConnCloser struct { Conn // contains filtered or unexported fields }
func (*ConnCloser) Close ¶ added in v1.3.7
func (cc *ConnCloser) Close() error
type CtxDoneRelease ¶ added in v1.3.7
type CtxDoneRelease struct {
// contains filtered or unexported fields
}
func (*CtxDoneRelease) Release ¶ added in v1.3.7
func (cdr *CtxDoneRelease) Release()
type Decoder ¶ added in v1.3.7
type Decoder struct { Logger // contains filtered or unexported fields }
type EDRegistry ¶ added in v1.3.7
type EDRegistry struct {
// contains filtered or unexported fields
}
encode/decode, id/type, registry
type Encoder ¶ added in v1.3.7
type Encoder struct { Logger // contains filtered or unexported fields }
type FilesDataMsg ¶
type FilesDataMsg struct {
Data []*AnnotatorFileData
}
type ItemBranch ¶
type ItemBranch struct {
Item
}
type ItemCall ¶
type ItemCall struct { Item Enter *ItemCallEnter Result Item }
type ItemCallEnter ¶
type ItemIndex2 ¶
type ItemKeyValue ¶
type ItemLiteral ¶
type ItemNotAnn ¶ added in v1.3.1
type ItemTypeAssert ¶
type ItemUnary ¶
type ItemUnary struct { Item Enter *ItemUnaryEnter Result Item }
type ItemUnaryEnter ¶
type MsgWriteBuffering ¶ added in v1.3.7
type MsgWriteBuffering struct {
// contains filtered or unexported fields
}
func (*MsgWriteBuffering) Write ¶ added in v1.3.7
func (wb *MsgWriteBuffering) Write(lm *OffsetMsg) error
type OffsetMsg ¶ added in v1.3.7
type OffsetMsg struct { FileIndex AfdFileIndex MsgIndex AfdMsgIndex Offset AfdFileSize Item Item }
type OffsetMsgs ¶ added in v1.3.7
type OffsetMsgs []*OffsetMsg
type Proto ¶ added in v1.3.7
type Proto struct { Side ProtoSide // contains filtered or unexported fields }
func StartEditorSide ¶ added in v1.3.7
func (*Proto) GotConnectedFastCheck ¶ added in v1.3.7
type ProtoConn ¶ added in v1.3.7
type ProtoConn struct {
// contains filtered or unexported fields
}
type ProtoEditorSide ¶ added in v1.3.7
type ProtoEditorSide struct { FData *FilesDataMsg // received from exec side // contains filtered or unexported fields }
type ProtoExecSide ¶ added in v1.3.7
type ProtoExecSide struct { NoWriteBuffering bool // contains filtered or unexported fields }
type ReqFilesDataMsg ¶
type ReqFilesDataMsg struct{}
type ReqStartMsg ¶
type ReqStartMsg struct{}
Click to show internal directories.
Click to hide internal directories.