-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- --- foobar (w ) None None 0 --- a[x (w ) None None 0 --- a[]=$foo$bar (w words:[(w ) (w ) (w )] right: ) ) (Token id:Lit_VarLike length:2 col:0 line:(SourceLine line_num:1 content:"a=(1 2 3)" src:(source.MainFile path:word_parse_test.py) ) ) None 1 --- a+=(1 2 3) (w words:[(w ) (w ) (w )] right: ) ) (Token id:Lit_VarLike length:3 col:0 line:(SourceLine line_num:1 content:"a+=(1 2 3)" src:(source.MainFile path:word_parse_test.py) ) ) None 1 --- s= (w )Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) -------------------------------------------------------------------------------- Error: 'tuple' object has no attribute 'left' Error: _MakeAssignPair() takes exactly 3 arguments (2 given) ... (Token id:Lit_VarLike length:2 col:0 line:(SourceLine line_num:1 content:"s=~foo" src:(source.MainFile path:word_parse_test.py) ) ) None 1 --- a[x]=~ (w ) (Token id:Lit_ArrayLhsOpen length:2 col:0 line:(SourceLine line_num:1 content:"a[x]=~" src:(source.MainFile path:word_parse_test.py) ) ) (Token id:Lit_ArrayLhsClose length:2 col:3 line:(SourceLine line_num:1 content:"a[x]=~" src:(source.MainFile path:word_parse_test.py) ) ) 3 (C (w ) (w (SQ "my dir")) (w ($ x)) (w ($ bar)) ) (C (w ) (w ) (w ) (w ) (w ) ) --- ~ (w ) (CompoundWord parts:[ (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:0 line:(SourceLine line_num:1 content:"~" src:(source.MainFile path:word_parse_test.py) ) ) ) ] ) --- ~/ (w ) (CompoundWord parts:[ (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:0 line:(SourceLine line_num:1 content:"~/" src:(source.MainFile path:word_parse_test.py) ) ) ) (Token id:Lit_Slash length:1 col:1 line:...0x7f94abacfc58) ] ) --- ~/zz (w ) (CompoundWord parts:[ (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:0 line:(SourceLine line_num:1 content:"~/zz" src:(source.MainFile path:word_parse_test.py) ) ) ) (Token id:Lit_Slash length:1 col:1 line:...0x7f94abacfec0) (Token id:Lit_Chars length:2 col:2 line:...0x7f94abacfec0) ] ) --- ~andy (w ) (CompoundWord parts:[ (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:0 line:(SourceLine line_num:1 content:"~andy" src:(source.MainFile path:word_parse_test.py) ) ) name:(Token id:Lit_Chars length:4 col:1 line:...0x7f94abacfd08) user_name:andy ) ] ) --- ~andy/ (w ) (CompoundWord parts:[ (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:0 line:(SourceLine line_num:1 content:"~andy/" src:(source.MainFile path:word_parse_test.py) ) ) name:(Token id:Lit_Chars length:4 col:1 line:...0x7f94abacfe10) user_name:andy ) (Token id:Lit_Slash length:1 col:5 line:...0x7f94abacfe10) ] ) --- ~andy/zz (w ) (CompoundWord parts:[ (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:0 line:(SourceLine line_num:1 content:"~andy/zz" src:(source.MainFile path:word_parse_test.py) ) ) name:(Token id:Lit_Chars length:4 col:1 line:...0x7f94abacff18) user_name:andy ) (Token id:Lit_Slash length:1 col:5 line:...0x7f94abacff18) (Token id:Lit_Chars length:2 col:6 line:...0x7f94abacff18) ] ) --- ~bob# (w ) None --- ~bob#/ (w ) None --- ~bob#/zz (w ) None --- None --- foo (w ) None --- ~:~/:~/zz:~andy:~andy/:~andy/zz:~bob#:~bob#/:~bob#/zz::foo (w ) DETECTED (CompoundWord parts:[ (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:0 line:(SourceLine line_num:1 content:"~:~/:~/zz:~andy:~andy/:~andy/zz:~bob#:~bob#/:~bob#/zz::foo" src:(source.MainFile path:word_parse_test.py) ) ) ) (Token id:Lit_Colon length:1 col:1 line:...0x7f94abacfe68) (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:2 line:...0x7f94abacfe68) ) (Token id:Lit_Slash length:1 col:3 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:4 line:...0x7f94abacfe68) (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:5 line:...0x7f94abacfe68) ) (Token id:Lit_Slash length:1 col:6 line:...0x7f94abacfe68) (Token id:Lit_Chars length:2 col:7 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:9 line:...0x7f94abacfe68) (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:10 line:...0x7f94abacfe68) name:(Token id:Lit_Chars length:4 col:11 line:...0x7f94abacfe68) user_name:andy ) (Token id:Lit_Colon length:1 col:15 line:...0x7f94abacfe68) (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:16 line:...0x7f94abacfe68) name:(Token id:Lit_Chars length:4 col:17 line:...0x7f94abacfe68) user_name:andy ) (Token id:Lit_Slash length:1 col:21 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:22 line:...0x7f94abacfe68) (word_part.TildeSub left:(Token id:Lit_Tilde length:1 col:23 line:...0x7f94abacfe68) name:(Token id:Lit_Chars length:4 col:24 line:...0x7f94abacfe68) user_name:andy ) (Token id:Lit_Slash length:1 col:28 line:...0x7f94abacfe68) (Token id:Lit_Chars length:2 col:29 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:31 line:...0x7f94abacfe68) (Token id:Lit_Tilde length:1 col:32 line:...0x7f94abacfe68) (Token id:Lit_Chars length:3 col:33 line:...0x7f94abacfe68) (Token id:Lit_Pound length:1 col:36 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:37 line:...0x7f94abacfe68) (Token id:Lit_Tilde length:1 col:38 line:...0x7f94abacfe68) (Token id:Lit_Chars length:3 col:39 line:...0x7f94abacfe68) (Token id:Lit_Pound length:1 col:42 line:...0x7f94abacfe68) (Token id:Lit_Slash length:1 col:43 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:44 line:...0x7f94abacfe68) (Token id:Lit_Tilde length:1 col:45 line:...0x7f94abacfe68) (Token id:Lit_Chars length:3 col:46 line:...0x7f94abacfe68) (Token id:Lit_Pound length:1 col:49 line:...0x7f94abacfe68) (Token id:Lit_Slash length:1 col:50 line:...0x7f94abacfe68) (Token id:Lit_Chars length:2 col:51 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:53 line:...0x7f94abacfe68) (Token id:Lit_Colon length:1 col:54 line:...0x7f94abacfe68) (Token id:Lit_Chars length:3 col:55 line:...0x7f94abacfe68) ] )