KDevelop API Documentation

PythonIndent Class Reference

#include <python_indent.h>

Inheritance diagram for PythonIndent:

Inheritance graph
[legend]
Collaboration diagram for PythonIndent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PythonIndent (QEditor *)
virtual ~PythonIndent ()
virtual int indentForLine (int)

Private Attributes

QRegExp rxLineEndedWithAColon
QRegExp rxStopExecutionStmt
QRegExp rxHeaderKeyword
QRegExp rxOneLinerStmt

Constructor & Destructor Documentation

PythonIndent::PythonIndent QEditor  ) 
 

Definition at line 26 of file python_indent.cpp.

PythonIndent::~PythonIndent  )  [virtual]
 

Definition at line 35 of file python_indent.cpp.


Member Function Documentation

int PythonIndent::indentForLine int   )  [virtual]
 

Implements QEditorIndenter.

Definition at line 39 of file python_indent.cpp.

References QEditor::document(), QEditorIndenter::editor(), QEditorIndenter::indentation(), QEditorIndenter::previousNonBlankLine(), rxHeaderKeyword, rxLineEndedWithAColon, rxOneLinerStmt, rxStopExecutionStmt, ParagData::symbolList(), and Symbol::type().


Member Data Documentation

QRegExp PythonIndent::rxHeaderKeyword [private]
 

Definition at line 38 of file python_indent.h.

Referenced by indentForLine().

QRegExp PythonIndent::rxLineEndedWithAColon [private]
 

Definition at line 36 of file python_indent.h.

Referenced by indentForLine().

QRegExp PythonIndent::rxOneLinerStmt [private]
 

Definition at line 39 of file python_indent.h.

Referenced by indentForLine().

QRegExp PythonIndent::rxStopExecutionStmt [private]
 

Definition at line 37 of file python_indent.h.

Referenced by indentForLine().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:28:40 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003