PatchChunkLine class. More...
| Public Member Functions | |
| def | __init__ (self) | 
| Initializer.  More... | |
| def | append_to_line (self, s) | 
| Append to line.  More... | |
| def | is_dst (self) | 
| Is destination.  More... | |
| def | is_src (self) | 
| Is source.  More... | |
| def | line (self) | 
| Get line.  More... | |
| def | set_both (self, line) | 
| Set both.  More... | |
| def | set_dst (self, line) | 
| Set destination.  More... | |
| def | set_src (self, line) | 
| Set source.  More... | |
| def | write (self, f) | 
| Write to file.  More... | |
| Static Public Attributes | |
| int | BOTH = 3 | 
| Both.  More... | |
| int | DST = 2 | 
| Destination.  More... | |
| int | SRC = 1 | 
| Source.  More... | |
| Private Attributes | |
| __line | |
| line  More... | |
| __type | |
| type  More... | |
PatchChunkLine class.
Definition at line 145 of file check-style.py.
| def check-style.PatchChunkLine.__init__ | ( | self | ) | 
Initializer.
| self | The current class | 
Definition at line 159 of file check-style.py.
| def check-style.PatchChunkLine.append_to_line | ( | self, | |
| s | |||
| ) | 
Append to line.
| self | The current class | 
| s | line to append | 
Definition at line 190 of file check-style.py.
References check-style.PatchChunkLine.__line.
| def check-style.PatchChunkLine.is_dst | ( | self | ) | 
Is destination.
| self | The current class | 
Definition at line 209 of file check-style.py.
References check-style.PatchChunkLine.__type, check-style.PatchChunkLine.BOTH, and check-style.PatchChunkLine.DST.
| def check-style.PatchChunkLine.is_src | ( | self | ) | 
Is source.
| self | The current class | 
Definition at line 203 of file check-style.py.
References check-style.PatchChunkLine.__type, check-style.PatchChunkLine.BOTH, and check-style.PatchChunkLine.SRC.
| def check-style.PatchChunkLine.line | ( | self | ) | 
Get line.
| self | The current class | 
Definition at line 197 of file check-style.py.
References check-style.PatchChunkLine.__line.
| def check-style.PatchChunkLine.set_both | ( | self, | |
| line | |||
| ) | 
Set both.
| self | The current class | 
| line | 
Definition at line 182 of file check-style.py.
References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, and check-style.PatchChunkLine.BOTH.
| def check-style.PatchChunkLine.set_dst | ( | self, | |
| line | |||
| ) | 
Set destination.
| self | The current class | 
| line | destination line | 
Definition at line 174 of file check-style.py.
References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, and check-style.PatchChunkLine.DST.
| def check-style.PatchChunkLine.set_src | ( | self, | |
| line | |||
| ) | 
Set source.
| self | The current class | 
| line | source line | 
Definition at line 166 of file check-style.py.
References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, and check-style.PatchChunkLine.SRC.
| def check-style.PatchChunkLine.write | ( | self, | |
| f | |||
| ) | 
Write to file.
| self | The current class | 
| f | file | 
Definition at line 215 of file check-style.py.
References check-style.PatchChunkLine.__line, check-style.PatchChunkLine.__type, check-style.PatchChunkLine.BOTH, check-style.PatchChunkLine.DST, and check-style.PatchChunkLine.SRC.
Referenced by visualizer.ipython_view.IPythonView.onKeyPressExtend().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
line
Definition at line 165 of file check-style.py.
Referenced by check-style.PatchChunkLine.append_to_line(), check-style.PatchChunkLine.line(), check-style.PatchChunkLine.set_both(), check-style.PatchChunkLine.set_dst(), check-style.PatchChunkLine.set_src(), and check-style.PatchChunkLine.write().
| 
 | private | 
type
Definition at line 164 of file check-style.py.
Referenced by check-style.PatchChunkLine.is_dst(), check-style.PatchChunkLine.is_src(), check-style.PatchChunkLine.set_both(), check-style.PatchChunkLine.set_dst(), check-style.PatchChunkLine.set_src(), and check-style.PatchChunkLine.write().
| 
 | static | 
Both.
Definition at line 158 of file check-style.py.
Referenced by check-style.PatchChunkLine.is_dst(), check-style.PatchChunkLine.is_src(), check-style.PatchChunkLine.set_both(), and check-style.PatchChunkLine.write().
| 
 | static | 
Destination.
Definition at line 155 of file check-style.py.
Referenced by check-style.PatchChunkLine.is_dst(), check-style.PatchChunkLine.set_dst(), and check-style.PatchChunkLine.write().
| 
 | static | 
Source.
Definition at line 152 of file check-style.py.
Referenced by check-style.PatchChunkLine.is_src(), check-style.PatchChunkLine.set_src(), and check-style.PatchChunkLine.write().