From 4459fb54c54211cb43795ab662aa31d04e7e9ed4 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sun, 10 Sep 2017 21:12:01 +0000 Subject: [PATCH] Document Parle\Stack git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343061 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/parle/book.xml | 1 + reference/parle/parle.stack.xml | 3 ++- reference/parle/parle/stack/empty.xml | 9 +++------ reference/parle/parle/stack/pop.xml | 7 ++----- reference/parle/parle/stack/push.xml | 11 ++++------- reference/parle/parle/stack/size.xml | 7 ++----- reference/parle/parle/stack/top.xml | 13 +++++-------- 7 files changed, 19 insertions(+), 32 deletions(-) diff --git a/reference/parle/book.xml b/reference/parle/book.xml index 61dd17f9a2..68fcf6291a 100644 --- a/reference/parle/book.xml +++ b/reference/parle/book.xml @@ -22,6 +22,7 @@ &reference.parle.parle.token; &reference.parle.parle.parser; &reference.parle.parle.errorinfo; + &reference.parle.parle.stack; &reference.parle.parle.lexerexception; &reference.parle.parle.parserexception; diff --git a/reference/parle/parle.stack.xml b/reference/parle/parle.stack.xml index 05e40919c0..3c79e46aef 100644 --- a/reference/parle/parle.stack.xml +++ b/reference/parle/parle.stack.xml @@ -41,7 +41,8 @@ - &reference.parle.entities.parle-stack; + + &reference.parle.parle.entities.stack; diff --git a/reference/parle/parle/stack/empty.xml b/reference/parle/parle/stack/empty.xml index 9ef0c8eb20..45cf4fe9be 100644 --- a/reference/parle/parle/stack/empty.xml +++ b/reference/parle/parle/stack/empty.xml @@ -4,7 +4,7 @@ Parle\Stack::empty - Description + Check whether the stack is empty @@ -14,11 +14,8 @@ - + - - &warn.undocumented.func; - @@ -29,7 +26,7 @@ &reftitle.returnvalues; - + Returns &boolean;. diff --git a/reference/parle/parle/stack/pop.xml b/reference/parle/parle/stack/pop.xml index 19f145095e..7b4c629129 100644 --- a/reference/parle/parle/stack/pop.xml +++ b/reference/parle/parle/stack/pop.xml @@ -4,7 +4,7 @@ Parle\Stack::pop - Description + Pop an item from the stack @@ -16,9 +16,6 @@ - - &warn.undocumented.func; - @@ -29,7 +26,7 @@ &reftitle.returnvalues; - + &return.void; diff --git a/reference/parle/parle/stack/push.xml b/reference/parle/parle/stack/push.xml index 361bef8fd7..1292b16413 100644 --- a/reference/parle/parle/stack/push.xml +++ b/reference/parle/parle/stack/push.xml @@ -4,21 +4,18 @@ Parle\Stack::push - Description + Push an item into the stack &reftitle.description; public voidParle\Stack::push - stringitem + mixeditem - - &warn.undocumented.func; - @@ -28,7 +25,7 @@ item - + Variable to be pushed. @@ -38,7 +35,7 @@ &reftitle.returnvalues; - + &return.void; diff --git a/reference/parle/parle/stack/size.xml b/reference/parle/parle/stack/size.xml index 9df678afd1..463f9b2306 100644 --- a/reference/parle/parle/stack/size.xml +++ b/reference/parle/parle/stack/size.xml @@ -4,7 +4,7 @@ Parle\Stack::size - Description + Retrieve the stack size @@ -16,9 +16,6 @@ - - &warn.undocumented.func; - @@ -29,7 +26,7 @@ &reftitle.returnvalues; - + Returns &integer; representing the item number in the stack. diff --git a/reference/parle/parle/stack/top.xml b/reference/parle/parle/stack/top.xml index 6ec3b8702d..c4900f9063 100644 --- a/reference/parle/parle/stack/top.xml +++ b/reference/parle/parle/stack/top.xml @@ -4,21 +4,18 @@ Parle\Stack::top - Description + Retrieve or replace the stack top &reftitle.description; - public voidParle\Stack::top - stringnew_top + public mixedParle\Stack::top + mixednew_top - - &warn.undocumented.func; - @@ -28,7 +25,7 @@ new_top - + The item which is to replace the stack top. @@ -38,7 +35,7 @@ &reftitle.returnvalues; - + If no argiments are passed, returns the current top. Otherwise, if a replacement is given, returns &null;.