Source Code (Use browser search to find items of interest.)
Class Index
kdelibs'HlAdaDec (./kdelibs/kwrite/highlight.h:209)
class HlAdaDec : public HlItemWw {
public:
HlAdaDec(int attribute, int context);
virtual const QChar *checkHgl(const QChar *);
};
//ada base n
kdelibs'HlAdaDec::HlAdaDec() (./kdelibs/kwrite/highlight.cpp:604)
HlAdaDec::HlAdaDec(int attribute, int context)
: HlItemWw(attribute,context) {
}
kdelibs'HlAdaDec::checkHgl() (./kdelibs/kwrite/highlight.cpp:608)
const QChar *HlAdaDec::checkHgl(const QChar *s) {
const QChar *str;
if (*s >= '0' && *s <= '9') {
s++;
while ((*s >= '0' && *s <= '9') || *s == '_') s++;
if (*s != 'e' && *s != 'E') return s;
s++;
str = s;
while ((*s >= '0' && *s <= '9') || *s == '_') s++;
if (s > str) return s;
}
return 0L;
}