-
feat(overload): build the symbol table and check types for overload · d5dd7e00Tianqi Yang authored
Add FuncUtils: - getCallFunction: Get a suitable function symbol for a specific call or return an error Return value is of type getCallFunctionReturn - getArgListString: Get the string of a function with function name and parameter list Modify the process of building the symbol table: - visitMethodDef: Modify the function table with this name instead of inserting a single function Add the signature of this function into the table - checkOverride: Check overrides of overloaded functions - isMainClass: Issue errors if main function is overloaded Modify type checks: - call FuncUtils.getCallFunction to get the symbol of this function call Modify symbol Function: - toSignature: Return the signature of this function - conflictArgList: Check whether this function is conflicted with another
d5dd7e00
| Name |
Last commit
|
Last update |
|---|---|---|
| src/decaf | Loading commit data... | |
| tools | Loading commit data... | |
| unittest/original | Loading commit data... | |
| .gitignore | Loading commit data... | |
| README.md | Loading commit data... | |
| build.xml | Loading commit data... |