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
↓ 1 callers
Function
parseInstruction
parseInstruction generates an AST node from an instruction.
src/ast/parseInstruction.go:11
↓ 1 callers
Function
parseKeyword
parseKeyword generates a keyword node from an instruction.
src/ast/parseKeyword.go:11
↓ 1 callers
Function
parseLoop
(tokens token.List, file *fs.File)
src/ast/parseLoop.go:10
↓ 1 callers
Method
parseLoopHeader
parseLoopHeader parses the loop header.
src/core/parseLoopHeader.go:11
↓ 1 callers
Method
parseParameters
parseParameters parses the tokens of the input and output types.
src/core/parseParameters.go:12
↓ 1 callers
Function
parseReturn
(tokens token.List, file *fs.File)
src/ast/parseReturn.go:9
↓ 1 callers
Method
parseStruct
parseStruct parses the field tokens of a single struct.
src/core/parseStruct.go:10
↓ 1 callers
Method
parseStructs
parseStructs parses the tokens of the struct field types.
src/core/parseStructs.go:10
↓ 1 callers
Function
parseSwitch
(tokens token.List, file *fs.File)
src/ast/parseSwitch.go:9
↓ 1 callers
Function
parseType
parseType tries to do speculative parsing for a type expression. The boolean value is true if the tokens represent a type expression.
src/expression/type.go:26
↓ 1 callers
Function
printAssembly
printAssembly shows the assembly instructions.
src/verbose/ASM.go:25
↓ 1 callers
Method
queue
queue scans the list of files.
src/scanner/queue.go:6
↓ 1 callers
Function
quote
quote handles all tokens starting with a single or double quote.
src/token/quote.go:4
↓ 1 callers
Function
regImm
regImm encodes an instruction with a register and an immediate.
src/arm/encode.go:18
↓ 1 callers
Method
removeDeadBlocks
removeDeadBlocks removes unreachable blocks.
src/core/removeDeadBlocks.go:10
↓ 1 callers
Method
removeDeadCode
removeDeadCode checks for dead values and also removes the ones that are partially allowed.
src/core/removeDeadCode.go:10
↓ 1 callers
Method
removeDeadValue
removeDeadValue checks if the value is dead and removes it.
src/core/removeDeadValue.go:10
↓ 1 callers
Method
reorderOperands
reorderOperands reorders the left and right operands of a binary operation so that the left operand matches the destination register. It will also try
src/codegen/reorderOperands.go:11
↓ 1 callers
Method
reorderParameters
reorderParameters reorders the sequence of parameter initialization and assigns new registers if needed.
src/codegen/reorderParameters.go:9
↓ 1 callers
Method
scanConst
scanConst scans a block of constants.
src/scanner/scanConst.go:12
↓ 1 callers
Method
scanExtern
scanExtern scans a block of external libraries.
src/scanner/scanExtern.go:10
↓ 1 callers
Method
scanExternLibrary
scanExternLibrary scans a block of external function declarations.
src/scanner/scanExtern.go:38
↓ 1 callers
Method
scanFile
scanFile scans a single file.
src/scanner/scanFile.go:10
↓ 1 callers
Method
scanFunction
scanFunction scans a function.
src/scanner/scanFunction.go:9
↓ 1 callers
Method
scanFunctionBody
scanFunctionBody scans the body of a function.
src/scanner/scanFunctionBody.go:13
↓ 1 callers
Method
scanGlobal
scanGlobal scans a global.
src/scanner/scanGlobal.go:11
↓ 1 callers
Method
scanImport
scanImport scans an import.
src/scanner/scanImport.go:14
↓ 1 callers
Method
scanStruct
scanStruct scans a struct.
src/scanner/scanStruct.go:11
↓ 1 callers
Method
selectFunction
selectFunction selects the correct variant of a function based on the input types.
src/core/selectFunction.go:9
↓ 1 callers
Function
showFileError
showFileError shows an error on stderr with file, line and column information.
src/cli/showFileError.go:13
↓ 1 callers
Function
slash
slash handles all tokens starting with '/'.
src/token/slash.go:4
↓ 1 callers
Function
ssa
ssa shows the SSA form.
src/cli/ssa.go:9
↓ 1 callers
Function
startsType
startsType returns true if the given `kind` can start a type expression.
src/expression/type.go:41
↓ 1 callers
Method
storeSpillNumber
storeSpillNumber stores a number on the stack.
src/codegen/spill.go:34
↓ 1 callers
Function
toNumber
toNumber tries to convert the token into a numeric value.
src/core/toNumber.go:14
↓ 1 callers
Function
typeByName
typeByName returns the type with the given name or `nil` if it doesn't exist.
src/core/typeByName.go:8
↓ 1 callers
Function
unwrapTypeToken
unwrapTypeToken turns a single `Type` kind token into the original list of tokens.
src/core/unwrapTypeToken.go:9
↓ 1 callers
Method
verifyDeallocation
verifyDeallocation verifies that all resources have been deallocated.
src/core/verifyDeallocation.go:10
↓ 1 callers
Function
version
version shows the commit date and hash.
src/cli/version.go:11
↓ 1 callers
Method
write
write generates a textual representation of the expression.
src/expression/write.go:10
↓ 1 callers
Method
write
write writes a code signature hashing the given file contents.
src/macho/CodeSignature.go:84
↓ 1 callers
Function
zero
zero handles all tokens starting with a '0'.
src/token/zero.go:4
Method
AddUser
AddUser does nothing because a void value cannot be used as a dependency.
src/ssa/Void.go:12
Method
AddUser
AddUser adds a new user of the value.
src/ssa/Liveness.go:12
Function
BenchmarkExamples
(b *testing.B)
tests/examples_test.go:39
Function
BenchmarkExpression
(b *testing.B)
src/expression/bench_test.go:10
Function
BenchmarkFinalize
(b *testing.B)
src/data/bench_test.go:9
Function
BenchmarkReadDir
(b *testing.B)
src/fs/bench_test.go:11
Function
BenchmarkReadFile
(b *testing.B)
src/fs/bench_test.go:44
Function
BenchmarkReadFileStdLib
(b *testing.B)
src/fs/bench_test.go:50
Function
BenchmarkReaddirnames
(b *testing.B)
src/fs/bench_test.go:22
Function
BenchmarkWalk
(b *testing.B)
src/fs/bench_test.go:37
Method
DefinedArguments
DefinedArguments is an iterator over arguments that are defined.
src/ssa/Phi.go:17
Method
Equals
Equals returns true if the memorys are equal.
src/ssa/Memory.go:20
Method
Equals
Equals returns true if the branches are equal.
src/ssa/Branch.go:16
Method
Equals
Equals returns true if the packages are equal.
src/ssa/Package.go:12
Method
Equals
Equals returns true if the returns are equal.
src/ssa/Return.go:14
Method
Equals
Equals returns true if the integers are equal.
src/ssa/Int.go:18
Method
Equals
Equals returns true if the syscalls are equal.
src/ssa/Syscall.go:17
Method
Equals
Equals returns true if the functions are equal.
src/ssa/Function.go:17
Method
Equals
Equals returns true if the data labels are equal.
src/ssa/Global.go:17
Method
Equals
Equals returns true if the loads are equal.
src/ssa/Load.go:17
Method
Equals
Equals returns true if the stores are equal.
src/ssa/Store.go:15
Method
Equals
Equals returns true if the jumps are equal.
src/ssa/Jump.go:14
Method
Equals
Equals returns true if all the arguments are equal.
src/ssa/Arguments.go:13
Method
Equals
Equals returns true if the copies are equal.
src/ssa/Copy.go:18
Method
Equals
Equals returns true if the unary operations are equal.
src/ssa/UnaryOp.go:19
Method
Equals
Equals only returns true when the value points to the same object.
src/ssa/Undefined.go:13
Method
Equals
Equals returns true if the parameters are equal.
src/ssa/Parameter.go:22
Method
Equals
Equals returns true if the structs are equal.
src/ssa/Struct.go:18
Method
Equals
Equals returns true if the binary operations are equal.
src/ssa/BinaryOp.go:20
Method
Equals
Equals returns true if the boolean values are equal.
src/ssa/Bool.go:18
Method
Equals
Equals returns true if the syscalls are equal.
src/ssa/Register.go:19
Method
Equals
Equals returns true if the CAS arguments are equal.
src/ssa/Cas.go:17
Method
Equals
Equals returns true if the byte slices are equal.
src/ssa/Bytes.go:19
Method
Equals
Equals returns true if the calls are equal.
src/ssa/Call.go:18
Method
Equals
Equals returns true if the phi nodes are equal.
src/ssa/Phi.go:30
Method
Equals
Equals returns true if the tuple accesses are equal.
src/ssa/Field.go:18
Method
Equals
Equals returns true if both labels have the same name.
src/codegen/Label.go:15
Method
Error
()
src/compiler/errors.go:28
Method
Error
()
src/core/errors.go:41
Method
Error
()
src/core/errors.go:52
Method
Error
()
src/core/errors.go:69
Method
Error
()
src/core/errors.go:79
Method
Error
()
src/core/errors.go:89
Method
Error
()
src/core/errors.go:102
Method
Error
()
src/core/errors.go:111
Method
Error
()
src/core/errors.go:120
Method
Error
()
src/core/errors.go:131
Method
Error
()
src/core/errors.go:144
Method
Error
()
src/core/errors.go:153
Method
Error
()
src/core/errors.go:163
Method
Error
()
src/core/errors.go:179
Method
Error
()
src/core/errors.go:198
Method
Error
()
src/core/errors.go:208
Method
Error
()
src/core/errors.go:221
Method
Error
()
src/core/errors.go:231
Method
Error
()
src/core/errors.go:251
Method
Error
()
src/core/errors.go:264
Method
Error
()
src/core/errors.go:273
← previous
next →
601–700 of 1,095, ranked by callers