protected Scope enclosingScope; // 如果该作用域是作用域树的根,则为null

/** 该作用域中定义的所有符号;可以包括类、函数、变量或任何其他是Symbol实现的东西。它不包括非Symbol类型的东西,如LocalScope。请参见nestedScopes。 */ protected Map<String, Symbol> symbols = new LinkedHashMap<>();

/** 直接包含的作用域,通常是LocalScope中的LocalScopes,或者是FunctionSymbol中的LocalScope。这不包括SymbolWithScope对象。 */

翻译 	protected Scope enclosingScope; null if this scope is the root of the scope tree	 All symbols defined in this scope; can include classes functions	 variables or anything else that is a Symbol

原文地址: https://www.cveoy.top/t/topic/h8rU 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录