package diffast-langs-python
Python parser plugin for Diff/AST
Install
Dune Dependency
Authors
Maintainers
Sources
v0.2.tar.gz
sha256=b5bc3e9ed7c92912e06be663c904b6d8c7d277828b6442e43d57c64414d9c5ab
md5=7404586197ede6a4f0a0d00a69069b37
doc/diffast-langs-python.base/Python_base/Py_label/index.html
Module Python_base.Py_label
Source
module Xset = Diffast_misc.Xset
module Xlist = Diffast_misc.Xlist
module XML = Diffast_misc.XML
module Loc = Diffast_misc.Loc
module Astml = Diffast_core.Astml
module Lang_base = Diffast_core.Lang_base
module Charpool = Diffast_core.Charpool
Source
type t =
| Dummy
| ERROR
| Comment of string
| FileInput of name
| DottedName of string
| Name of name
| Lambda
| Test
| Power
| Primary of Primary.t
| UnaryOperator of UnaryOperator.t
| BinaryOperator of BinaryOperator.t
| Statement of Statement.t
| SimpleStatement of SimpleStatement.t
| Elif of tie_id
| Else
| Targets
| Target
| Except
| Suite
| NamedSuite of name
| Parameters
| NamedParameters of name
| Decorators of name
| Decorator of name
| Finally
| In
| Yield
| LHS
| RHS
| As
| ListIf
| KeyDatum
| SliceItem
| Ellipsis
| Arguments of tie_id
| NamedArguments of name
| Argument
| CompArgument
| AssignArgument
| GenFor
| AsyncGenFor
| GenIf
| Inheritance
| Chevron
| From
| ParamDef of name
| ListParamDef
| TypedParamDef of name
| WithItem
| StarStar
| Star
| Slash
| Named
| ReturnAnnotation
| Dots of int
| Stride
| Annotation
Source
val tid_of_from_import :
(('a * int) option
* ('b * string) list option
* (('c * string) * ('d * string) option) list) ->
string * string
Source
val to_elem_data :
?strip:bool ->
?afilt:(string -> bool) ->
Astml.Loc.t ->
t ->
string * (string * string) list * string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>