Codegen home page
Search...
⌘K
Ask AI
GitHub
GitHub
Search...
Navigation
Core
Usage
Documentation
API Reference
CLI
Blog
Changelog
codegen
API Reference
Overview
Core
Argument
Assignment
AssignmentStatement
Attribute
AwaitExpression
BinaryExpression
BlockStatement
Boolean
Callable
CatchStatement
ChainedAttribute
Class
CodeBlock
CodeOwner
Codebase
Comment
CommentGroup
ComparisonExpression
Decorator
Dict
Directory
Editable
Export
ExportStatement
Exportable
Expression
ExpressionGroup
ExpressionStatement
ExternalModule
File
FlagKwargs
ForLoopStatement
Function
FunctionCall
GenericType
HasBlock
HasName
HasValue
IfBlockStatement
Import
ImportStatement
ImportType
Importable
Interface
List
MessageType
MultiExpression
MultiLineCollection
Name
NamedType
NoneType
Number
Pair
Parameter
ParenthesizedExpression
Placeholder
PlaceholderType
RaiseStatement
ReturnStatement
SourceFile
Span
Statement
StatementType
String
StubPlaceholder
SubscriptExpression
SwitchCase
SwitchStatement
Symbol
SymbolGroup
SymbolStatement
TernaryExpression
TryCatchStatement
Tuple
TupleType
Type
TypeAlias
TypePlaceholder
Typeable
UnaryExpression
UnionType
Unpack
Unwrappable
Usable
Usage
UsageKind
UsageType
Value
WhileStatement
WithStatement
Python
Typescript
On this page
Attributes
imported_by
kind
match
usage_symbol
usage_type
Core
Usage
A reference to an exportable object in a file.
View Source on
Github
Attributes
imported_by
Import
| None
The import statement that brought this symbol into scope, or None if not imported
kind
UsageKind
Where this symbol was used (IE: in a type parameter or in the body of the class, etc)
match
Name
|
ChainedAttribute
|
FunctionCall
The exact match of the usage
usage_symbol
Import
|
Symbol
|
TSExport
|
SourceFile
The symbol this object is used in
usage_type
UsageType
How this symbol was used
Was this page helpful?
Yes
No
Usable
UsageKind
Assistant
Responses are generated using AI and may contain mistakes.