Spec-Zone .ru
спецификации, руководства, описания, API
Spec-Zone .ru
спецификации, руководства, описания, API
Библиотека разработчика Mac Разработчик
Поиск

 

Эта страница руководства для  версии 10.9 Mac OS X

Если Вы выполняете различную версию  Mac OS X, просматриваете документацию локально:

Читать страницы руководства

Страницы руководства предназначаются как справочник для людей, уже понимающих технологию.

  • Чтобы изучить, как руководство организовано или узнать о синтаксисе команды, прочитайте страницу руководства для страниц справочника (5).

  • Для получения дополнительной информации об этой технологии, ищите другую документацию в Библиотеке Разработчика Apple.

  • Для получения общей информации о записи сценариев оболочки, считайте Shell, Пишущий сценарий Учебника для начинающих.



PPI::Token::Symbol(3)                User Contributed Perl Documentation               PPI::Token::Symbol(3)



NAME
       PPI::Token::Symbol - A token class for variables and other symbols

INHERITANCE
         PPI::Token::Symbol
         isa PPI::Token
             isa PPI::Element

DESCRIPTION
       The "PPI::Token::Symbol" class is used to cover all tokens that represent variables and other things
       that start with a sigil.

METHODS
       This class has several methods beyond what is provided by its PPI::Token and PPI::Element parent
       classes.

       Most methods are provided to help work out what the object is actually pointing at, rather than what
       it might appear to be pointing at.

   canonical
       The "canonical" method returns a normalized, canonical version of the symbol.

       For example, it converts "$ ::foo'bar::baz" to $main::foo::bar::baz.

       This does not fully resolve the symbol, but merely removes syntax variations.

   symbol
       The "symbol" method returns the ACTUAL symbol this token refers to.

       A token of $foo might actually be referring to @foo, if it is found in the form $foo[1].

       This method attempts to resolve these issues to determine the actual symbol.

       Returns the symbol as a string.

   raw_type
       The "raw_type" method returns the apparent type of the symbol in the form of its sigil.

       Returns the sigil as a string.

   symbol_type
       The "symbol_type" method returns the actual type of the symbol in the form of its sigil.

       Returns the sigil as a string.

SUPPORT
       See the support section in the main module.

AUTHOR
       Adam Kennedy <adamk@cpan.org>

COPYRIGHT
       Copyright 2001 - 2011 Adam Kennedy.

       This program is free software; you can redistribute it and/or modify it under the same terms as Perl
       itself.

       The full text of the license can be found in the LICENSE file included with this module.



perl v5.12.5                                     2011-02-25                            PPI::Token::Symbol(3)

Сообщение о проблемах

Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:

Ошибки содержания
Ошибки отчета в содержании этой документации к проекту Perl. (См. perlbug (1) для инструкций представления.)
Отчеты об ошибках
Сообщите об ошибках в функциональности описанного инструмента или API к Apple через Генератор отчетов Ошибки и к проекту Perl, использующему perlbug (1).
Форматирование проблем
Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.