In This Article

PythonContextLocations Class

Contains common context locations for a Python language.

public static class PythonContextLocations
Inheritance:
object object

Properties

BoundName

The IPythonContextLocation that represents a bound name specification.

public static IPythonContextLocation BoundName { get; }

Property Value

IPythonContextLocation

Comment

The IPythonContextLocation that represents a comment specification.

public static IPythonContextLocation Comment { get; }

Property Value

IPythonContextLocation

FromImportIdentifier

The IPythonContextLocation that represents an imported identifier of a from...import statement.

public static IPythonContextLocation FromImportIdentifier { get; }

Property Value

IPythonContextLocation

FromImportName

The IPythonContextLocation that represents the name of a from...import statement.

public static IPythonContextLocation FromImportName { get; }

Property Value

IPythonContextLocation

ImportName

The IPythonContextLocation that represents the name of an import statement.

public static IPythonContextLocation ImportName { get; }

Property Value

IPythonContextLocation

LiteralString

The IPythonContextLocation that represents a literal string specification.

public static IPythonContextLocation LiteralString { get; }

Property Value

IPythonContextLocation

Unknown

The IPythonContextLocation that represents an unknown specification.

public static IPythonContextLocation Unknown { get; }

Property Value

IPythonContextLocation

Inherited Members