Public Member Functions | Public Attributes | Static Private Member Functions
roslint.cpplint.CleansedLines Class Reference

List of all members.

Public Member Functions

def __init__
def NumLines

Public Attributes

 elided
 lines
 lines_without_raw_strings
 num_lines
 raw_lines

Static Private Member Functions

def _CollapseStrings

Detailed Description

Holds 4 copies of all lines with different preprocessing applied to them.

1) elided member contains lines without strings and comments.
2) lines member contains lines without comments.
3) raw_lines member contains all the lines without processing.
4) lines_without_raw_strings member is same as raw_lines, but with C++11 raw
   strings removed.
All these members are of <type 'list'>, and of the same length.

Definition at line 1290 of file cpplint.py.


Constructor & Destructor Documentation

def roslint.cpplint.CleansedLines.__init__ (   self,
  lines 
)

Definition at line 1301 of file cpplint.py.


Member Function Documentation

def roslint.cpplint.CleansedLines._CollapseStrings (   elided) [static, private]
Collapses strings and chars on a line to simple "" or '' blocks.

We nix strings first so we're not fooled by text like '"http://"'

Args:
  elided: The line being processed.

Returns:
  The line with collapsed strings.

Definition at line 1318 of file cpplint.py.

Returns the number of lines represented.

Definition at line 1313 of file cpplint.py.


Member Data Documentation

Definition at line 1301 of file cpplint.py.

Definition at line 1301 of file cpplint.py.

Definition at line 1301 of file cpplint.py.

Definition at line 1301 of file cpplint.py.

Definition at line 1301 of file cpplint.py.


The documentation for this class was generated from the following file:


roslint
Author(s): Mike Purvis, Jack O'Quin
autogenerated on Fri Aug 28 2015 12:41:58