public function Parse()
 {
     parent::Parse();
     $pp = $this->pawnParser;
     // Serves the purpose of $pp->Jump(1), but saves to $raw
     $this->_ReadChar($pp, true);
     if ($this->_ReadChar($pp) == '/') {
         $this->type = self::PAWNCOMMENT_TYPE_SINGLELINE;
     } else {
         $this->type = self::PAWNCOMMENT_TYPE_MULTILINE;
     }
     $lastChar = "";
     while (($char = $this->_ReadChar($pp)) !== false) {
         if ($this->type == self::PAWNCOMMENT_TYPE_SINGLELINE && $char == "\n") {
             break;
         } else {
             if ($lastChar . $char == '*/') {
                 $this->text = substr($this->text, 0, -1);
                 break;
             }
         }
         $this->text .= $char;
         $lastChar = $char;
     }
     $this->lineEnd = $pp->GetLine();
     // Parse tags for multi-line comments
     if ($this->type == self::PAWNCOMMENT_TYPE_MULTILINE) {
         $this->ParseTags();
     }
 }
 public function Parse()
 {
     parent::Parse();
     $this->ParseType();
     $this->ParseName();
     $this->ParseBody();
     $this->pawnParser->Jump(1);
 }
 public function Parse()
 {
     parent::Parse();
     $pp = $this->pawnParser;
     // We don't handle variables for now, so let's just skip this line.
     fgets($pp->GetHandle());
     $pp->Jump(-1);
 }
 public function Parse()
 {
     parent::Parse();
     // We don't want to handle this element.
     while (($char = $this->pawnParser->ReadChar(false)) !== false) {
         if ($char == ';') {
             break;
         }
     }
 }
 public function Parse()
 {
     parent::Parse();
     $pp = $this->pawnParser;
     $this->line = $pp->GetLine();
     $head = "";
     while (($char = $pp->ReadChar()) !== false) {
         if ($char === '(') {
             break;
         }
         $head .= $char;
     }
     $this->ParseTypes($head);
     $this->ParseReturnType($head);
     $this->ParseName($head);
     $this->ParseArguments();
     $this->ParseBody();
 }
 public function Parse()
 {
     parent::Parse();
     $pp = $this->pawnParser;
     $this->name = '';
     $pp->Jump(7);
     $pp->SkipWhiteSpace();
     while (($char = $pp->ReadChar()) !== false) {
         if ($pp->IsSpace($char)) {
             $pp->Jump(-1);
             break;
         }
         $this->name .= $char;
     }
     $pp->SkipWhiteSpace();
     $char = $pp->ReadChar(true, true);
     if ($char != '/' && !$pp->IsSpace($char)) {
         $this->value = $pp->ReadToEndOfLine();
     }
 }