MCPcopy Create free account

hub / github.com/elvin-du/tinyscript / functions

Functions285 in github.com/elvin-du/tinyscript

FunctionNewVariable
(stream *PeekTokenStream)
parser/ast/variable.go:9
MethodNextMatchType
下一个token匹配实参类型的话,返回下一个token
parser/ast/stream.go:61
MethodParent
()
parser/ast/ast.go:16
MethodParent
()
parser/ast/ast.go:78
MethodPrint
(indent int)
parser/ast/ast.go:100
MethodProp
(key string)
parser/ast/ast.go:48
MethodSetLabel
(str string)
parser/ast/ast.go:94
MethodSetLexeme
(lexeme *lexer.Token)
parser/ast/ast.go:85
MethodSetParent
(node ASTNode)
parser/ast/ast.go:97
MethodSetProp
(key string, value interface{})
parser/ast/ast.go:51
MethodSetType
(t NodeType)
parser/ast/ast.go:91
MethodSetTypeLexeme
(lexeme *lexer.Token)
parser/ast/ast.go:88
MethodString
()
lexer/token.go:18
MethodString
()
lexer/token.go:67
MethodString
()
parser/ast/type.go:40
MethodString
()
gen/opcode_program.go:22
MethodString
()
gen/opcode.go:41
MethodString
()
gen/instruction.go:74
MethodString
()
gen/operand/register.go:37
MethodString
()
gen/operand/immediate_number.go:15
MethodString
()
gen/operand/label.go:14
MethodString
()
gen/operand/offset.go:15
MethodString
()
translator/tainstruction.go:21
MethodString
()
translator/symbol/types.go:11
MethodString
()
translator/symbol/symbol.go:18
MethodString
()
translator/symbol/static_table.go:35
FunctionTestAdd
(t *testing.T)
gen/opcode_test.go:11
FunctionTestAlphabet
(t *testing.T)
lexer/alphabet_test.go:8
FunctionTestAssignStmt
(t *testing.T)
translator/translator_test.go:28
FunctionTestAssignStmt2
(t *testing.T)
translator/translator_test.go:52
FunctionTestAssignStmtParse
(t *testing.T)
parser/ast/stmt_assign_test.go:10
FunctionTestBNE
(t *testing.T)
gen/opcode_test.go:74
FunctionTestBlock
(t *testing.T)
translator/translator_test.go:61
FunctionTestCalcExpr
(t *testing.T)
vm/vm_test.go:12
FunctionTestComplex
(t *testing.T)
parser/parser_test.go:52
FunctionTestDeclareStmtParse
(t *testing.T)
parser/ast/stmt_declare_test.go:10
FunctionTestDeleteComment
(t *testing.T)
lexer/lexer_test.go:127
FunctionTestExprEvaluate
(t *testing.T)
gen/opcode_gen_test.go:10
FunctionTestExprTranslator
(t *testing.T)
translator/translator_test.go:10
FunctionTestFromFile
(t *testing.T)
lexer/lexer_test.go:141
FunctionTestFuncDeclareStmtParse
(t *testing.T)
parser/ast/stmt_func_declare_test.go:9
FunctionTestFuncEvaluate
(t *testing.T)
gen/opcode_gen_test.go:45
FunctionTestFunctionRecursion
(t *testing.T)
parser/ast/stmt_func_declare_test.go:26
FunctionTestIfElseStmtParse
(t *testing.T)
parser/ast/stmt_if_test.go:29
FunctionTestIfStmtParse
(t *testing.T)
parser/ast/stmt_if_test.go:10
FunctionTestIsInstanceOf
(t *testing.T)
translator/util_test.go:9
FunctionTestJR
(t *testing.T)
gen/opcode_test.go:33
FunctionTestLW
(t *testing.T)
gen/opcode_test.go:55
FunctionTestLW2
(t *testing.T)
gen/opcode_test.go:62
FunctionTestLexer_Analyse
(t *testing.T)
lexer/lexer_test.go:76
FunctionTestLexer_MakeNumber
(t *testing.T)
lexer/lexer_test.go:51
FunctionTestLexer_MakeOp
(t *testing.T)
lexer/lexer_test.go:33
FunctionTestLexer_MakeString
(t *testing.T)
lexer/lexer_test.go:27
FunctionTestLexer_MakeVarOrKeyword
(t *testing.T)
lexer/lexer_test.go:11
FunctionTestMult
(t *testing.T)
gen/opcode_test.go:18
FunctionTestNewJumpInstruction
(t *testing.T)
gen/opcode_test.go:25
FunctionTestNewPeekTokenStream
(t *testing.T)
parser/ast/stream_test.go:10
FunctionTestNewStream
(t *testing.T)
lexer/util/stream_test.go:9
FunctionTestOffset
(t *testing.T)
translator/symbol/table_test.go:31
FunctionTestParser_Parse
(t *testing.T)
parser/parser_test.go:11
FunctionTestRecursionFunc
(t *testing.T)
translator/translator_test.go:152
FunctionTestRecursiveFunction
(t *testing.T)
vm/vm_test.go:66
FunctionTestRecursivefunction1
(t *testing.T)
vm/vm_test.go:205
FunctionTestSP
(t *testing.T)
gen/opcode_test.go:69
FunctionTestSW
(t *testing.T)
gen/opcode_test.go:41
FunctionTestSW1
(t *testing.T)
gen/opcode_test.go:48
FunctionTestSimple
(t *testing.T)
parser/parser_test.go:42
FunctionTestSimple1
(t *testing.T)
parser/parser_test.go:47
FunctionTestSimpleFunction
(t *testing.T)
translator/translator_test.go:141
FunctionTestStaticTable
(t *testing.T)
translator/static_table_test.go:9
FunctionTestSymbolTable
(t *testing.T)
translator/symbol/table_test.go:9
FunctionTestTableChain
(t *testing.T)
translator/symbol/table_test.go:17
FunctionTestTranslator_TranslateDeclareStmt
(t *testing.T)
translator/translator_test.go:40
FunctionTestTranslator_TranslateIfElseIfStmt
(t *testing.T)
translator/translator_test.go:114
FunctionTestTranslator_TranslateIfElseStmt
(t *testing.T)
translator/translator_test.go:95
FunctionTestTranslator_TranslateIfStmt
(t *testing.T)
translator/translator_test.go:81
FunctionTest_Function
(t *testing.T)
lexer/lexer_test.go:95
MethodToByteCode
()
gen/opcode_program.go:47
MethodTyp
()
gen/operand/register.go:34
MethodTyp
()
gen/operand/immediate_number.go:19
MethodTyp
()
gen/operand/label.go:18
MethodTyp
()
gen/operand/offset.go:33
MethodTyp
()
gen/operand/oprand.go:5
MethodType
()
parser/ast/ast.go:63
MethodTypeLexeme
()
parser/ast/ast.go:57
← previous201–285 of 285, ranked by callers