MCPcopy Create free account

hub / github.com/dev-formata-io/stof / functions

Functions1,484 in github.com/dev-formata-io/stof

↓ 10 callersFunctionvalue
()
src/parser/string.rs:113
↓ 9 callersFunctionblock
Parse a block of statements.
src/parser/statement/mod.rs:33
↓ 9 callersMethodcast
Cast a number into another number type.
src/runtime/num.rs:404
↓ 9 callersMethodcommon
Common unit.
src/runtime/units.rs:190
↓ 9 callersFunctiondays_in_month
Number of days in a given year/month.
src/model/libraries/time/mod.rs:236
↓ 9 callersMethodfind_node_named
Find a node with a named path, optionally starting from an existing node.
src/model/graph.rs:113
↓ 9 callersMethodget
Get a value from this document by path with an optional starting object (string obj id).
src/py/mod.rs:41
↓ 9 callersFunctiongetStringFromWasm0
(ptr, len)
web/pkg/stof.js:97
↓ 9 callersMethodinsert_data
Insert data into the graph and onto a node. Data in the graph must be associated with a node. Will overwrite data with the same ID if already in the g
src/model/graph.rs:634
↓ 9 callersMethodinsert_node
Insert a node. If a parent is not provided, the behavior is the same as insert root.
src/model/graph.rs:346
↓ 9 callersMethodis_temperature
Is temperature?
src/runtime/units.rs:624
↓ 8 callersMethodgraph_mut
(&self)
src/js/mod.rs:62
↓ 8 callersMethodimg_binary_export
(&self, graph: &Graph, _format: &str, node: Option<NodeRef>)
src/model/formats/image/mod.rs:72
↓ 8 callersMethodimg_binary_import
(&self, graph: &mut Graph, _format: &str, bytes: bytes::Bytes, node: Option<NodeRef>, _profile: &Profile)
src/model/formats/image/mod.rs:41
↓ 8 callersMethodis_length
Is length?
src/runtime/units.rs:696
↓ 8 callersMethodis_mass
Is mass?
src/runtime/units.rs:541
↓ 8 callersMethodis_memory
Is computer memory?
src/runtime/units.rs:784
↓ 8 callersMethodis_time
Is time?
src/runtime/units.rs:654
↓ 8 callersMethodlibfunc
Get a library function.
src/model/graph.rs:297
↓ 8 callersFunctionwrite
Filesystem write to a file.
src/model/libraries/filesys/mod.rs:85
↓ 7 callersMethoddata_exists
Data exists at this ref?
src/model/sref.rs:222
↓ 7 callersMethodget
Get a value from this graph using the Stof runtime (all language features supported).
src/js/mod.rs:83
↓ 7 callersMethodimg_string_export
(&self, graph: &Graph, format: &str, node: Option<NodeRef>)
src/model/formats/image/mod.rs:101
↓ 7 callersMethodimg_string_import
(&self, graph: &mut Graph, format: &str, src: &str, node: Option<NodeRef>, profile: &Profile)
src/model/formats/image/mod.rs:106
↓ 7 callersFunctionparse_json_object_value
Parse a serde_json Object value into a graph.
src/model/formats/json/import.rs:24
↓ 7 callersMethodpop
Pop an instruction.
src/runtime/instruction.rs:464
↓ 7 callersFunctionpush_datetime_as_ms
Push a DateTime<Utc> back onto the stack as a ms unit value.
src/model/libraries/time/mod.rs:115
↓ 7 callersMethodset
Set data value.
src/model/data.rs:186
↓ 7 callersMethodtrace
Trace.
src/runtime/proc.rs:94
↓ 6 callersFunctionaddToExternrefTable0
(obj)
web/pkg/stof.js:3
↓ 6 callersMethodencode
Encode a node as a URL encoded string.
src/model/formats/urlencoded/encoded.rs:26
↓ 6 callersMethodget_format_by_content_type
Get a format by content type.
src/model/graph.rs:1154
↓ 6 callersMethodinstance_of
Is this value an instance of a prototype?
src/runtime/value.rs:1156
↓ 6 callersMethodinvalidate
Invalidate with a symbol.
src/model/data.rs:68
↓ 6 callersMethodis_angle
Is angle?
src/runtime/units.rs:441
↓ 6 callersMethodparse
* Parse Stof into this document, optionally within the specified node (pass null for root node). * @param {string} stof * @param {any} node
web/pkg/stof.js:444
↓ 6 callersFunctionparse_import
Parse an import statement (format, path, scope).
src/parser/import.rs:50
↓ 6 callersFunctionread
Filesystem read a file into a blob.
src/model/libraries/filesys/mod.rs:33
↓ 6 callersMethodremove_data
Remove data from this graph. If given a node to remove from, the data will only be removed from that node. Otherwise, it will be removed from the enti
src/model/graph.rs:705
↓ 6 callersMethodserialize
(&self, serializer: S)
src/model/sid.rs:151
↓ 5 callersMethoddangling_obj
Is this variable a dangling object reference?
src/runtime/variable.rs:172
↓ 5 callersFunctiondoc_comment
Doc comment. Also eats up whitespace before and after.
src/parser/whitespace.rs:23
↓ 5 callersFunctiondocument
Parse a Stof document into a context (graph).
src/parser/doc.rs:85
↓ 5 callersMethodeval
Use this to quickly evaluate one instruction in the parse process. Must have a process in done.
src/parser/context.rs:287
↓ 5 callersFunctiongetUint8ArrayMemory0
()
web/pkg/stof.js:103
↓ 5 callersMethodgt
Runtime greater than another value?
src/runtime/value.rs:1831
↓ 5 callersMethodinsert_data_deadpool
Insert data deadpool.
src/model/graph.rs:167
↓ 5 callersMethodinsert_node_id
Insert a node with an ID.
src/model/graph.rs:365
↓ 5 callersMethodinsert_root
Insert a root node directly.
src/model/graph.rs:328
↓ 5 callersMethodinvalidate
Invalidate with a symbol.
src/model/node.rs:112
↓ 5 callersMethodis_degrees
Is degrees?
src/runtime/units.rs:470
↓ 5 callersMethodlt
Runtime less than another value?
src/runtime/value.rs:1942
↓ 5 callersMethodmore
Are there more instructions to process?
src/runtime/instruction.rs:65
↓ 5 callersMethodnew
* Ensure stof is initialized before creating a new instance.
web/doc.ts:201
↓ 5 callersMethodnode_name
Node name.
src/model/sref.rs:44
↓ 5 callersMethodnode_removed
Removed from a node.
src/model/data.rs:159
↓ 5 callersMethodobj_to_proto
If this is an object type as a name, find the prototype and swap it. Or if a union, make sure all objects in the union are NodeRefs.
src/runtime/types.rs:258
↓ 5 callersMethodparse
Parse Stof into this document, optionally within the specified node (pass null for root node).
src/js/mod.rs:265
↓ 5 callersFunctionparse_attributes
Parse attributes.
src/parser/mod.rs:42
↓ 5 callersMethodparse_from_file
Parse from a file path into a node or self.
src/parser/context.rs:65
↓ 5 callersMethodparse_proc
Get the current parse process.
src/parser/context.rs:169
↓ 5 callersFunctionparse_semver_alone
Parse a Semantic Version alone.
src/parser/semver.rs:23
↓ 5 callersMethodpop_relative_import_stack
Pop relative import stack.
src/parser/context.rs:147
↓ 5 callersMethodref_count
Ref count.
src/model/data.rs:170
↓ 5 callersMethodrun
Run functions with the given attribute(s). Attribute defaults to #[main] if None.
src/py/mod.rs:89
↓ 5 callersMethodrun_to_complete
Run to completion.
src/runtime/runtime.rs:178
↓ 5 callersMethodstr
Is str value?
src/runtime/value.rs:703
↓ 5 callersMethodto_string
(&self)
src/runtime/types.rs:454
↓ 5 callersMethodtry_promise
Try extracting the promise value PID & type.
src/runtime/value.rs:859
↓ 5 callersMethodvalidate
Validate with a symbol.
src/model/node.rs:148
↓ 5 callersFunctionvar_func
(input: &str, chained: bool, as_ref: bool, check_null: bool)
src/parser/expr/graph.rs:94
↓ 4 callersMethodcast
Cast this value to a different type.
src/runtime/value.rs:1174
↓ 4 callersMethoddata
Is data value?
src/runtime/value.rs:766
↓ 4 callersFunctiondocument_statement
Parse a singular document statement.
src/parser/doc.rs:114
↓ 4 callersMethoddrop_data
Drop data in this val (this is like a heap). Only remove if a primitive val allocated in the graph (node, field, func, etc..)
src/runtime/value.rs:1075
↓ 4 callersMethoddump
Dump this node.
src/model/node.rs:320
↓ 4 callersMethodfract
Fract.
src/runtime/num.rs:1319
↓ 4 callersMethodget_data
Get named data.
src/model/node.rs:310
↓ 4 callersMethodhas_units
This number has units?
src/runtime/num.rs:276
↓ 4 callersMethodhas_units
Has units?
src/runtime/units.rs:425
↓ 4 callersFunctionident
Parse an identifier. Identifiers are used as function names, field names, variable names, etc.
src/parser/ident.rs:23
↓ 4 callersMethodinsert_external_node
Insert an external node (cloned), contained within another graph.
src/model/graph.rs:575
↓ 4 callersMethodinsert_stof_node
Insert stof node. Don't call this with nodes that already exist in the graph (have a valid ID already).
src/model/graph.rs:385
↓ 4 callersMethodinsert_type
Insert a type by typename.
src/model/graph.rs:179
↓ 4 callersMethodinvalidate_attrs
Invalidate attributes.
src/model/node.rs:124
↓ 4 callersMethodinvalidate_nodes
Invalidate nodes.
src/model/data.rs:80
↓ 4 callersMethodinvalidate_parent
Invalidate parent.
src/model/node.rs:130
↓ 4 callersMethodinvalidate_value
Invalidate value.
src/model/data.rs:86
↓ 4 callersFunctionjson_value_from_node
Export a serde_json Value from a node in the graph.
src/model/formats/json/export.rs:23
↓ 4 callersMethodlib_name
Library name for this value.
src/runtime/value.rs:1652
↓ 4 callersMethodlt
Less than another number?
src/runtime/num.rs:544
↓ 4 callersMethodmove_running_to_done
Move from running to done.
src/runtime/runtime.rs:135
↓ 4 callersMethodobject_search
Use the remaining path to find a function at the path starting at an object. This should include any prototypes that the object has.
src/runtime/instructions/call.rs:186
↓ 4 callersMethodparse
* Parse a JS object into a StofDoc.
web/doc.ts:212
↓ 4 callersFunctionparse_type_complete
Parse type standalone parser.
src/parser/types.rs:23
↓ 4 callersMethodpop_self
Pop self stack.
src/parser/context.rs:269
↓ 4 callersMethodremove_running
Remove a process from running and return it.
src/runtime/runtime.rs:122
↓ 4 callersMethodset
Is set value?
src/runtime/value.rs:830
↓ 4 callersMethodstringify
* Stringify this doc into a format (JSON by default).
web/doc.ts:318
↓ 4 callersMethodtagname
Tagname.
src/model/data.rs:213
← previousnext →101–200 of 1,484, ranked by callers