MCPcopy Create free account

hub / github.com/dotchain/dot / types & classes

Types & classes213 in github.com/dotchain/dot

↓ 219 callersTypeAliasS8
S8 implements a string whose offsets are UTF8 bytes
changes/types/string.go:14
↓ 187 callersTypeAliasS16
S16 implements string with offsets and counts referring to utf16 runes. The UTF16 offsets map to native Javascript string offsets.
changes/types/string.go:61
↓ 21 callersTypeAliasPath
Path represents a reference to a value at a specific path. A nil or empty path refers to the root value. This is an immutable type -- none of the met
refs/path.go:20
↓ 20 callersTypeAliasCounter
Counter implements a 32-bit counter that can be incremented, decremented or replaced. Counter implements the changes.Value interface.
changes/types/counter.go:12
↓ 13 callersTypeAliasChangeSet
ChangeSet represents a collection of changes. It implements the Change interface thereby allowing merging groups of changes against each other.
changes/changes.go:177
↓ 9 callersFuncTypeCallable
Callable wraps a function into a value type that can be called
x/rich/eval/callable.go:13
↓ 7 callersTypeAliasFontWeight
FontWeight is CSS font-weight
x/rich/data/font_weight.go:12
↓ 7 callersTypeAliasmyInt32
ops/sjson/sjson_test.go:51
↓ 6 callersTypeAliasmySlice2
x/dotc/testdata/myslice/input.go:10
↓ 6 callersTypeAliasmySlice2P
x/dotc/testdata/myslice/input.go:15
↓ 4 callersTypeAliasmySlice3P
x/dotc/testdata/myslice/input.go:16
↓ 3 callersTypeAliasMySlice
MySlice is public
x/dotc/testdata/myslice/input.go:9
↓ 3 callersTypeAliasMySliceP
MySliceP is public
x/dotc/testdata/myslice/input.go:14
↓ 3 callersFuncTypeScope
Scope is any scope lookup function. Scope lookups are expected to return evaluated values but nested fields may contain unevaluated values.
x/rich/eval/eval.go:91
↓ 3 callersStructSlice
Slice has the type information of a slice for code generation of the Apply(), ApplyCollection() and Splice() methods
x/dotc/slice.go:14
↓ 3 callersTypeAliasTodoList
TodoList tracks a collection of todo items
example/todo.go:30
↓ 3 callersTypeAliasmySlice3
x/dotc/testdata/myslice/input.go:11
↓ 2 callersTypeAliasA
The A type represents a slice of arbitrary values. It implements the changes.Value interface. The actual elements can be nil (unlike the regular requi
changes/types/array.go:13
↓ 2 callersInterfaceChange
Change represents an OT-compatible mutation The methods provided here are the core methods. Custom changes should implement the Custom interface in
changes/changes.go:81
↓ 2 callersTypeAliasNoAttribute
NoAttribute specified that a specific attribute should be nullified. This is used with Editor.SetAttribute to specify that the override is actively re
x/rich/riched/no_attribute.go:14
↓ 2 callersTypeAliasSliceStream
SliceStream implements code generation for streams of slices
x/dotc/slices.go:13
↓ 2 callersTypeAliasStructStream
StructStream implements code generation for streams of structs
x/dotc/structs.go:13
↓ 2 callersTypeAliasUnionStream
UnionStream implements stream functionality for unions
x/dotc/unions.go:13
↓ 2 callersTypeAliasdelContainer
changes/crdt/container.go:112
↓ 2 callersTypeAliasstrError
ops/nw/common.go:96
↓ 2 callersTypeAliassubsuite
streams/substream_test.go:16
↓ 1 callersTypeAliasText
Text represents a rich text
x/rich/text.go:30
↓ 1 callersInterfaceValue
Value represents an immutable JSON object that can apply changes. Array like values should also implement Collection
changes/changes.go:149
↓ 1 callersTypeAliasarray
x/rich/eval/array.go:14
↓ 1 callersTypeAliasdict
x/rich/eval/dict.go:14
↓ 1 callersTypeAliasmckey
changes/meta.go:59
↓ 1 callersTypeAliasmyTime
ops/sjson/sjson_test.go:69
↓ 1 callersTypeAliasstr
x/rich/eval/string.go:13
StructAtomic
Atomic is an atomic Value. It can wrap any particular value and can be used in the Before, After fields of Replace or Splice.
changes/atomic.go:9
InterfaceAttr
Attr is a single attribute value
x/rich/attrs.go:13
TypeAliasAttrs
Attrs is a collection of attribute name value pairs
x/rich/attrs.go:19
StructBlockQuote
BlockQuote represents a block quote with any embedded content
x/rich/data/blockquote.go:14
StructBolt
Bolt represents a local file (bolt db) storage Path is the path to the file to write snapshots Initial is the initial app state. This can be nil if
x/snapshot/snapshot.go:33
StructBool
Bool implements a bool stream.
streams/bool.go:10
InterfaceCache
Cache holds transformation state for each operation. The transformed op is a version of the original op but one which can be applied directly on top
ops/cache.go:18
StructCall
Call represents a "call" expression. The first element of the array is expected to be "Callable" which can be called with the rest as args. All error
x/rich/eval/call.go:17
StructCaret
Caret is a reference to a specific position in an array-like object. This is an immutable type This only handles the standard set of changes. Custom
refs/caret.go:28
StructClient
Client implements the ops.Store interface by making network calls to the provided Url. All other fields of the Client are optional.
ops/nw/clientjs.go:22
StructClient
Client implements the ops.Store interface by making network calls to the provided Url. All other fields of the Client are optional.
ops/nw/client.go:21
InterfaceCodec
Codec is the interface codecs will have to implement to marshal and unmarshal requests and responses
ops/nw/common.go:21
StructCodec
Codec exposes both the encoder and decoder
ops/sjson/sjson.go:69
StructCol
Col represents the information about the column. The ID field is immutable. The Ord field is meant to help sort the columns and is not meant to be d
x/rich/data/col.go:22
InterfaceCollection
Collection represents an immutable array-like value
changes/changes.go:156
TypeAliasCols
Cols represents all the columns in the table
x/rich/data/cols.go:13
StructConfig
Config defines the configuration options for synchronization
ops/sync/config.go:15
StructContainer
Container holds a single CRDT value. This is implemented as a map of unique rank to values. Every update creates a new entry in this map. Undo of an
changes/crdt/container.go:18
StructContainer
Container wraps a Value and a set of references into the value. It implements the changes.Value interface. It acts like a "map-like" object with the
refs/container.go:16
InterfaceContext
Context defines the context in which a change is being applied. This is useful to capture data such as the "current user" or "virtual time" etc. For
changes/changes.go:251
StructCounter
Counter implements a counter stream.
streams/counter.go:13
InterfaceCustom
Custom is the interface that custom change types should implement. This allows the "known" types to interact with custom types. Custom changes might
changes/changes.go:111
StructDecoder
Decoder decodes any value
ops/sjson/decoder.go:18
StructDict
Dict implements a CRDT-style dictionary
changes/crdt/dict.go:10
InterfaceDiffer
Differ is the general Diff interface for computing changes in values as a changes.Change (which when applied to the old value is guaranteed to result
changes/diff/diff.go:16
StructDir
Dir wraps a value along with a map of objects. The contents of the value can refer to entries in the map using Ref
x/rich/data/dir.go:14
StructEditor
Editor wraps rich.Text with selection state and richer APIs The current cursor position is stored in Focus and Achor, both of which must have atleast
x/rich/riched/editor.go:35
StructEncoder
Encoder encodes any value
ops/sjson/encoder.go:17
StructEntry
Entry is a heap entry
x/heap/heap.go:18
StructField
Field holds info for a struct field
x/dotc/field.go:45
TypeAliasFontStyle
FontStyle is CSS font-style
x/rich/data/font_style.go:12
FuncTypeFormatter
Formatter is a generic html formatter
x/rich/html/format.go:19
StructGeneric
Generic is a helper to build value and collection types
changes/types/generic.go:10
StructHandler
Handler implements ServerHTTP using the provided store and codecs map. If no codecs map is provided, DefaultCodecs is used instead.
ops/nw/server.go:21
StructHeading
Heading represents h1 to h6. Note that the contents of the heading tag can be any rich text.
x/rich/data/heading.go:16
StructHeap
Heap implements a heap of keys
x/heap/heap.go:24
StructImage
Image represents an image url
x/rich/data/image.go:13
StructInfo
Info tracks all information used for code generation
x/dotc/info.go:16
StructInt
Int implements an int stream.
streams/int.go:10
StructLink
Link represents a url link
x/rich/data/link.go:13
StructList
List represents an ordered or unordered list The type can be one of the string values defined here: https://developer.mozilla.org/en-US/docs/Web/CSS/
x/rich/data/list.go:18
InterfaceLog
Log is the default interface for logging used through out the DOT project. This allows callers to provide their implementation if needed.
log/log.go:14
TypeAliasM
The M type represents a map of arbitrary key/values. It implements the changes.Value interface. As with all values, a nil value should be expressed v
changes/types/map.go:13
StructMergeResult
MergeResult contains the result of calling Merge on a path. If the path is invalidated by the change, the whole result is nil. Otherwise the field P s
refs/refs.go:56
StructMeta
Meta wraps a change with some metadata that is maintained as the change is merged. This is useful for carrying contexts with changes. One example is t
changes/meta.go:10
StructMove
Move represents a shuffling of some elements (specified by Offset and Count) over to a different spot (specified by Distance, which can be negative t
changes/move.go:10
StructMySlicePStream
MySlicePStream implements a stream of *MySliceP values
x/dotc/testdata/myslice/generated.go:485
StructMySliceStream
MySliceStream implements a stream of MySlice values
x/dotc/testdata/myslice/generated.go:305
StructMyStruct
MyStruct is public
x/dotc/testdata/mystruct/input.go:24
StructMyStructStream
MyStructStream implements a stream of MyStruct values
x/dotc/testdata/mystruct/generated3.go:69
InterfaceOp
Op represents a collection of changes, like a git-commit. The ID of the op uniquely identifies it. All operations are effectively ordered sequentual
ops/op.go:28
StructOperation
Operation holds the basic info needed for Op with string IDs
ops/op.go:77
FuncTypeOption
Option can be used to configure Sync behavior See WithSession and WithCloseNotify
ops/sync/config.go:49
StructParseError
ParseError captures the error state
x/rich/eval/errors.go:20
TypeAliasPath
changes/path_test.go:14
StructPathChange
PathChange represents a change at the provided "path" which can consist of strings (for map-like objects) and integers for array-like objects. In part
changes/path.go:12
InterfacePathMerger
PathMerger is the interface that custom Change types should implement.
refs/refs.go:44
StructRange
Range is a reference to a specific selection of elements in an array-like object. Ranges can be "collapsed" when they behave the same as Caret. This
refs/range.go:27
StructRank
Rank implements a unique ID that can be used for sorting. The Epoch field is meant to track the time when the rank was created, so this can be used f
changes/crdt/rank.go:19
InterfaceRef
Ref represents the core Reference type
refs/refs.go:17
StructRef
Ref represents a refereence to an embedded object storeed in a Dir. The Dir must be an ancestor of the Ref
x/rich/data/ref.go:11
StructReplace
Replace represents create, delete and update of a value based on whether Before is Nil, After is Nil and both are non-Nil respectively.
changes/replace.go:10
StructRow
Row represents the information about a row The ID field is immutable. The Ord field is meant to help sort the rows and is not meant to be directly m
x/rich/data/row.go:20
TypeAliasRows
Rows represents all the rows in the table
x/rich/data/rows.go:13
StructRun
Run implements a custom change type which applies a provided inner change to a run of items in an array. This is particularly useful for rich text op
changes/run/run.go:17
StructS16
S16 implements an UFT16 string stream
streams/s16.go:13
StructS8
S8 implements an UFT8 string stream
streams/s8.go:13
next →1–100 of 213, ranked by callers