NormalOrAsyncFunctionDef

ast.FunctionDef and ast.AsyncFunctionDef are not related according to the Python syntax. However, they are so similar, that we make use of this interface to avoid a lot of duplicate code.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val col_offset: Int

Maps to the col_offset filed from Python's ast.

Link copied to clipboard
Link copied to clipboard

Maps to the end_col_offset filed from Python's ast.

Link copied to clipboard
open val end_lineno: Int

Maps to the end_lineno filed from Python's ast.

Link copied to clipboard
open val lineno: Int

Maps to the lineno filed from Python's ast.

Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val pyObject: PyObject
Link copied to clipboard
Link copied to clipboard
abstract val type_comment: String?