• 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 161 of file internal.h.

Constructor & Destructor Documentation

◆ LabelStack() [1/2]

KJS::LabelStack::LabelStack ( )
inline

Definition at line 163 of file internal.h.

◆ ~LabelStack()

LabelStack::~LabelStack ( )

Definition at line 353 of file internal.cpp.

◆ LabelStack() [2/2]

LabelStack::LabelStack ( const LabelStack &  other)

Definition at line 294 of file internal.cpp.

Member Function Documentation

◆ contains()

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

Is the id in the stack?

Definition at line 332 of file internal.cpp.

◆ inIteration()

bool KJS::LabelStack::inIteration ( ) const
inline

Definition at line 185 of file internal.h.

◆ inSwitch()

bool KJS::LabelStack::inSwitch ( ) const
inline

Definition at line 189 of file internal.h.

◆ operator=()

LabelStack & LabelStack::operator= ( const LabelStack &  other)

Definition at line 300 of file internal.cpp.

◆ pop()

void LabelStack::pop ( )

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

Definition at line 344 of file internal.cpp.

◆ popIteration()

void KJS::LabelStack::popIteration ( )
inline

Definition at line 184 of file internal.h.

◆ popSwitch()

void KJS::LabelStack::popSwitch ( )
inline

Definition at line 188 of file internal.h.

◆ push()

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 320 of file internal.cpp.

◆ pushIteration()

void KJS::LabelStack::pushIteration ( )
inline

Definition at line 183 of file internal.h.

◆ pushSwitch()

void KJS::LabelStack::pushSwitch ( )
inline

Definition at line 187 of file internal.h.


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
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kjs by doxygen 1.9.4
This website is maintained by Timothy Pearson.