编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 cairo the cairofillrule classphp cairo the cairooperator classphp cairo the cairosvgversion classphp 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 uopz 函数 get or set flags on function or classphp parle parser consume the data for processingphp parle rlexer define token callbackphp parle rparser add a grammar rulephp parle stack pop an item from the stackphp parle stack push an item into the stackphp reflectionclassconstant gets the class constant modifiers
关注编程学问公众号
编程学问网 湘ICP备20001732号