KDevelop API Documentation

PythonIndent Class Reference

#include <python_indent.h>

Inheritance diagram for PythonIndent:

QEditorIndenter QTextIndent 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.

References PythonIndent().

Referenced by PythonIndent().

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(), indentForLine(), rxHeaderKeyword, rxLineEndedWithAColon, rxOneLinerStmt, rxStopExecutionStmt, ParagData::symbolList(), and Symbol::type().

Referenced by indentForLine().


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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:28 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003