lexical scope 中文意思是什麼
lexical scope
解釋
詞法范圍-
Opens a new lexical scope in the current method
在當前方法中打開新的詞法范圍。 -
The local variables within the current lexical scope
當前詞法范圍內的局部變量。 -
Gets the parent lexical scope of the current scope
獲取當前范圍的父詞法范圍。 -
Gets the end offset of the current lexical scope
獲取當前詞法范圍的結束偏移量。 -
The root lexical scope that encloses the entire method
包括整個方法的根詞法范圍。 -
Gets the start offset of the current lexical scope
獲取當前詞法范圍的起始偏移量。 -
The method that contains the current lexical scope
包含當前詞法范圍的方法。 -
The enclosing lexical scope of the current scope
當前范圍的封閉詞法范圍。 -
However, in the context of attribute initializers and assignments the named instances of the expression s type are introduced into the lexical scope with weaker visibility than variables and attributes and may be referenced with their unqualified names, for example
然而,在屬性初始化程序和賦值的上下文中,表達式類型的命名實例被引入到了詞法作用域lexical scope可見性弱於變量和屬性,並可以通過使用它們的無限定名unqualified names引用這些命名實例: -
Gets the root lexical scope within this method
獲取此方法內的根詞法范圍。 -
The start offset of the current lexical scope
當前詞法范圍的起始偏移量。 -
Gets the most enclosing lexical scope within this method that encloses the given offset
獲取此方法內封閉給定偏移量的最內層的封閉詞法范圍。 -
The end offset of the current lexical scope
當前詞法范圍的結束偏移量。 -
Lexical scope outward, starting with the current block, series of statements enclosed in braces, and continuing outward with the enclosing block
詞法范圍向外,從當前塊開始(括在大括號中的一系列語句) ,然後從該封閉塊繼續向外。
分享友人