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 134 of file check-style.py.
| def check-style.PatchChunkLine.__init__ | ( | self | ) |
Initializer.
| self | The current class |
Definition at line 148 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 179 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 198 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 192 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 186 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 171 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 163 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 155 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 204 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:
|
private |
line
Definition at line 154 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 153 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 147 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 144 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 141 of file check-style.py.
Referenced by check-style.PatchChunkLine.is_src(), check-style.PatchChunkLine.set_src(), and check-style.PatchChunkLine.write().