Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A: A definition is something that can be referred to by name. This includes packages, namespaces, classs, interfaces, functions (including getters and setters), parameters, variables, constants, events, styles, and effects.

Q: What is a scope?

A: A scope is where definitions live. Think of a scope as either a curly-brace block in a file, or the entire file. Each definition lives in a particular scope, and scopes can live inside other scopes.

Q: What is name resolution?

...