Search for usage in LXR

#include <lexer.h>

Public Types

enum  Tokens {
  Tok_none, Tok_exec = 256, Tok_pass, Tok_delCmd,
  Tok_ping, Tok_str, Tok_num, Tok_stop,
  Tok_set, Tok_get, Tok_delVar, Tok_delGroup,
  Tok_host, Tok_prio, Tok_sched, Tok_getKeys,
  Tok_chkGroup, Tok_delSpecialKey, Tok_exit

Public Member Functions

 Lexer (const Lexer &)=delete
 Lexer (const QByteArray &input)
int lex ()
QByteArraylval ()
Lexeroperator= (const Lexer &)=delete

Detailed Description

This is a lexer for the kdesud protocol.

Definition at line 16 of file lexer.h.

Member Function Documentation

◆ lex()

int Lexer::lex ( )

Read next token.

Definition at line 37 of file lexer.cpp.

◆ lval()

QByteArray & Lexer::lval ( )

Return the token's value.

Definition at line 27 of file lexer.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Sep 27 2023 03:48:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.