| 2019 | } |
| 2020 | |
| 2021 | txFlag fxNodeCodeName(txNode* value) |
| 2022 | { |
| 2023 | txToken token = value->description->token; |
| 2024 | if (token == XS_TOKEN_EXPRESSIONS) { |
| 2025 | value = ((txExpressionsNode*)value)->items->first; |
| 2026 | if (value->next) |
| 2027 | return 0; |
| 2028 | token = value->description->token; |
| 2029 | } |
| 2030 | if (token == XS_TOKEN_CLASS) { |
| 2031 | txClassNode* node = (txClassNode*)value; |
| 2032 | if (node->symbol) |
| 2033 | return 0; |
| 2034 | } |
| 2035 | else if ((token == XS_TOKEN_FUNCTION) || (token == XS_TOKEN_GENERATOR) || (token == XS_TOKEN_HOST)) { |
| 2036 | txFunctionNode* node = (txFunctionNode*)value; |
| 2037 | if (node->symbol) |
| 2038 | return 0; |
| 2039 | } |
| 2040 | else |
| 2041 | return 0; |
| 2042 | return 1; |
| 2043 | } |
| 2044 | |
| 2045 | txFlag fxNodeCodeThis(void* it, void* param, txFlag flag) |
| 2046 | { |
no outgoing calls
no test coverage detected