Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Member Functions | Public Attributes | List of all members
core.tools.cpplint.CleansedLines Class Reference
Inheritance diagram for core.tools.cpplint.CleansedLines:
Collaboration diagram for core.tools.cpplint.CleansedLines:

Public Member Functions

def __init__
 
def NumLines
 

Public Attributes

 elided
 
 lines
 
 raw_lines
 
 num_lines
 
 lines_without_raw_strings
 

Detailed Description

Holds 3 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, and
3) raw_lines member contains all the lines without processing.
All these three members are of <type 'list'>, and of the same length.

Constructor & Destructor Documentation

def core.tools.cpplint.CleansedLines.__init__ (   self,
  lines 
)

Member Function Documentation

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

References core.tools.cpplint.CleansedLines.num_lines.

Member Data Documentation

core.tools.cpplint.CleansedLines.elided
core.tools.cpplint.CleansedLines.lines
core.tools.cpplint.CleansedLines.lines_without_raw_strings
core.tools.cpplint.CleansedLines.num_lines
core.tools.cpplint.CleansedLines.raw_lines

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