| @@ 2725-2736 (lines=12) @@ | ||
| 2722 | $this->seek($s); |
|
| 2723 | } |
|
| 2724 | ||
| 2725 | if ($this->literal("@function") && |
|
| 2726 | $this->keyword($fnName) && |
|
| 2727 | $this->argumentDef($args) && |
|
| 2728 | $this->literal("{")) |
|
| 2729 | { |
|
| 2730 | $func = $this->pushSpecialBlock("function"); |
|
| 2731 | $func->name = $fnName; |
|
| 2732 | $func->args = $args; |
|
| 2733 | return true; |
|
| 2734 | } else { |
|
| 2735 | $this->seek($s); |
|
| 2736 | } |
|
| 2737 | ||
| 2738 | if ($this->literal("@return") && $this->valueList($retVal) && $this->end()) { |
|
| 2739 | $this->append(array("return", $retVal), $s); |
|
| @@ 2789-2796 (lines=8) @@ | ||
| 2786 | $this->seek($s); |
|
| 2787 | } |
|
| 2788 | ||
| 2789 | if ($this->literal("@if") && $this->valueList($cond) && $this->literal("{")) { |
|
| 2790 | $if = $this->pushSpecialBlock("if"); |
|
| 2791 | $if->cond = $cond; |
|
| 2792 | $if->cases = array(); |
|
| 2793 | return true; |
|
| 2794 | } else { |
|
| 2795 | $this->seek($s); |
|
| 2796 | } |
|
| 2797 | ||
| 2798 | if (($this->literal("@debug") || $this->literal("@warn")) && |
|
| 2799 | $this->valueList($value) && |
|