An Entity of Type: Thing, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In computer programming, scope is an enclosing context where values and expressions are associated. The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages, the scope resolution operator is written ::.

Property Value
dbo:abstract
  • In computer programming, scope is an enclosing context where values and expressions are associated. The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages, the scope resolution operator is written ::. In some languages, notably those influenced by Modula-3 (including Python and Go), modules are objects, and scope resolution within modules is a special case of usual object member access, so the usual method operator . is used for scope resolution. Other languages, notably C++ and Ruby, feature both scope resolution and method access, which interact in various ways; see examples below. (en)
  • 计算机编程中,作用域是名字(name)与实体(entity)的绑定(binding)保持有效的那部分计算机程序,表达式只有在其作用域中才能求值。作用域解析运算符(scope resolution operator)用于辨识和指出标识符属于哪个作用域上下文,特别是属于哪个命名空间。很多编程语言的作用域解析运算符写为::。 受Modula-3影响的一些编程语言(如Python和Go语言),模块(module)是对象,模块的作用域解析是对象成员访问的一种特殊情形,因此通常用.来作用域解析。其他语言,如C++和Ruby语言支持作用域解析和成员访问。 (zh)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 9334188 (xsd:integer)
dbo:wikiPageLength
  • 4953 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1111244938 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdfs:comment
  • 计算机编程中,作用域是名字(name)与实体(entity)的绑定(binding)保持有效的那部分计算机程序,表达式只有在其作用域中才能求值。作用域解析运算符(scope resolution operator)用于辨识和指出标识符属于哪个作用域上下文,特别是属于哪个命名空间。很多编程语言的作用域解析运算符写为::。 受Modula-3影响的一些编程语言(如Python和Go语言),模块(module)是对象,模块的作用域解析是对象成员访问的一种特殊情形,因此通常用.来作用域解析。其他语言,如C++和Ruby语言支持作用域解析和成员访问。 (zh)
  • In computer programming, scope is an enclosing context where values and expressions are associated. The scope resolution operator helps to identify and specify the context to which an identifier refers, particularly by specifying a namespace. The specific uses vary across different programming languages with the notions of scoping. In many languages, the scope resolution operator is written ::. (en)
rdfs:label
  • Scope resolution operator (en)
  • 作用域解析运算符 (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License