Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akyoto/q
/ functions
Functions
1,095 in github.com/akyoto/q
⨍
Functions
1,095
◇
Types & classes
241
Method
Error
()
src/core/errors.go:282
Method
Error
()
src/core/errors.go:292
Method
Error
()
src/cli/errors.go:10
Method
Error
()
src/cli/errors.go:29
Method
Error
Error implements the error interface.
src/errors/FileError.go:22
Method
Error
()
src/scanner/errors.go:32
Method
Error
()
src/scanner/errors.go:41
Function
Exec
Exec executes an in-memory file.
src/memfile/Exec_other.go:11
Method
ExitBlocks
ExitBlocks is an iterator for all exit blocks.
src/ssa/IR.go:53
Method
Index
Index returns the position of the value within the slice.
src/ssa/Arguments.go:28
Method
Inputs
Inputs returns the address and index of the memory.
src/ssa/Memory.go:31
Method
Inputs
Inputs returns the condition.
src/ssa/Branch.go:27
Method
Inputs
Inputs returns the memory address of the load.
src/ssa/Load.go:34
Method
Inputs
Inputs returns the memory address and value of the store.
src/ssa/Store.go:26
Method
Inputs
Inputs returns nil because a jump has no inputs.
src/ssa/Jump.go:25
Method
Inputs
Inputs is the arguments list itself.
src/ssa/Arguments.go:33
Method
Inputs
Inputs returns the value to be copied.
src/ssa/Copy.go:29
Method
Inputs
Inputs returns the operand.
src/ssa/UnaryOp.go:34
Method
Inputs
Inputs returns the left and right operands.
src/ssa/BinaryOp.go:39
Method
Inputs
Inputs is the function pointer and the list of arguments.
src/ssa/Call.go:29
Method
Inputs
Inputs returns the tuple.
src/ssa/Field.go:29
Method
Inputs
Inputs returns nil because an independent value has no inputs.
src/ssa/Independent.go:7
Method
Inputs
Inputs returns nil because a label does not have dependencies.
src/codegen/Label.go:26
Method
Instructions
Instructions yields on each AST node.
src/token/Instructions.go:4
Method
IsIdentified
IsIdentified returns true if the value can be obtained from one of the identifiers.
src/ssa/Block.go:260
Method
IsPure
IsPure returns false because the inputs are not consumed.
src/ssa/Memory.go:36
Method
IsPure
IsPure returns false because a void value has side effects.
src/ssa/Void.go:15
Method
IsPure
IsPure returns true because an integer is always constant.
src/ssa/Int.go:29
Method
IsPure
IsPure returns false because a syscall can have side effects.
src/ssa/Syscall.go:28
Method
IsPure
IsPure returns true because a function reference is always constant.
src/ssa/Function.go:28
Method
IsPure
IsPure returns true because a data label is always constant.
src/ssa/Global.go:28
Method
IsPure
IsPure returns false because loads read from memory and two equal loads may yield different values.
src/ssa/Load.go:29
Method
IsPure
IsPure returns true.
src/ssa/Copy.go:34
Method
IsPure
IsPure returns true if the operand is constant.
src/ssa/UnaryOp.go:37
Method
IsPure
IsPure returns true because a parameter is always constant.
src/ssa/Parameter.go:33
Method
IsPure
IsPure returns true because two instances using the same values are interchangeable.
src/ssa/Struct.go:29
Method
IsPure
IsPure returns true if both operands are constant.
src/ssa/BinaryOp.go:44
Method
IsPure
IsPure returns true because a boolean value is always constant.
src/ssa/Bool.go:29
Method
IsPure
IsPure returns true because a register access has no side effects.
src/ssa/Register.go:30
Method
IsPure
IsPure returns false because a CAS operation has side effects.
src/ssa/Cas.go:28
Method
IsPure
IsPure returns true because a byte slice is always constant.
src/ssa/Bytes.go:30
Method
IsPure
IsPure returns false because a function call can have side effects.
src/ssa/Call.go:34
Method
IsPure
IsPure returns true because two equal phi nodes produce the same value.
src/ssa/Phi.go:52
Method
IsPure
IsPure returns true because accessing the same element will always have the same value.
src/ssa/Field.go:32
Method
IsPure
IsPure returns false because a label is not a constant.
src/codegen/Label.go:31
Method
Name
Name returns the name of the type.
src/types/Base.go:10
Method
Name
Name returns the type name.
src/types/Resource.go:10
Method
Name
Name returns the name of the struct.
src/types/Struct.go:39
Method
Name
Name returns the type name.
src/types/Tuple.go:11
Method
Name
Name returns the type name.
src/types/Pointer.go:9
Method
Name
()
src/ssa/Call_test.go:16
Function
New
New creates a new anonymous in-memory file.
src/memfile/New_linux.go:12
Method
Package
()
src/ssa/Call_test.go:17
Method
Phis
Phis is an iterator for all phis at the top of the block.
src/ssa/Block.go:296
Method
RemoveUser
RemoveUser does nothing because a void value cannot be used as a dependency.
src/ssa/Void.go:18
Method
RemoveUser
RemoveUser removes a user of the value.
src/ssa/Liveness.go:17
Method
Replace
Replace replaces the address, index, or value if it matches.
src/ssa/Memory.go:41
Method
Replace
Replace replaces the condition if it matches.
src/ssa/Branch.go:32
Method
Replace
Replace replaces the address or index if it matches.
src/ssa/Load.go:39
Method
Replace
Replace replaces the address, index, or value if it matches.
src/ssa/Store.go:31
Method
Replace
Replace does nothing because a jump has no inputs.
src/ssa/Jump.go:30
Method
Replace
Replace replaces the `old` value with `new`.
src/ssa/Arguments.go:38
Method
Replace
Replace replaces the value to be copied if it matches.
src/ssa/Copy.go:39
Method
Replace
Replace replaces the operand if it matches.
src/ssa/UnaryOp.go:40
Method
Replace
Replace replaces the left or right operand if it matches.
src/ssa/BinaryOp.go:49
Method
Replace
Replace replaces the tuple if it matches.
src/ssa/Field.go:35
Method
Replace
Replace does nothing because an independent value has no inputs.
src/ssa/Independent.go:10
Method
Replace
Replace does nothing on a label.
src/codegen/Label.go:36
Method
ReplaceAllUses
ReplaceAllUses replaces all uses of `old` with `new`.
src/ssa/Block.go:325
Method
Size
Size returns the total size in bytes.
src/types/Base.go:15
Method
Size
Size returns the total size in bytes.
src/types/Resource.go:15
Method
Size
Size returns the total size in bytes.
src/types/Union.go:37
Method
Size
Size returns the total size in bytes.
src/types/Struct.go:44
Method
Size
Size returns the total size in bytes.
src/types/Tuple.go:28
Method
Size
Size returns the total size in bytes.
src/types/Pointer.go:14
Method
String
String returns the type name.
src/types/Union.go:48
Method
String
String returns the unique name.
src/core/Function.go:86
Method
String
String returns the human readable name of the register.
src/cpu/Register.go:9
Method
String
String returns a human-readable representation of the token kind.
src/token/Kind.go:166
Method
String
String generates a textual representation of the expression.
src/expression/Expression.go:159
Method
String
String returns a human-readable representation of the memory.
src/ssa/Memory.go:52
Method
String
String returns a human-readable representation of the branch.
src/ssa/Branch.go:39
Method
String
String returns the name of the package.
src/ssa/Package.go:23
Method
String
String returns a human-readable representation of the return.
src/ssa/Return.go:25
Method
String
String returns a human-readable representation of the integer.
src/ssa/Int.go:32
Method
String
String returns a human-readable representation of the syscall.
src/ssa/Syscall.go:31
Method
String
String returns a human-readable representation of the function.
src/ssa/Function.go:31
Method
String
String returns a human-readable representation of the data label.
src/ssa/Global.go:31
Method
String
String returns a human-readable representation of the load.
src/ssa/Load.go:44
Method
String
String returns a human-readable representation of the store.
src/ssa/Store.go:40
Method
String
String returns a human-readable representation of the jump.
src/ssa/Jump.go:33
Method
String
String returns a comma-separated list of all arguments.
src/ssa/Arguments.go:47
Method
String
String returns a human-readable representation of the copy.
src/ssa/Copy.go:46
Method
String
String returns a human-readable representation of the unary operation.
src/ssa/UnaryOp.go:47
Method
String
String returns a human-readable representation of the undefined value.
src/ssa/Undefined.go:16
Method
String
String returns a human-readable representation of the parameter.
src/ssa/Parameter.go:36
Method
String
String returns a human-readable representation of the struct.
src/ssa/Struct.go:32
Method
String
String returns a human-readable representation of the binary operation.
src/ssa/BinaryOp.go:60
Method
String
String returns a human-readable representation of the boolean value.
src/ssa/Bool.go:32
Method
String
String returns the block label.
src/ssa/Block.go:341
← previous
next →
701–800 of 1,095, ranked by callers