KDevelop API Documentation

Symbol Class Reference

#include <paragdata.h>

Collaboration diagram for Symbol:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { Left, Right }

Public Member Functions

 Symbol ()
 Symbol (int tp, const QChar &ch, int pos)
 Symbol (const Symbol &source)
Symboloperator= (const Symbol &source)
bool operator== (const Symbol &p) const
int type () const
QChar ch () const
int pos () const

Private Attributes

int m_tp
QChar m_ch
int m_pos

Member Enumeration Documentation

enum Symbol::Type
 

Enumeration values:
Left 
Right 

Definition at line 35 of file paragdata.h.


Constructor & Destructor Documentation

Symbol::Symbol  )  [inline]
 

Definition at line 36 of file paragdata.h.

Symbol::Symbol int  tp,
const QChar ch,
int  pos
[inline]
 

Definition at line 38 of file paragdata.h.

Symbol::Symbol const Symbol source  )  [inline]
 

Definition at line 44 of file paragdata.h.


Member Function Documentation

QChar Symbol::ch  )  const [inline]
 

Definition at line 62 of file paragdata.h.

Referenced by ParenMatcher::checkClosedParen(), ParenMatcher::checkOpenParen(), JSColorizer::computeLevel(), JavaColorizer::computeLevel(), CSharpColorizer::computeLevel(), and CppColorizer::computeLevel().

Symbol& Symbol::operator= const Symbol source  )  [inline]
 

Definition at line 50 of file paragdata.h.

References m_ch, m_pos, and m_tp.

bool Symbol::operator== const Symbol p  )  const [inline]
 

Definition at line 57 of file paragdata.h.

References m_ch, m_pos, and m_tp.

int Symbol::pos  )  const [inline]
 

Definition at line 63 of file paragdata.h.

Referenced by ParenMatcher::checkClosedParen(), and ParenMatcher::checkOpenParen().

int Symbol::type  )  const [inline]
 

Definition at line 61 of file paragdata.h.

Referenced by ParenMatcher::checkClosedParen(), ParenMatcher::checkOpenParen(), PythonIndent::indentForLine(), and PascalIndent::indentForLine().


Member Data Documentation

QChar Symbol::m_ch [private]
 

Definition at line 67 of file paragdata.h.

Referenced by operator=(), and operator==().

int Symbol::m_pos [private]
 

Definition at line 68 of file paragdata.h.

Referenced by operator=(), and operator==().

int Symbol::m_tp [private]
 

Definition at line 66 of file paragdata.h.

Referenced by operator=(), and operator==().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:48:35 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003