languages/java/debugger/jdbparser.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
#ifndef _JDBPARSER_H_
00019
#define _JDBPARSER_H_
00020
00021
#include "variablewidget.h"
00022
00023
namespace JAVADebugger
00024 {
00025
00029 class JDBParser
00030 {
00031
public:
00032
JDBParser();
00033
~JDBParser();
00034
00035
void parseData(
TrimmableItem *parent,
char *buf,
00036
bool requested,
bool params);
00037 DataType
determineType(
char *buf)
const;
00038
00039
char *
skipString(
char *buf)
const;
00040
char *
skipQuotes(
char *buf,
char quote)
const;
00041
char *
skipDelim(
char *buf,
char open,
char close)
const;
00042
00043
private:
00044
TrimmableItem *
getItem(
TrimmableItem *parent, DataType itemType,
00045
const QString &varName,
bool requested);
00046
00047
void parseArray(
TrimmableItem *parent,
char *buf);
00048
00049
char *
skipTokenEnd(
char *buf)
const;
00050
char *
skipTokenValue(
char *buf)
const;
00051
char *
skipNextTokenStart(
char *buf)
const;
00052
00053
QString getName(
char **buf);
00054
QCString getValue(
char **buf,
bool requested);
00055
void setItem(
TrimmableItem *parent,
const QString &varName, DataType dataType,
00056
const QCString &value,
bool requested,
bool params);
00057 };
00058
00059 }
00060
00061
#endif
This file is part of the documentation for KDevelop Version 3.0.4.