mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-06 04:20:59 +08:00
Initial commit: NOFX AI Trading System
- Multi-AI competition mode (Qwen vs DeepSeek) - Binance Futures integration - AI self-learning mechanism - Professional web dashboard - Complete risk management system
This commit is contained in:
15
web/node_modules/sucrase/dist/esm/util/getIdentifierNames.js
generated
vendored
Normal file
15
web/node_modules/sucrase/dist/esm/util/getIdentifierNames.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
import {TokenType as tt} from "../parser/tokenizer/types";
|
||||
|
||||
/**
|
||||
* Get all identifier names in the code, in order, including duplicates.
|
||||
*/
|
||||
export default function getIdentifierNames(code, tokens) {
|
||||
const names = [];
|
||||
for (const token of tokens) {
|
||||
if (token.type === tt.name) {
|
||||
names.push(code.slice(token.start, token.end));
|
||||
}
|
||||
}
|
||||
return names;
|
||||
}
|
||||
Reference in New Issue
Block a user