Kaleidoscope
Public Member Functions | Public Attributes | List of all members
cpplint.CleansedLines Class Reference
Inheritance diagram for cpplint.CleansedLines:
Inheritance graph
[legend]
Collaboration diagram for cpplint.CleansedLines:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, lines)
 
def NumLines (self)
 

Public Attributes

 elided
 
 lines
 
 raw_lines
 
 num_lines
 
 lines_without_raw_strings
 

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.

Constructor & Destructor Documentation

◆ __init__()

def cpplint.CleansedLines.__init__ (   self,
  lines 
)

Member Function Documentation

◆ NumLines()

def cpplint.CleansedLines.NumLines (   self)
Returns the number of lines represented.

Member Data Documentation

◆ elided

cpplint.CleansedLines.elided

◆ lines

cpplint.CleansedLines.lines

◆ lines_without_raw_strings

cpplint.CleansedLines.lines_without_raw_strings

◆ num_lines

cpplint.CleansedLines.num_lines

◆ raw_lines

cpplint.CleansedLines.raw_lines

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