编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\RParser::validate
  • Parle\Stack::pop »
  • PHP Manual
  • Parle
  • The Parle\Stack class

The Parle\Stack class

(PECL parle >= 0.7.0)

简介

Parle\Stack is a LIFO stack. The elements are inserted and and removed only from one end.

类摘要

Parle\Stack {
/* 属性 */
public boolean $empty = TRUE ;
public integer $size = 0 ;
public mixed $top ;
/* 方法 */
public pop ( void ) : void
public push ( mixed $item ) : void
}

属性

empty

Whether the stack is empty, readonly.

size

Stack size, readonly.

top

Element on the top of the stack.

Table of Contents

  • Parle\Stack::pop — Pop an item from the stack
  • Parle\Stack::push — Push an item into the stack
相关文章
php data structures the stack classphp parle the parle errorinfo classphp parle the parle lexer classphp parle the parle lexerexception classphp parle the parle parser classphp parle the parle parserexception classphp parle the parle rlexer classphp parle the parle rparser classphp parle the parle stack classphp parle the parle token classphp stack creates a new instancephp uopz 函数 extend a class at runtimephp uopz 函数 sets value of existing class or instance propertyphp parle parser finalize the grammar rulesphp parle rlexer finalize the lexer rule setphp parle rparser declare a precedence rulephp parle stack pop an item from the stackphp parle stack push an item into the stackphp parle parle pattern matchingphp using phar archives using phar archives the phar and phardata class
关注编程学问公众号
编程学问网 湘ICP备20001732号