• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kjs
 

kjs

  • KJS
  • LabelStack
Public Member Functions | List of all members
KJS::LabelStack Class Reference

#include <internal.h>

Public Member Functions

 LabelStack (const LabelStack &other)
LabelStack & operator= (const LabelStack &other)
bool push (const Identifier &id)
bool contains (const Identifier &id) const
void pop ()
void pushIteration ()
void popIteration ()
bool inIteration () const
void pushSwitch ()
void popSwitch ()
bool inSwitch () const

Detailed Description

The "label set" in Ecma-262 spec.

Definition at line 162 of file internal.h.

Member Function Documentation

bool LabelStack::contains ( const Identifier &  id) const

Is the id in the stack?

Definition at line 333 of file internal.cpp.

void LabelStack::pop ( )

Removes from the stack the last pushed id (what else?)

Definition at line 345 of file internal.cpp.

bool LabelStack::push ( const Identifier &  id)

If id is not empty and is not in the stack already, puts it on top of the stack and returns true, otherwise returns false.

Definition at line 321 of file internal.cpp.


The documentation for this class was generated from the following files:
  • internal.h
  • internal.cpp

kjs

Skip menu "kjs"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kjs

Skip menu "kjs"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kjs by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |