diff --git a/fixtures/aritmeticops.py.uast b/fixtures/aritmeticops.py.uast index df5baeee..8689cb5d 100644 --- a/fixtures/aritmeticops.py.uast +++ b/fixtures/aritmeticops.py.uast @@ -43,7 +43,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Add { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . TOKEN "+" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -60,13 +67,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: Add { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . TOKEN "+" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -110,7 +110,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Sub { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic +. . . . . . . TOKEN "-" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -127,13 +134,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: Sub { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic -. . . . . . . TOKEN "-" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -177,7 +177,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Mult { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . TOKEN "*" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -194,13 +201,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: Mult { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . TOKEN "*" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -244,7 +244,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Div { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Divide,Arithmetic +. . . . . . . TOKEN "/" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -261,13 +268,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: Div { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Divide,Arithmetic -. . . . . . . TOKEN "/" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -311,7 +311,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: FloorDiv { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Divide,Arithmetic,Incomplete +. . . . . . . TOKEN "//" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -328,13 +335,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: FloorDiv { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Divide,Arithmetic,Incomplete -. . . . . . . TOKEN "//" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -378,7 +378,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Mod { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . TOKEN "%%" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -395,13 +402,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: Mod { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . TOKEN "%%" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -445,7 +445,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Pow { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Arithmetic,Incomplete +. . . . . . . TOKEN "**" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -462,13 +469,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: Pow { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Arithmetic,Incomplete -. . . . . . . TOKEN "**" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } diff --git a/fixtures/augassign.py.uast b/fixtures/augassign.py.uast index 0676354f..d32c7abc 100644 --- a/fixtures/augassign.py.uast +++ b/fixtures/augassign.py.uast @@ -21,7 +21,14 @@ Module { . . . . internalRole: body . . . } . . . Children: { -. . . . 0: Name { +. . . . 0: Add { +. . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary +. . . . . TOKEN "+" +. . . . . Properties: { +. . . . . . internalRole: op +. . . . . } +. . . . } +. . . . 1: Name { . . . . . Roles: Left,Identifier,Expression . . . . . TOKEN "a" . . . . . StartPosition: { @@ -39,7 +46,7 @@ Module { . . . . . . internalRole: target . . . . . } . . . . } -. . . . 1: Num { +. . . . 2: Num { . . . . . Roles: Literal,Number,Expression,Primitive,Right . . . . . TOKEN "1" . . . . . StartPosition: { @@ -56,13 +63,6 @@ Module { . . . . . . internalRole: value . . . . . } . . . . } -. . . . 2: Add { -. . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary -. . . . . TOKEN "+" -. . . . . Properties: { -. . . . . . internalRole: op -. . . . . } -. . . . } . . . } . . } . . 1: AugAssign { @@ -77,7 +77,14 @@ Module { . . . . internalRole: body . . . } . . . Children: { -. . . . 0: Name { +. . . . 0: Sub { +. . . . . Roles: Binary,Operator,Substract,Arithmetic,Operator,Binary +. . . . . TOKEN "-" +. . . . . Properties: { +. . . . . . internalRole: op +. . . . . } +. . . . } +. . . . 1: Name { . . . . . Roles: Left,Identifier,Expression . . . . . TOKEN "a" . . . . . StartPosition: { @@ -95,7 +102,7 @@ Module { . . . . . . internalRole: target . . . . . } . . . . } -. . . . 1: Num { +. . . . 2: Num { . . . . . Roles: Literal,Number,Expression,Primitive,Right . . . . . TOKEN "1" . . . . . StartPosition: { @@ -112,13 +119,6 @@ Module { . . . . . . internalRole: value . . . . . } . . . . } -. . . . 2: Sub { -. . . . . Roles: Binary,Operator,Substract,Arithmetic,Operator,Binary -. . . . . TOKEN "-" -. . . . . Properties: { -. . . . . . internalRole: op -. . . . . } -. . . . } . . . } . . } . . 2: AugAssign { @@ -133,7 +133,14 @@ Module { . . . . internalRole: body . . . } . . . Children: { -. . . . 0: Name { +. . . . 0: Mult { +. . . . . Roles: Binary,Operator,Multiply,Arithmetic,Operator,Binary +. . . . . TOKEN "*" +. . . . . Properties: { +. . . . . . internalRole: op +. . . . . } +. . . . } +. . . . 1: Name { . . . . . Roles: Left,Identifier,Expression . . . . . TOKEN "a" . . . . . StartPosition: { @@ -151,7 +158,7 @@ Module { . . . . . . internalRole: target . . . . . } . . . . } -. . . . 1: Num { +. . . . 2: Num { . . . . . Roles: Literal,Number,Expression,Primitive,Right . . . . . TOKEN "1" . . . . . StartPosition: { @@ -168,13 +175,6 @@ Module { . . . . . . internalRole: value . . . . . } . . . . } -. . . . 2: Mult { -. . . . . Roles: Binary,Operator,Multiply,Arithmetic,Operator,Binary -. . . . . TOKEN "*" -. . . . . Properties: { -. . . . . . internalRole: op -. . . . . } -. . . . } . . . } . . } . . 3: AugAssign { @@ -189,7 +189,14 @@ Module { . . . . internalRole: body . . . } . . . Children: { -. . . . 0: Name { +. . . . 0: Div { +. . . . . Roles: Binary,Operator,Divide,Arithmetic,Operator,Binary +. . . . . TOKEN "/" +. . . . . Properties: { +. . . . . . internalRole: op +. . . . . } +. . . . } +. . . . 1: Name { . . . . . Roles: Left,Identifier,Expression . . . . . TOKEN "a" . . . . . StartPosition: { @@ -207,7 +214,7 @@ Module { . . . . . . internalRole: target . . . . . } . . . . } -. . . . 1: Num { +. . . . 2: Num { . . . . . Roles: Literal,Number,Expression,Primitive,Right . . . . . TOKEN "1" . . . . . StartPosition: { @@ -224,13 +231,6 @@ Module { . . . . . . internalRole: value . . . . . } . . . . } -. . . . 2: Div { -. . . . . Roles: Binary,Operator,Divide,Arithmetic,Operator,Binary -. . . . . TOKEN "/" -. . . . . Properties: { -. . . . . . internalRole: op -. . . . . } -. . . . } . . . } . . } . } diff --git a/fixtures/bitwise.py.uast b/fixtures/bitwise.py.uast index 44536054..0de842d0 100644 --- a/fixtures/bitwise.py.uast +++ b/fixtures/bitwise.py.uast @@ -43,7 +43,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: BitAnd { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,And +. . . . . . . TOKEN "&" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -60,13 +67,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: BitAnd { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,And -. . . . . . . TOKEN "&" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -110,7 +110,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: BitOr { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Or +. . . . . . . TOKEN "|" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -127,13 +134,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: BitOr { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Or -. . . . . . . TOKEN "|" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -177,7 +177,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: BitXor { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Xor +. . . . . . . TOKEN "^" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -194,13 +201,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: BitXor { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Xor -. . . . . . . TOKEN "^" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -244,7 +244,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: LShift { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,LeftShift +. . . . . . . TOKEN "<<" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -261,13 +268,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: LShift { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,LeftShift -. . . . . . . TOKEN "<<" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -311,7 +311,14 @@ Module { . . . . . . . . internalRole: left . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: RShift { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,RightShift +. . . . . . . TOKEN ">>" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -328,13 +335,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: RShift { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,RightShift -. . . . . . . TOKEN ">>" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -400,7 +400,14 @@ Module { . . . . . . . . . . . . internalRole: left . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Num { +. . . . . . . . . . 1: BitAnd { +. . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,And +. . . . . . . . . . . TOKEN "&" +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 2: Num { . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . TOKEN "2" . . . . . . . . . . . StartPosition: { @@ -417,16 +424,16 @@ Module { . . . . . . . . . . . . internalRole: right . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: BitAnd { -. . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,And -. . . . . . . . . . . TOKEN "&" -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: BitAnd { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,And +. . . . . . . . . TOKEN "&" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "3" . . . . . . . . . StartPosition: { @@ -443,16 +450,16 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: BitAnd { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,And -. . . . . . . . . TOKEN "&" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: BitOr { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Or +. . . . . . . TOKEN "|" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "4" . . . . . . . StartPosition: { @@ -469,13 +476,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: BitOr { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Or -. . . . . . . TOKEN "|" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -531,7 +531,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: Add { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . TOKEN "+" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "1" . . . . . . . . . StartPosition: { @@ -548,16 +555,16 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Add { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . TOKEN "+" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: BinOp { +. . . . . . 1: BitOr { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Or +. . . . . . . TOKEN "|" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: BinOp { . . . . . . . Roles: Expression,Binary,Right,Expression,Binary . . . . . . . StartPosition: { . . . . . . . . Offset: 57 @@ -586,7 +593,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: Add { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . TOKEN "+" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "2" . . . . . . . . . StartPosition: { @@ -603,20 +617,6 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Add { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . TOKEN "+" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } -. . . . . . . } -. . . . . . } -. . . . . . 2: BitOr { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Bitwise,Or -. . . . . . . TOKEN "|" -. . . . . . . Properties: { -. . . . . . . . internalRole: op . . . . . . . } . . . . . . } . . . . . } diff --git a/fixtures/classdef.py.uast b/fixtures/classdef.py.uast index 6101a037..3ee930b8 100644 --- a/fixtures/classdef.py.uast +++ b/fixtures/classdef.py.uast @@ -324,7 +324,15 @@ Module { . . . . . . . . returns: . . . . . . . } . . . . . . . Children: { -. . . . . . . . 0: FunctionDef.body { +. . . . . . . . 0: arguments { +. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: args +. . . . . . . . . . kwarg: +. . . . . . . . . . vararg: +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 1: FunctionDef.body { . . . . . . . . . Roles: Function,Declaration,Body . . . . . . . . . Properties: { . . . . . . . . . . promotedPropertyList: true @@ -419,7 +427,7 @@ Module { . . . . . . . . . . } . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: FunctionDef.decorator_list { +. . . . . . . . 2: FunctionDef.decorator_list { . . . . . . . . . Roles: Function,Declaration,Call,Incomplete . . . . . . . . . Properties: { . . . . . . . . . . promotedPropertyList: true @@ -444,14 +452,6 @@ Module { . . . . . . . . . . } . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: arguments { -. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: args -. . . . . . . . . . kwarg: -. . . . . . . . . . vararg: -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . . 3: FunctionDef { diff --git a/fixtures/comparisonop.py.uast b/fixtures/comparisonop.py.uast index 643cc7e0..dad877b7 100644 --- a/fixtures/comparisonop.py.uast +++ b/fixtures/comparisonop.py.uast @@ -180,7 +180,14 @@ Module { . . . . . . internalRole: value . . . . . } . . . . . Children: { -. . . . . . 0: Num { +. . . . . . 0: Not { +. . . . . . . Roles: Binary,Operator,Boolean,Not +. . . . . . . TOKEN "!" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 1: Num { . . . . . . . Roles: Literal,Number,Expression,Primitive . . . . . . . TOKEN "1" . . . . . . . StartPosition: { @@ -197,13 +204,6 @@ Module { . . . . . . . . internalRole: operand . . . . . . . } . . . . . . } -. . . . . . 1: Not { -. . . . . . . Roles: Binary,Operator,Boolean,Not -. . . . . . . TOKEN "!" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } diff --git a/fixtures/complex.py.uast b/fixtures/complex.py.uast index 3768fbc7..14b2598a 100644 --- a/fixtures/complex.py.uast +++ b/fixtures/complex.py.uast @@ -65,7 +65,14 @@ Module { . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Mult { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . TOKEN "*" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . StartPosition: { . . . . . . . . Offset: 9 @@ -86,13 +93,6 @@ Module { . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 2: Mult { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . TOKEN "*" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } diff --git a/fixtures/comprehension_dict.py.uast b/fixtures/comprehension_dict.py.uast index ec54d013..cc275e67 100644 --- a/fixtures/comprehension_dict.py.uast +++ b/fixtures/comprehension_dict.py.uast @@ -183,7 +183,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: Mult { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . . . TOKEN "*" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "2" . . . . . . . . . StartPosition: { @@ -200,13 +207,6 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Mult { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . . . TOKEN "*" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . } diff --git a/fixtures/comprehension_list.py.uast b/fixtures/comprehension_list.py.uast index ee974db6..d55a3d7a 100644 --- a/fixtures/comprehension_list.py.uast +++ b/fixtures/comprehension_list.py.uast @@ -55,7 +55,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: Mult { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . . . TOKEN "*" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "2" . . . . . . . . . StartPosition: { @@ -72,13 +79,6 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Mult { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . . . TOKEN "*" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . . 1: comprehension { @@ -246,7 +246,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: Mult { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . . . TOKEN "*" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "2" . . . . . . . . . StartPosition: { @@ -263,13 +270,6 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Mult { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . . . TOKEN "*" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . . 1: comprehension { diff --git a/fixtures/comprehension_set.py.uast b/fixtures/comprehension_set.py.uast index 0da9fd74..9467bb0a 100644 --- a/fixtures/comprehension_set.py.uast +++ b/fixtures/comprehension_set.py.uast @@ -55,7 +55,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: Mult { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . . . TOKEN "*" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "2" . . . . . . . . . StartPosition: { @@ -72,13 +79,6 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Mult { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . . . TOKEN "*" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . . 1: comprehension { diff --git a/fixtures/empty.py.uast b/fixtures/empty.py.uast index 33748003..bea18f6b 100644 --- a/fixtures/empty.py.uast +++ b/fixtures/empty.py.uast @@ -1,13 +1,4 @@ -Status: error +Status: ok Errors: - . column out of bounds: 1 [1, 0] UAST: -Module { -. Roles: File,Module -. StartPosition: { -. . Offset: 0 -. . Line: 1 -. . Col: 1 -. } -} diff --git a/fixtures/except.py.uast b/fixtures/except.py.uast index 37c2b1d3..b03d6ced 100644 --- a/fixtures/except.py.uast +++ b/fixtures/except.py.uast @@ -284,7 +284,14 @@ Module { . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: Name { +. . . . . . 1: ExceptHandler.name { +. . . . . . . Roles: Try,Catch,Identifier +. . . . . . . TOKEN "e" +. . . . . . . Properties: { +. . . . . . . . promotedPropertyString: true +. . . . . . . } +. . . . . . } +. . . . . . 2: Name { . . . . . . . Roles: Identifier,Expression . . . . . . . TOKEN "SomeException" . . . . . . . StartPosition: { @@ -302,13 +309,6 @@ Module { . . . . . . . . internalRole: type . . . . . . . } . . . . . . } -. . . . . . 2: ExceptHandler.name { -. . . . . . . Roles: Try,Catch,Identifier -. . . . . . . TOKEN "e" -. . . . . . . Properties: { -. . . . . . . . promotedPropertyString: true -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . . 3: ExceptHandler { diff --git a/fixtures/for.py.uast b/fixtures/for.py.uast index ff8e579c..5c6f92d7 100644 --- a/fixtures/for.py.uast +++ b/fixtures/for.py.uast @@ -41,7 +41,14 @@ Module { . . . . . . . . Col: 8 . . . . . . . } . . . . . . . Children: { -. . . . . . . . 0: Name { +. . . . . . . . 0: Add { +. . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary +. . . . . . . . . TOKEN "+" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 1: Name { . . . . . . . . . Roles: Left,Identifier,Expression . . . . . . . . . TOKEN "a" . . . . . . . . . StartPosition: { @@ -59,7 +66,7 @@ Module { . . . . . . . . . . internalRole: target . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 2: Num { . . . . . . . . . Roles: Literal,Number,Expression,Primitive,Right . . . . . . . . . TOKEN "1" . . . . . . . . . StartPosition: { @@ -76,13 +83,6 @@ Module { . . . . . . . . . . internalRole: value . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Add { -. . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary -. . . . . . . . . TOKEN "+" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . . 1: Expr { diff --git a/fixtures/functiondef_decorated.py.uast b/fixtures/functiondef_decorated.py.uast index 9fcd6003..295357f7 100644 --- a/fixtures/functiondef_decorated.py.uast +++ b/fixtures/functiondef_decorated.py.uast @@ -17,7 +17,15 @@ Module { . . . . returns: . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -42,7 +50,7 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: FunctionDef.decorator_list { +. . . . 2: FunctionDef.decorator_list { . . . . . Roles: Function,Declaration,Call,Incomplete . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -67,14 +75,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 2: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . . 1: FunctionDef { @@ -90,7 +90,15 @@ Module { . . . . returns: . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -148,7 +156,7 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: FunctionDef.decorator_list { +. . . . 2: FunctionDef.decorator_list { . . . . . Roles: Function,Declaration,Call,Incomplete . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -235,14 +243,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 2: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . } diff --git a/fixtures/functiondef_docstring.py.uast b/fixtures/functiondef_docstring.py.uast index 2c12c906..467b8d70 100644 --- a/fixtures/functiondef_docstring.py.uast +++ b/fixtures/functiondef_docstring.py.uast @@ -22,7 +22,15 @@ Module { . . . . returns: . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -90,14 +98,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . } diff --git a/fixtures/issue119.py.uast b/fixtures/issue119.py.uast index 3297658b..45b0cc76 100644 --- a/fixtures/issue119.py.uast +++ b/fixtures/issue119.py.uast @@ -22,7 +22,15 @@ Module { . . . . returns: . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -203,7 +211,21 @@ Module { . . . . . . . . . . internalRole: value . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Name { +. . . . . . . . . . 0: NoneLiteral { +. . . . . . . . . . . Roles: Literal,Null,Expression,Primitive,Map,Key +. . . . . . . . . . . TOKEN "None" +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: keys +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: NoneLiteral { +. . . . . . . . . . . Roles: Literal,Null,Expression,Primitive,Map,Key +. . . . . . . . . . . TOKEN "None" +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: keys +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 2: Name { . . . . . . . . . . . Roles: Map,Value,Identifier,Expression . . . . . . . . . . . TOKEN "a" . . . . . . . . . . . StartPosition: { @@ -221,7 +243,7 @@ Module { . . . . . . . . . . . . internalRole: values . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Name { +. . . . . . . . . . 3: Name { . . . . . . . . . . . Roles: Map,Value,Identifier,Expression . . . . . . . . . . . TOKEN "b" . . . . . . . . . . . StartPosition: { @@ -239,34 +261,12 @@ Module { . . . . . . . . . . . . internalRole: values . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: NoneLiteral { -. . . . . . . . . . . Roles: Literal,Null,Expression,Primitive,Map,Key -. . . . . . . . . . . TOKEN "None" -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: keys -. . . . . . . . . . . } -. . . . . . . . . . } -. . . . . . . . . . 3: NoneLiteral { -. . . . . . . . . . . Roles: Literal,Null,Expression,Primitive,Map,Key -. . . . . . . . . . . TOKEN "None" -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: keys -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } . . . . . . } . . . . . } . . . . } -. . . . 1: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . } diff --git a/fixtures/issue62.py.uast b/fixtures/issue62.py.uast index ec88aed0..32d7c7be 100644 --- a/fixtures/issue62.py.uast +++ b/fixtures/issue62.py.uast @@ -71,7 +71,24 @@ Module { . . . . internalRole: body . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "numpy" +. . . . . Properties: { +. . . . . . alias.asname: np +. . . . . . internalRole: names +. . . . . } +. . . . . Children: { +. . . . . . 0: alias.asname { +. . . . . . . Roles: Import,Alias,Identifier +. . . . . . . TOKEN "np" +. . . . . . . Properties: { +. . . . . . . . promotedPropertyString: true +. . . . . . . } +. . . . . . } +. . . . . } +. . . . } +. . . . 1: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 31 @@ -102,23 +119,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "numpy" -. . . . . Properties: { -. . . . . . alias.asname: np -. . . . . . internalRole: names -. . . . . } -. . . . . Children: { -. . . . . . 0: alias.asname { -. . . . . . . Roles: Import,Alias,Identifier -. . . . . . . TOKEN "np" -. . . . . . . Properties: { -. . . . . . . . promotedPropertyString: true -. . . . . . . } -. . . . . . } -. . . . . } -. . . . } . . . } . . } . } diff --git a/fixtures/issue62_b.py.uast b/fixtures/issue62_b.py.uast index 3e4687f9..1bb2f06c 100644 --- a/fixtures/issue62_b.py.uast +++ b/fixtures/issue62_b.py.uast @@ -52,7 +52,22 @@ Module { . . . . level: 0 . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: ImportFrom.module { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "ast2vec.bblfsh_roles" +. . . . . Properties: { +. . . . . . promotedPropertyString: true +. . . . . } +. . . . } +. . . . 1: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "SIMPLE_IDENTIFIER" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 2: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 32 @@ -83,21 +98,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: ImportFrom.module { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "ast2vec.bblfsh_roles" -. . . . . Properties: { -. . . . . . promotedPropertyString: true -. . . . . } -. . . . } -. . . . 2: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "SIMPLE_IDENTIFIER" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 2: ImportFrom { @@ -591,7 +591,14 @@ Module { . . . . . . . . . . . . . . . . . . . . Col: 35 . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . . . 0: Subscript { +. . . . . . . . . . . . . . . . . . . . 0: Add { +. . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary +. . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 1: Subscript { . . . . . . . . . . . . . . . . . . . . . Roles: Left,Expression,Incomplete . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . Offset: 459 @@ -669,7 +676,7 @@ Module { . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . . . Roles: Literal,Number,Expression,Primitive,Right . . . . . . . . . . . . . . . . . . . . . TOKEN "1" . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -686,13 +693,6 @@ Module { . . . . . . . . . . . . . . . . . . . . . . internalRole: value . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary -. . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } @@ -1139,7 +1139,14 @@ Module { . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . . . . . . . 1: Mult { +. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "*" +. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "20" . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -1156,16 +1163,16 @@ Module { . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . 2: Mult { -. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "*" -. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 1: Str { +. . . . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . 2: Str { . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,String,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . . . TOKEN " " . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -1182,16 +1189,16 @@ Module { . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Call { +. . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 2: Call { . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . Offset: 657 @@ -1260,13 +1267,6 @@ Module { . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . 1: Name { diff --git a/fixtures/issue94.py.uast b/fixtures/issue94.py.uast index 6bd270b9..3c687d3e 100644 --- a/fixtures/issue94.py.uast +++ b/fixtures/issue94.py.uast @@ -855,7 +855,15 @@ Module { . . . . . . . . returns: . . . . . . . } . . . . . . . Children: { -. . . . . . . . 0: FunctionDef.body { +. . . . . . . . 0: arguments { +. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: args +. . . . . . . . . . kwarg: +. . . . . . . . . . vararg: +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 1: FunctionDef.body { . . . . . . . . . Roles: Function,Declaration,Body . . . . . . . . . Properties: { . . . . . . . . . . promotedPropertyList: true @@ -878,7 +886,15 @@ Module { . . . . . . . . . . . . returns: . . . . . . . . . . . } . . . . . . . . . . . Children: { -. . . . . . . . . . . . 0: FunctionDef.body { +. . . . . . . . . . . . 0: arguments { +. . . . . . . . . . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . internalRole: args +. . . . . . . . . . . . . . kwarg: +. . . . . . . . . . . . . . vararg: +. . . . . . . . . . . . . } +. . . . . . . . . . . . } +. . . . . . . . . . . . 1: FunctionDef.body { . . . . . . . . . . . . . Roles: Function,Declaration,Body . . . . . . . . . . . . . Properties: { . . . . . . . . . . . . . . promotedPropertyList: true @@ -933,26 +949,10 @@ Module { . . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } -. . . . . . . . . . . . 1: arguments { -. . . . . . . . . . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . internalRole: args -. . . . . . . . . . . . . . kwarg: -. . . . . . . . . . . . . . vararg: -. . . . . . . . . . . . . } -. . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: arguments { -. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: args -. . . . . . . . . . kwarg: -. . . . . . . . . . vararg: -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . } @@ -1262,7 +1262,15 @@ Module { . . . . . . . . returns: . . . . . . . } . . . . . . . Children: { -. . . . . . . . 0: FunctionDef.body { +. . . . . . . . 0: arguments { +. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: args +. . . . . . . . . . kwarg: +. . . . . . . . . . vararg: +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 1: FunctionDef.body { . . . . . . . . . Roles: Function,Declaration,Body . . . . . . . . . Properties: { . . . . . . . . . . promotedPropertyList: true @@ -1298,14 +1306,6 @@ Module { . . . . . . . . . . } . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: arguments { -. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: args -. . . . . . . . . . kwarg: -. . . . . . . . . . vararg: -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . } diff --git a/fixtures/issue96.py.uast b/fixtures/issue96.py.uast index 6bd270b9..3c687d3e 100644 --- a/fixtures/issue96.py.uast +++ b/fixtures/issue96.py.uast @@ -855,7 +855,15 @@ Module { . . . . . . . . returns: . . . . . . . } . . . . . . . Children: { -. . . . . . . . 0: FunctionDef.body { +. . . . . . . . 0: arguments { +. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: args +. . . . . . . . . . kwarg: +. . . . . . . . . . vararg: +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 1: FunctionDef.body { . . . . . . . . . Roles: Function,Declaration,Body . . . . . . . . . Properties: { . . . . . . . . . . promotedPropertyList: true @@ -878,7 +886,15 @@ Module { . . . . . . . . . . . . returns: . . . . . . . . . . . } . . . . . . . . . . . Children: { -. . . . . . . . . . . . 0: FunctionDef.body { +. . . . . . . . . . . . 0: arguments { +. . . . . . . . . . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . internalRole: args +. . . . . . . . . . . . . . kwarg: +. . . . . . . . . . . . . . vararg: +. . . . . . . . . . . . . } +. . . . . . . . . . . . } +. . . . . . . . . . . . 1: FunctionDef.body { . . . . . . . . . . . . . Roles: Function,Declaration,Body . . . . . . . . . . . . . Properties: { . . . . . . . . . . . . . . promotedPropertyList: true @@ -933,26 +949,10 @@ Module { . . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } -. . . . . . . . . . . . 1: arguments { -. . . . . . . . . . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . internalRole: args -. . . . . . . . . . . . . . kwarg: -. . . . . . . . . . . . . . vararg: -. . . . . . . . . . . . . } -. . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: arguments { -. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: args -. . . . . . . . . . kwarg: -. . . . . . . . . . vararg: -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . } @@ -1262,7 +1262,15 @@ Module { . . . . . . . . returns: . . . . . . . } . . . . . . . Children: { -. . . . . . . . 0: FunctionDef.body { +. . . . . . . . 0: arguments { +. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: args +. . . . . . . . . . kwarg: +. . . . . . . . . . vararg: +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 1: FunctionDef.body { . . . . . . . . . Roles: Function,Declaration,Body . . . . . . . . . Properties: { . . . . . . . . . . promotedPropertyList: true @@ -1298,14 +1306,6 @@ Module { . . . . . . . . . . } . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: arguments { -. . . . . . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: args -. . . . . . . . . . kwarg: -. . . . . . . . . . vararg: -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . } diff --git a/fixtures/issue_server101.py.uast b/fixtures/issue_server101.py.uast index 730ffa7e..92d7e142 100644 --- a/fixtures/issue_server101.py.uast +++ b/fixtures/issue_server101.py.uast @@ -229,7 +229,47 @@ special value types. . . . . internalRole: body . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "inspect" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 1: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "re" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 2: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "sys" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 3: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "os.path" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 4: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "imp" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 5: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 727 @@ -312,46 +352,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "inspect" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } -. . . . 2: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "re" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } -. . . . 3: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "sys" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } -. . . . 4: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "os.path" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } -. . . . 5: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "imp" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 3: ImportFrom { @@ -367,7 +367,22 @@ special value types. . . . . level: 0 . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: ImportFrom.module { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "epydoc.apidoc" +. . . . . Properties: { +. . . . . . promotedPropertyString: true +. . . . . } +. . . . } +. . . . 1: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "*" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 2: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 920 @@ -398,21 +413,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: ImportFrom.module { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "epydoc.apidoc" -. . . . . Properties: { -. . . . . . promotedPropertyString: true -. . . . . } -. . . . } -. . . . 2: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "*" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 4: ImportFrom { @@ -433,7 +433,22 @@ special value types. . . . . level: 0 . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: ImportFrom.module { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "types" +. . . . . Properties: { +. . . . . . promotedPropertyString: true +. . . . . } +. . . . } +. . . . 1: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "*" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 2: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 978 @@ -464,21 +479,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: ImportFrom.module { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "types" -. . . . . Properties: { -. . . . . . promotedPropertyString: true -. . . . . } -. . . . } -. . . . 2: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "*" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 5: ImportFrom { @@ -499,7 +499,22 @@ special value types. . . . . level: 0 . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: ImportFrom.module { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "epydoc" +. . . . . Properties: { +. . . . . . promotedPropertyString: true +. . . . . } +. . . . } +. . . . 1: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "log" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 2: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 1018 @@ -530,21 +545,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: ImportFrom.module { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "epydoc" -. . . . . Properties: { -. . . . . . promotedPropertyString: true -. . . . . } -. . . . } -. . . . 2: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "log" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 6: ImportFrom { @@ -560,7 +560,22 @@ special value types. . . . . level: 0 . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: ImportFrom.module { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "epydoc.util" +. . . . . Properties: { +. . . . . . promotedPropertyString: true +. . . . . } +. . . . } +. . . . 1: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "*" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 2: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 1060 @@ -591,21 +606,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: ImportFrom.module { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "epydoc.util" -. . . . . Properties: { -. . . . . . promotedPropertyString: true -. . . . . } -. . . . } -. . . . 2: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "*" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 7: Import { @@ -619,7 +619,15 @@ special value types. . . . . internalRole: body . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "epydoc.docparser" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 1: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 1106 @@ -650,14 +658,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "epydoc.docparser" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 8: Import { @@ -671,7 +671,15 @@ special value types. . . . . internalRole: body . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "__builtin__" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 1: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 1172 @@ -702,14 +710,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "__builtin__" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 9: ImportFrom { @@ -725,7 +725,22 @@ special value types. . . . . level: 0 . . . } . . . Children: { -. . . . 0: PreviousNoops { +. . . . 0: ImportFrom.module { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "epydoc.compat" +. . . . . Properties: { +. . . . . . promotedPropertyString: true +. . . . . } +. . . . } +. . . . 1: alias { +. . . . . Roles: Import,Pathname,Identifier +. . . . . TOKEN "*" +. . . . . Properties: { +. . . . . . asname: +. . . . . . internalRole: names +. . . . . } +. . . . } +. . . . 2: PreviousNoops { . . . . . Roles: Whitespace . . . . . StartPosition: { . . . . . . Offset: 1208 @@ -756,21 +771,6 @@ special value types. . . . . . . } . . . . . } . . . . } -. . . . 1: ImportFrom.module { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "epydoc.compat" -. . . . . Properties: { -. . . . . . promotedPropertyString: true -. . . . . } -. . . . } -. . . . 2: alias { -. . . . . Roles: Import,Pathname,Identifier -. . . . . TOKEN "*" -. . . . . Properties: { -. . . . . . asname: -. . . . . . internalRole: names -. . . . . } -. . . . } . . . } . . } . . 10: Assign { @@ -1060,7 +1060,15 @@ pyid to C{bool}." . . . . internalRole: body . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -1257,14 +1265,6 @@ pyid to C{bool}." . . . . . . } . . . . . } . . . . } -. . . . 1: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . . 15: FunctionDef { @@ -2190,7 +2190,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Compare { +. . . . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 4120 @@ -2258,7 +2264,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 4137 @@ -2326,12 +2332,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -2349,7 +2349,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . } . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . 0: Compare { +. . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . } +. . . . . . . . . . . . . . 1: Compare { . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 3899 @@ -2417,7 +2423,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 3917 @@ -2485,7 +2491,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 2: Compare { +. . . . . . . . . . . . . . 3: Compare { . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 3934 @@ -2553,12 +2559,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 3: And { -. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } . . . . . . . . . . . } @@ -2576,7 +2576,13 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Compare { +. . . . . . . . . . 0: And { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 3779 @@ -2644,7 +2650,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Compare { +. . . . . . . . . . 2: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 3797 @@ -2712,7 +2718,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: Compare { +. . . . . . . . . . 3: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 3818 @@ -2780,12 +2786,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 3: And { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -3160,7 +3160,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . } . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . 0: Name { +. . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . } +. . . . . . . . . . . . . . 1: Name { . . . . . . . . . . . . . . . Roles: Identifier,Expression . . . . . . . . . . . . . . . TOKEN "is_script" . . . . . . . . . . . . . . . StartPosition: { @@ -3211,7 +3217,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 4619 @@ -3279,12 +3285,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } . . . . . . . . . . . } @@ -4068,7 +4068,13 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Compare { +. . . . . . . . . . 0: And { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 5124 @@ -4202,7 +4208,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Compare { +. . . . . . . . . . 2: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 5162 @@ -4270,12 +4276,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: And { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -4478,7 +4478,13 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Name { +. . . . . . . . . . 0: And { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Name { . . . . . . . . . . . Roles: Identifier,Expression . . . . . . . . . . . TOKEN "is_script" . . . . . . . . . . . StartPosition: { @@ -4542,7 +4548,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Compare { +. . . . . . . . . . 2: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 5305 @@ -4610,12 +4616,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: And { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -4783,7 +4783,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 1: Name { +. . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . 2: Name { . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . TOKEN "shadowed_name" . . . . . . . . . . . . . . . . . StartPosition: { @@ -4801,13 +4808,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } . . . . . . . . . . . . . . 1: Attribute { @@ -4973,7 +4973,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 1: Str { +. . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . 2: Str { . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,String,Expression,Primitive . . . . . . . . . . . . . . . . . TOKEN "'" . . . . . . . . . . . . . . . . . StartPosition: { @@ -4990,13 +4997,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } . . . . . . . . . . . . . . 1: Name { @@ -5034,7 +5034,13 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Compare { +. . . . . . . . . . 0: And { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 5421 @@ -5155,7 +5161,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Compare { +. . . . . . . . . . 2: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 5459 @@ -5223,12 +5229,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: And { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -6629,7 +6629,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Compare { +. . . . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 6974 @@ -6697,7 +6703,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Call { +. . . . . . . . . . . . . . . . . . 2: Call { . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 6997 @@ -6768,12 +6774,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -13248,7 +13248,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Compare { +. . . . . . . . . . . . . . . . . . 0: Or { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Or +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 11161 @@ -13316,7 +13322,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 11182 @@ -13404,12 +13410,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: Or { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Or -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -13427,7 +13427,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . } . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . 0: BoolOp { +. . . . . . . . . . . . . . 0: Or { +. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Or +. . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . } +. . . . . . . . . . . . . . 1: BoolOp { . . . . . . . . . . . . . . . Roles: Expression,Boolean,Incomplete . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 10504 @@ -13438,7 +13444,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . internalRole: values . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . 0: Compare { +. . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . 1: Compare { . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . Offset: 10504 @@ -13506,7 +13518,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . Offset: 10543 @@ -13574,15 +13586,9 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 1: BoolOp { +. . . . . . . . . . . . . . 2: BoolOp { . . . . . . . . . . . . . . . Roles: Expression,Boolean,Incomplete . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 10593 @@ -13593,7 +13599,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . internalRole: values . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . 0: Compare { +. . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . 1: Compare { . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . Offset: 10593 @@ -13661,7 +13673,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . Offset: 10635 @@ -13729,18 +13741,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 2: Or { -. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Or -. . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . internalRole: op . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } . . . . . . . . . . . . . } @@ -13952,7 +13952,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . . . . . 0: Not { +. . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not +. . . . . . . . . . . . . . . . . . . . . . . TOKEN "!" +. . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . . . Offset: 12386 @@ -14021,13 +14028,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 1: Not { -. . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not -. . . . . . . . . . . . . . . . . . . . . . . TOKEN "!" -. . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } @@ -16294,7 +16294,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Call { +. . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 2: Call { . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . Offset: 14768 @@ -16379,13 +16386,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . 1: Attribute { @@ -17526,7 +17526,13 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Compare { +. . . . . . . . . . 0: And { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 15326 @@ -17653,7 +17659,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Compare { +. . . . . . . . . . 2: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 15350 @@ -17773,12 +17779,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: And { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -17962,7 +17962,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 1: Call { +. . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . } +. . . . . . . . . . . . . . 2: Call { . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Function,Call,Expression . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 15611 @@ -18047,13 +18054,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } . . . . . . . . . . . } @@ -18125,7 +18125,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Compare { +. . . . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 15717 @@ -18193,7 +18199,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 15765 @@ -18301,12 +18307,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -18439,7 +18439,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . . . . . . . . . 1: Sub { +. . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "-" +. . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "2" . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -18456,13 +18463,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . 2: Sub { -. . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "-" -. . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } @@ -21272,7 +21272,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 1: Call { +. . . . . . . . . . . . . . 1: Mult { +. . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . . . . . . . . . TOKEN "*" +. . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . } +. . . . . . . . . . . . . . 2: Call { . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Function,Call,Expression . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 17675 @@ -21323,13 +21330,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 2: Mult { -. . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . . . . . . . . . TOKEN "*" -. . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } . . . . . . . . . . . } @@ -21442,7 +21442,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Call { +. . . . . . . . . . . . . . . . . . 1: Sub { +. . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic +. . . . . . . . . . . . . . . . . . . TOKEN "-" +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 2: Call { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Function,Call,Expression . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 17749 @@ -21493,13 +21500,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: Sub { -. . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic -. . . . . . . . . . . . . . . . . . . TOKEN "-" -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -21698,7 +21698,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . 1: Name { +. . . . . . . . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . 2: Name { . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "offset" . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -21716,13 +21723,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } @@ -22252,7 +22252,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . } . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . } +. . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 18014 @@ -22367,7 +22373,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 18050 @@ -22455,12 +22461,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } . . . . . . . . . . . } @@ -28192,7 +28192,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Name { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2: Name { . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "name" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -28210,13 +28217,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Attribute { @@ -28796,7 +28796,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Name { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2: Name { . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "name" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -28814,13 +28821,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Attribute { @@ -29422,7 +29422,14 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Call { +. . . . . . . . . . 0: Not { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,Not +. . . . . . . . . . . TOKEN "!" +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Call { . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 23897 @@ -29490,13 +29497,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Not { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,Not -. . . . . . . . . . . TOKEN "!" -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -29725,7 +29725,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 1: Name { +. . . . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . 2: Name { . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . . . . . . . TOKEN "dotted_name" . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -29743,13 +29750,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . 1: Attribute { @@ -29870,7 +29870,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 1: Str { +. . . . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . 2: Str { . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,String,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . . . TOKEN "'" . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -29887,13 +29894,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . 1: Name { @@ -30222,7 +30222,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 1: Attribute { +. . . . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . 2: Attribute { . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . . . . . . . TOKEN "__str__" . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -30260,13 +30267,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } @@ -32171,7 +32171,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . . . . . . . Offset: 25811 @@ -32240,7 +32246,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . 1: UnaryOp { +. . . . . . . . . . . . . . . . . . . . . . . . . . 2: UnaryOp { . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Unary,Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . . . . . . . Offset: 25857 @@ -32251,7 +32257,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: values . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 0: Not { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "!" +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Offset: 25861 @@ -32341,19 +32354,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Not { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "!" -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . } @@ -32373,7 +32373,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . . . Offset: 25545 @@ -32444,7 +32450,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 1: UnaryOp { +. . . . . . . . . . . . . . . . . . . . . . 2: UnaryOp { . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Unary,Expression . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . . . Offset: 25583 @@ -32455,7 +32461,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . internalRole: values . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . . . . . . . 0: Not { +. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not +. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "!" +. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . . . . . Offset: 25587 @@ -32545,19 +32558,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . 1: Not { -. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not -. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "!" -. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 2: And { -. . . . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } @@ -32577,7 +32577,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 25192 @@ -32681,7 +32687,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 25220 @@ -32769,7 +32775,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: Compare { +. . . . . . . . . . . . . . . . . . 3: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 25260 @@ -32857,7 +32863,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 3: UnaryOp { +. . . . . . . . . . . . . . . . . . 4: UnaryOp { . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Unary,Expression . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 25302 @@ -32868,7 +32874,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . internalRole: values . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . . . 0: Not { +. . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not +. . . . . . . . . . . . . . . . . . . . . TOKEN "!" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . Offset: 25306 @@ -32977,19 +32990,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Not { -. . . . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not -. . . . . . . . . . . . . . . . . . . . . TOKEN "!" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 4: And { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } @@ -33650,7 +33650,13 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Compare { +. . . . . . . . . . 0: And { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 26372 @@ -33748,7 +33754,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Call { +. . . . . . . . . . 2: Call { . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 26398 @@ -33856,12 +33862,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: And { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -34747,7 +34747,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . } . . . . . . . . . . . . } -. . . . . . . . . . . . 1: Name { +. . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . } +. . . . . . . . . . . . } +. . . . . . . . . . . . 2: Name { . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . TOKEN "value" . . . . . . . . . . . . . StartPosition: { @@ -34765,13 +34772,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . } . . . . . . . . . . . . } -. . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . } -. . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } . . . . . . . . . } @@ -36138,7 +36138,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 27328 @@ -36209,7 +36215,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Compare { +. . . . . . . . . . . . . . . . . . 2: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 27356 @@ -36297,7 +36303,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: Compare { +. . . . . . . . . . . . . . . . . . 3: Compare { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 27396 @@ -36404,12 +36410,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 3: And { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -37212,7 +37212,13 @@ pyid to C{bool}." . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . } . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . 0: And { +. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . } +. . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 28512 @@ -37280,7 +37286,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 1: Call { +. . . . . . . . . . . . . . 2: Call { . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 28556 @@ -37348,7 +37354,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 2: Compare { +. . . . . . . . . . . . . . 3: Compare { . . . . . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . Offset: 28602 @@ -37456,12 +37462,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . 3: And { -. . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . } . . . . . . . . . . . . . } . . . . . . . . . . . . } . . . . . . . . . . . } @@ -39471,7 +39471,15 @@ pyid to C{bool}." . . . . . . internalRole: body . . . . . } . . . . . Children: { -. . . . . . 0: PreviousNoops { +. . . . . . 0: alias { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "array" +. . . . . . . Properties: { +. . . . . . . . asname: +. . . . . . . . internalRole: names +. . . . . . . } +. . . . . . } +. . . . . . 1: PreviousNoops { . . . . . . . Roles: Whitespace . . . . . . . StartPosition: { . . . . . . . . Offset: 30685 @@ -39515,14 +39523,6 @@ pyid to C{bool}." . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: alias { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "array" -. . . . . . . Properties: { -. . . . . . . . asname: -. . . . . . . . internalRole: names -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . . 1: Assign { @@ -39988,7 +39988,15 @@ pyid to C{bool}." . . . . . . internalRole: body . . . . . } . . . . . Children: { -. . . . . . 0: PreviousNoops { +. . . . . . 0: alias { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "datetime" +. . . . . . . Properties: { +. . . . . . . . asname: +. . . . . . . . internalRole: names +. . . . . . . } +. . . . . . } +. . . . . . 1: PreviousNoops { . . . . . . . Roles: Whitespace . . . . . . . StartPosition: { . . . . . . . . Offset: 30954 @@ -40032,14 +40040,6 @@ pyid to C{bool}." . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: alias { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "datetime" -. . . . . . . Properties: { -. . . . . . . . asname: -. . . . . . . . internalRole: names -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . . 1: Assign { @@ -43202,7 +43202,16 @@ pyid to C{bool}." . . . . . . . . . . internalRole: value . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Attribute { +. . . . . . . . . . 0: Slice { +. . . . . . . . . . . Roles: Expression,Incomplete +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: slice +. . . . . . . . . . . . lower: +. . . . . . . . . . . . step: +. . . . . . . . . . . . upper: +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Attribute { . . . . . . . . . . . Roles: Identifier,Expression . . . . . . . . . . . TOKEN "path" . . . . . . . . . . . StartPosition: { @@ -43240,15 +43249,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Slice { -. . . . . . . . . . . Roles: Expression,Incomplete -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: slice -. . . . . . . . . . . . lower: -. . . . . . . . . . . . step: -. . . . . . . . . . . . upper: -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -45616,7 +45616,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . . . TOKEN "1" . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -45633,13 +45640,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } @@ -45847,7 +45847,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . TOKEN "1" . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -45864,13 +45871,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } @@ -46469,7 +46469,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Tuple { +. . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 2: Tuple { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Tuple,Expression,Primitive . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 34991 @@ -46560,7 +46567,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Name { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2: Name { . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "i" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -46578,13 +46592,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . . } @@ -46650,13 +46657,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -47254,7 +47254,16 @@ pyid to C{bool}." . . . . . . . . . . internalRole: value . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Attribute { +. . . . . . . . . . 0: Slice { +. . . . . . . . . . . Roles: Expression,Incomplete +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: slice +. . . . . . . . . . . . lower: +. . . . . . . . . . . . step: +. . . . . . . . . . . . upper: +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Attribute { . . . . . . . . . . . Roles: Identifier,Expression . . . . . . . . . . . TOKEN "path" . . . . . . . . . . . StartPosition: { @@ -47292,15 +47301,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Slice { -. . . . . . . . . . . Roles: Expression,Incomplete -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: slice -. . . . . . . . . . . . lower: -. . . . . . . . . . . . step: -. . . . . . . . . . . . upper: -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -48694,7 +48694,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Tuple { +. . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 2: Tuple { . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Tuple,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . Offset: 36566 @@ -48726,13 +48733,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } @@ -48799,7 +48799,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Tuple { +. . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 2: Tuple { . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Tuple,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . Offset: 36629 @@ -48869,13 +48876,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } @@ -48989,7 +48989,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . Col: 23 . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Name { +. . . . . . . . . . . . . . . . . . 0: Add { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary +. . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Name { . . . . . . . . . . . . . . . . . . . Roles: Left,Identifier,Expression . . . . . . . . . . . . . . . . . . . TOKEN "estr" . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -49007,7 +49014,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . internalRole: target . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: BinOp { +. . . . . . . . . . . . . . . . . . 2: BinOp { . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . Offset: 36723 @@ -49035,7 +49042,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Tuple { +. . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 2: Tuple { . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Tuple,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . . . . . Offset: 36739 @@ -49107,20 +49121,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary -. . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } @@ -50282,7 +50282,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . Col: 60 . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . . . 0: Name { +. . . . . . . . . . . . . . . . . . 0: Add { +. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary +. . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . 1: Name { . . . . . . . . . . . . . . . . . . . Roles: Left,Identifier,Expression . . . . . . . . . . . . . . . . . . . TOKEN "lineno" . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -50300,7 +50307,7 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . internalRole: target . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . Roles: Literal,Number,Expression,Primitive,Right . . . . . . . . . . . . . . . . . . . TOKEN "1" . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -50317,13 +50324,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . internalRole: value . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . Roles: Binary,Operator,Add,Arithmetic,Operator,Binary -. . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } @@ -50339,7 +50339,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . internalRole: test . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . Children: { -. . . . . . . . . . . . . . . . 0: Call { +. . . . . . . . . . . . . . . . 0: Not { +. . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not +. . . . . . . . . . . . . . . . . TOKEN "!" +. . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . 1: Call { . . . . . . . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . . . . . . . Offset: 37596 @@ -50408,13 +50415,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . 1: Not { -. . . . . . . . . . . . . . . . . Roles: Binary,Operator,Boolean,Not -. . . . . . . . . . . . . . . . . TOKEN "!" -. . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . } . . . . . . . . . . . . . } @@ -50537,7 +50537,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "1" . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -50554,13 +50561,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } @@ -50608,7 +50608,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . 1: Num { +. . . . . . . . . . . . . . . . . . . . . . . . 1: Add { +. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" +. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . . . . . 2: Num { . . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "1" . . . . . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -50625,13 +50632,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: right . . . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . 2: Add { -. . . . . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . . . . . . . . . . . . . . . . . TOKEN "+" -. . . . . . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } @@ -51127,7 +51127,14 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . internalRole: left . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 1: Attribute { +. . . . . . . . . . . . . . . . . . . . 1: Mod { +. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic +. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" +. . . . . . . . . . . . . . . . . . . . . Properties: { +. . . . . . . . . . . . . . . . . . . . . . internalRole: op +. . . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . } +. . . . . . . . . . . . . . . . . . . . 2: Attribute { . . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . . . . . . . . . . . . . TOKEN "canonical_name" . . . . . . . . . . . . . . . . . . . . . StartPosition: { @@ -51165,13 +51172,6 @@ pyid to C{bool}." . . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . 2: Mod { -. . . . . . . . . . . . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Modulo,Arithmetic -. . . . . . . . . . . . . . . . . . . . . TOKEN "%%" -. . . . . . . . . . . . . . . . . . . . . Properties: { -. . . . . . . . . . . . . . . . . . . . . . internalRole: op -. . . . . . . . . . . . . . . . . . . . . } -. . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . } . . . . . . . . . . . . . . . . . . 1: Attribute { @@ -51251,7 +51251,13 @@ pyid to C{bool}." . . . . . . . . . . internalRole: test . . . . . . . . . } . . . . . . . . . Children: { -. . . . . . . . . . 0: Call { +. . . . . . . . . . 0: And { +. . . . . . . . . . . Roles: Binary,Operator,Boolean,And +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 1: Call { . . . . . . . . . . . Roles: Function,Call,Expression . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 37438 @@ -51320,7 +51326,7 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Compare { +. . . . . . . . . . 2: Compare { . . . . . . . . . . . Roles: Expression,Binary . . . . . . . . . . . StartPosition: { . . . . . . . . . . . . Offset: 37472 @@ -51408,12 +51414,6 @@ pyid to C{bool}." . . . . . . . . . . . . } . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: And { -. . . . . . . . . . . Roles: Binary,Operator,Boolean,And -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } @@ -52977,7 +52977,31 @@ pyid to C{bool}." . . . . . . level: 0 . . . . . } . . . . . Children: { -. . . . . . 0: PreviousNoops { +. . . . . . 0: ImportFrom.module { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "zope.interface.interface" +. . . . . . . Properties: { +. . . . . . . . promotedPropertyString: true +. . . . . . . } +. . . . . . } +. . . . . . 1: alias { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "InterfaceClass" +. . . . . . . Properties: { +. . . . . . . . alias.asname: _ZopeInterfaceClass +. . . . . . . . internalRole: names +. . . . . . . } +. . . . . . . Children: { +. . . . . . . . 0: alias.asname { +. . . . . . . . . Roles: Import,Alias,Identifier +. . . . . . . . . TOKEN "_ZopeInterfaceClass" +. . . . . . . . . Properties: { +. . . . . . . . . . promotedPropertyString: true +. . . . . . . . . } +. . . . . . . . } +. . . . . . . } +. . . . . . } +. . . . . . 2: PreviousNoops { . . . . . . . Roles: Whitespace . . . . . . . StartPosition: { . . . . . . . . Offset: 38882 @@ -53060,30 +53084,6 @@ pyid to C{bool}." . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: ImportFrom.module { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "zope.interface.interface" -. . . . . . . Properties: { -. . . . . . . . promotedPropertyString: true -. . . . . . . } -. . . . . . } -. . . . . . 2: alias { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "InterfaceClass" -. . . . . . . Properties: { -. . . . . . . . alias.asname: _ZopeInterfaceClass -. . . . . . . . internalRole: names -. . . . . . . } -. . . . . . . Children: { -. . . . . . . . 0: alias.asname { -. . . . . . . . . Roles: Import,Alias,Identifier -. . . . . . . . . TOKEN "_ZopeInterfaceClass" -. . . . . . . . . Properties: { -. . . . . . . . . . promotedPropertyString: true -. . . . . . . . . } -. . . . . . . . } -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . . 1: Expr { @@ -53213,7 +53213,31 @@ pyid to C{bool}." . . . . . . level: 0 . . . . . } . . . . . Children: { -. . . . . . 0: PreviousNoops { +. . . . . . 0: ImportFrom.module { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "ExtensionClass" +. . . . . . . Properties: { +. . . . . . . . promotedPropertyString: true +. . . . . . . } +. . . . . . } +. . . . . . 1: alias { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "ExtensionClass" +. . . . . . . Properties: { +. . . . . . . . alias.asname: _ExtensionClass +. . . . . . . . internalRole: names +. . . . . . . } +. . . . . . . Children: { +. . . . . . . . 0: alias.asname { +. . . . . . . . . Roles: Import,Alias,Identifier +. . . . . . . . . TOKEN "_ExtensionClass" +. . . . . . . . . Properties: { +. . . . . . . . . . promotedPropertyString: true +. . . . . . . . . } +. . . . . . . . } +. . . . . . . } +. . . . . . } +. . . . . . 2: PreviousNoops { . . . . . . . Roles: Whitespace . . . . . . . StartPosition: { . . . . . . . . Offset: 39199 @@ -53309,30 +53333,6 @@ pyid to C{bool}." . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: ImportFrom.module { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "ExtensionClass" -. . . . . . . Properties: { -. . . . . . . . promotedPropertyString: true -. . . . . . . } -. . . . . . } -. . . . . . 2: alias { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "ExtensionClass" -. . . . . . . Properties: { -. . . . . . . . alias.asname: _ExtensionClass -. . . . . . . . internalRole: names -. . . . . . . } -. . . . . . . Children: { -. . . . . . . . 0: alias.asname { -. . . . . . . . . Roles: Import,Alias,Identifier -. . . . . . . . . TOKEN "_ExtensionClass" -. . . . . . . . . Properties: { -. . . . . . . . . . promotedPropertyString: true -. . . . . . . . . } -. . . . . . . . } -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . . 1: Assign { @@ -53657,7 +53657,31 @@ pyid to C{bool}." . . . . . . level: 0 . . . . . } . . . . . Children: { -. . . . . . 0: PreviousNoops { +. . . . . . 0: ImportFrom.module { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "ExtensionClass" +. . . . . . . Properties: { +. . . . . . . . promotedPropertyString: true +. . . . . . . } +. . . . . . } +. . . . . . 1: alias { +. . . . . . . Roles: Import,Pathname,Identifier +. . . . . . . TOKEN "PythonMethodType" +. . . . . . . Properties: { +. . . . . . . . alias.asname: _ZopeMethodType +. . . . . . . . internalRole: names +. . . . . . . } +. . . . . . . Children: { +. . . . . . . . 0: alias.asname { +. . . . . . . . . Roles: Import,Alias,Identifier +. . . . . . . . . TOKEN "_ZopeMethodType" +. . . . . . . . . Properties: { +. . . . . . . . . . promotedPropertyString: true +. . . . . . . . . } +. . . . . . . . } +. . . . . . . } +. . . . . . } +. . . . . . 2: PreviousNoops { . . . . . . . Roles: Whitespace . . . . . . . StartPosition: { . . . . . . . . Offset: 39657 @@ -53701,30 +53725,6 @@ pyid to C{bool}." . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: ImportFrom.module { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "ExtensionClass" -. . . . . . . Properties: { -. . . . . . . . promotedPropertyString: true -. . . . . . . } -. . . . . . } -. . . . . . 2: alias { -. . . . . . . Roles: Import,Pathname,Identifier -. . . . . . . TOKEN "PythonMethodType" -. . . . . . . Properties: { -. . . . . . . . alias.asname: _ZopeMethodType -. . . . . . . . internalRole: names -. . . . . . . } -. . . . . . . Children: { -. . . . . . . . 0: alias.asname { -. . . . . . . . . Roles: Import,Alias,Identifier -. . . . . . . . . TOKEN "_ZopeMethodType" -. . . . . . . . . Properties: { -. . . . . . . . . . promotedPropertyString: true -. . . . . . . . . } -. . . . . . . . } -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . . 5: ImportFrom { diff --git a/fixtures/lambda.py.uast b/fixtures/lambda.py.uast index 69aedacb..51c9b2e9 100644 --- a/fixtures/lambda.py.uast +++ b/fixtures/lambda.py.uast @@ -88,7 +88,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Num { +. . . . . . . . 1: Add { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . TOKEN "+" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Num { . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . TOKEN "1" . . . . . . . . . StartPosition: { @@ -105,13 +112,6 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Add { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . TOKEN "+" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } . . . . . } diff --git a/fixtures/literals_assign.py.uast b/fixtures/literals_assign.py.uast index 4c50d0aa..8c1c2823 100644 --- a/fixtures/literals_assign.py.uast +++ b/fixtures/literals_assign.py.uast @@ -836,7 +836,14 @@ Module { . . . . . . . . . . internalRole: left . . . . . . . . . } . . . . . . . . } -. . . . . . . . 1: Name { +. . . . . . . . 1: Add { +. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . . . TOKEN "+" +. . . . . . . . . Properties: { +. . . . . . . . . . internalRole: op +. . . . . . . . . } +. . . . . . . . } +. . . . . . . . 2: Name { . . . . . . . . . Roles: Expression,Binary,Right,Identifier,Expression . . . . . . . . . TOKEN "b" . . . . . . . . . StartPosition: { @@ -854,16 +861,16 @@ Module { . . . . . . . . . . internalRole: right . . . . . . . . . } . . . . . . . . } -. . . . . . . . 2: Add { -. . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . . . TOKEN "+" -. . . . . . . . . Properties: { -. . . . . . . . . . internalRole: op -. . . . . . . . . } -. . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: Call { +. . . . . . 1: Sub { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic +. . . . . . . TOKEN "-" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Call { . . . . . . . Roles: Expression,Binary,Right,Function,Call,Expression . . . . . . . StartPosition: { . . . . . . . . Offset: 206 @@ -912,13 +919,6 @@ Module { . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 2: Sub { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Substract,Arithmetic -. . . . . . . TOKEN "-" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } diff --git a/fixtures/other_statements.py.uast b/fixtures/other_statements.py.uast index a0bba54f..5c516060 100644 --- a/fixtures/other_statements.py.uast +++ b/fixtures/other_statements.py.uast @@ -155,7 +155,15 @@ Module { . . . . returns: . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -276,14 +284,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . } diff --git a/fixtures/pass.py.uast b/fixtures/pass.py.uast index 7b5c5ad1..674d55e3 100644 --- a/fixtures/pass.py.uast +++ b/fixtures/pass.py.uast @@ -58,7 +58,15 @@ Module { . . . . returns: . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -113,14 +121,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . . 2: FunctionDef { @@ -141,7 +141,15 @@ Module { . . . . returns: . . . } . . . Children: { -. . . . 0: FunctionDef.body { +. . . . 0: arguments { +. . . . . Roles: Function,Declaration,Incomplete,Argument +. . . . . Properties: { +. . . . . . internalRole: args +. . . . . . kwarg: +. . . . . . vararg: +. . . . . } +. . . . } +. . . . 1: FunctionDef.body { . . . . . Roles: Function,Declaration,Body . . . . . Properties: { . . . . . . promotedPropertyList: true @@ -196,14 +204,6 @@ Module { . . . . . . } . . . . . } . . . . } -. . . . 1: arguments { -. . . . . Roles: Function,Declaration,Incomplete,Argument -. . . . . Properties: { -. . . . . . internalRole: args -. . . . . . kwarg: -. . . . . . vararg: -. . . . . } -. . . . } . . . } . . } . } diff --git a/fixtures/sorting.py.uast b/fixtures/sorting.py.uast index becfe628..06a3b06a 100644 --- a/fixtures/sorting.py.uast +++ b/fixtures/sorting.py.uast @@ -93,7 +93,14 @@ Module { . . . . . . . . } . . . . . . . } . . . . . . } -. . . . . . 1: Num { +. . . . . . 1: Add { +. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic +. . . . . . . TOKEN "+" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 2: Num { . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . TOKEN "2" . . . . . . . StartPosition: { @@ -110,13 +117,6 @@ Module { . . . . . . . . internalRole: right . . . . . . . } . . . . . . } -. . . . . . 2: Add { -. . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Add,Arithmetic -. . . . . . . TOKEN "+" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } diff --git a/fixtures/string_fstring.py.uast b/fixtures/string_fstring.py.uast index d1e8ead3..d8c02337 100644 --- a/fixtures/string_fstring.py.uast +++ b/fixtures/string_fstring.py.uast @@ -752,7 +752,14 @@ Module { . . . . . . . . . . . . internalRole: left . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 1: Num { +. . . . . . . . . . 1: Mult { +. . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic +. . . . . . . . . . . TOKEN "*" +. . . . . . . . . . . Properties: { +. . . . . . . . . . . . internalRole: op +. . . . . . . . . . . } +. . . . . . . . . . } +. . . . . . . . . . 2: Num { . . . . . . . . . . . Roles: Expression,Binary,Right,Literal,Number,Expression,Primitive . . . . . . . . . . . TOKEN "2" . . . . . . . . . . . StartPosition: { @@ -769,13 +776,6 @@ Module { . . . . . . . . . . . . internalRole: right . . . . . . . . . . . } . . . . . . . . . . } -. . . . . . . . . . 2: Mult { -. . . . . . . . . . . Roles: Expression,Binary,Operator,Binary,Operator,Multiply,Arithmetic -. . . . . . . . . . . TOKEN "*" -. . . . . . . . . . . Properties: { -. . . . . . . . . . . . internalRole: op -. . . . . . . . . . . } -. . . . . . . . . . } . . . . . . . . . } . . . . . . . . } . . . . . . . } diff --git a/fixtures/unary.py.uast b/fixtures/unary.py.uast index 7466c8dd..1db5cf78 100644 --- a/fixtures/unary.py.uast +++ b/fixtures/unary.py.uast @@ -26,7 +26,14 @@ Module { . . . . . . internalRole: value . . . . . } . . . . . Children: { -. . . . . . 0: Num { +. . . . . . 0: Invert { +. . . . . . . Roles: Operator,Unary,Bitwise,Not +. . . . . . . TOKEN "~" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 1: Num { . . . . . . . Roles: Literal,Number,Expression,Primitive . . . . . . . TOKEN "1" . . . . . . . StartPosition: { @@ -43,13 +50,6 @@ Module { . . . . . . . . internalRole: operand . . . . . . . } . . . . . . } -. . . . . . 1: Invert { -. . . . . . . Roles: Operator,Unary,Bitwise,Not -. . . . . . . TOKEN "~" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -76,7 +76,14 @@ Module { . . . . . . internalRole: value . . . . . } . . . . . Children: { -. . . . . . 0: Name { +. . . . . . 0: USub { +. . . . . . . Roles: Operator,Unary,Negative +. . . . . . . TOKEN "-" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 1: Name { . . . . . . . Roles: Identifier,Expression . . . . . . . TOKEN "a" . . . . . . . StartPosition: { @@ -94,13 +101,6 @@ Module { . . . . . . . . internalRole: operand . . . . . . . } . . . . . . } -. . . . . . 1: USub { -. . . . . . . Roles: Operator,Unary,Negative -. . . . . . . TOKEN "-" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . } @@ -127,7 +127,14 @@ Module { . . . . . . internalRole: value . . . . . } . . . . . Children: { -. . . . . . 0: Name { +. . . . . . 0: UAdd { +. . . . . . . Roles: Operator,Unary,Positive +. . . . . . . TOKEN "+" +. . . . . . . Properties: { +. . . . . . . . internalRole: op +. . . . . . . } +. . . . . . } +. . . . . . 1: Name { . . . . . . . Roles: Identifier,Expression . . . . . . . TOKEN "a" . . . . . . . StartPosition: { @@ -145,13 +152,6 @@ Module { . . . . . . . . internalRole: operand . . . . . . . } . . . . . . } -. . . . . . 1: UAdd { -. . . . . . . Roles: Operator,Unary,Positive -. . . . . . . TOKEN "+" -. . . . . . . Properties: { -. . . . . . . . internalRole: op -. . . . . . . } -. . . . . . } . . . . . } . . . . } . . . }