Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/elvin-du/tinyscript
/ functions
Functions
285 in github.com/elvin-du/tinyscript
⨍
Functions
285
◇
Types & classes
46
Function
NewVariable
(stream *PeekTokenStream)
parser/ast/variable.go:9
Method
NextMatchType
下一个token匹配实参类型的话,返回下一个token
parser/ast/stream.go:61
Method
Parent
()
parser/ast/ast.go:16
Method
Parent
()
parser/ast/ast.go:78
Method
Print
(indent int)
parser/ast/ast.go:100
Method
Prop
(key string)
parser/ast/ast.go:48
Method
SetLabel
(str string)
parser/ast/ast.go:94
Method
SetLexeme
(lexeme *lexer.Token)
parser/ast/ast.go:85
Method
SetParent
(node ASTNode)
parser/ast/ast.go:97
Method
SetProp
(key string, value interface{})
parser/ast/ast.go:51
Method
SetType
(t NodeType)
parser/ast/ast.go:91
Method
SetTypeLexeme
(lexeme *lexer.Token)
parser/ast/ast.go:88
Method
String
()
lexer/token.go:18
Method
String
()
lexer/token.go:67
Method
String
()
parser/ast/type.go:40
Method
String
()
gen/opcode_program.go:22
Method
String
()
gen/opcode.go:41
Method
String
()
gen/instruction.go:74
Method
String
()
gen/operand/register.go:37
Method
String
()
gen/operand/immediate_number.go:15
Method
String
()
gen/operand/label.go:14
Method
String
()
gen/operand/offset.go:15
Method
String
()
translator/tainstruction.go:21
Method
String
()
translator/symbol/types.go:11
Method
String
()
translator/symbol/symbol.go:18
Method
String
()
translator/symbol/static_table.go:35
Function
TestAdd
(t *testing.T)
gen/opcode_test.go:11
Function
TestAlphabet
(t *testing.T)
lexer/alphabet_test.go:8
Function
TestAssignStmt
(t *testing.T)
translator/translator_test.go:28
Function
TestAssignStmt2
(t *testing.T)
translator/translator_test.go:52
Function
TestAssignStmtParse
(t *testing.T)
parser/ast/stmt_assign_test.go:10
Function
TestBNE
(t *testing.T)
gen/opcode_test.go:74
Function
TestBlock
(t *testing.T)
translator/translator_test.go:61
Function
TestCalcExpr
(t *testing.T)
vm/vm_test.go:12
Function
TestComplex
(t *testing.T)
parser/parser_test.go:52
Function
TestDeclareStmtParse
(t *testing.T)
parser/ast/stmt_declare_test.go:10
Function
TestDeleteComment
(t *testing.T)
lexer/lexer_test.go:127
Function
TestExprEvaluate
(t *testing.T)
gen/opcode_gen_test.go:10
Function
TestExprTranslator
(t *testing.T)
translator/translator_test.go:10
Function
TestFromFile
(t *testing.T)
lexer/lexer_test.go:141
Function
TestFuncDeclareStmtParse
(t *testing.T)
parser/ast/stmt_func_declare_test.go:9
Function
TestFuncEvaluate
(t *testing.T)
gen/opcode_gen_test.go:45
Function
TestFunctionRecursion
(t *testing.T)
parser/ast/stmt_func_declare_test.go:26
Function
TestIfElseStmtParse
(t *testing.T)
parser/ast/stmt_if_test.go:29
Function
TestIfStmtParse
(t *testing.T)
parser/ast/stmt_if_test.go:10
Function
TestIsInstanceOf
(t *testing.T)
translator/util_test.go:9
Function
TestJR
(t *testing.T)
gen/opcode_test.go:33
Function
TestLW
(t *testing.T)
gen/opcode_test.go:55
Function
TestLW2
(t *testing.T)
gen/opcode_test.go:62
Function
TestLexer_Analyse
(t *testing.T)
lexer/lexer_test.go:76
Function
TestLexer_MakeNumber
(t *testing.T)
lexer/lexer_test.go:51
Function
TestLexer_MakeOp
(t *testing.T)
lexer/lexer_test.go:33
Function
TestLexer_MakeString
(t *testing.T)
lexer/lexer_test.go:27
Function
TestLexer_MakeVarOrKeyword
(t *testing.T)
lexer/lexer_test.go:11
Function
TestMult
(t *testing.T)
gen/opcode_test.go:18
Function
TestNewJumpInstruction
(t *testing.T)
gen/opcode_test.go:25
Function
TestNewPeekTokenStream
(t *testing.T)
parser/ast/stream_test.go:10
Function
TestNewStream
(t *testing.T)
lexer/util/stream_test.go:9
Function
TestOffset
(t *testing.T)
translator/symbol/table_test.go:31
Function
TestParser_Parse
(t *testing.T)
parser/parser_test.go:11
Function
TestRecursionFunc
(t *testing.T)
translator/translator_test.go:152
Function
TestRecursiveFunction
(t *testing.T)
vm/vm_test.go:66
Function
TestRecursivefunction1
(t *testing.T)
vm/vm_test.go:205
Function
TestSP
(t *testing.T)
gen/opcode_test.go:69
Function
TestSW
(t *testing.T)
gen/opcode_test.go:41
Function
TestSW1
(t *testing.T)
gen/opcode_test.go:48
Function
TestSimple
(t *testing.T)
parser/parser_test.go:42
Function
TestSimple1
(t *testing.T)
parser/parser_test.go:47
Function
TestSimpleFunction
(t *testing.T)
translator/translator_test.go:141
Function
TestStaticTable
(t *testing.T)
translator/static_table_test.go:9
Function
TestSymbolTable
(t *testing.T)
translator/symbol/table_test.go:9
Function
TestTableChain
(t *testing.T)
translator/symbol/table_test.go:17
Function
TestTranslator_TranslateDeclareStmt
(t *testing.T)
translator/translator_test.go:40
Function
TestTranslator_TranslateIfElseIfStmt
(t *testing.T)
translator/translator_test.go:114
Function
TestTranslator_TranslateIfElseStmt
(t *testing.T)
translator/translator_test.go:95
Function
TestTranslator_TranslateIfStmt
(t *testing.T)
translator/translator_test.go:81
Function
Test_Function
(t *testing.T)
lexer/lexer_test.go:95
Method
ToByteCode
()
gen/opcode_program.go:47
Method
Typ
()
gen/operand/register.go:34
Method
Typ
()
gen/operand/immediate_number.go:19
Method
Typ
()
gen/operand/label.go:18
Method
Typ
()
gen/operand/offset.go:33
Method
Typ
()
gen/operand/oprand.go:5
Method
Type
()
parser/ast/ast.go:63
Method
TypeLexeme
()
parser/ast/ast.go:57
← previous
201–285 of 285, ranked by callers