Search results for "module:PPI::Token::Whitespace"
PPI::Token::Whitespace - Tokens representing ordinary white space
As a full "round-trip" parser, PPI records every last byte in a file and ensure that it is included in the PPI::Document object. This even includes whitespace. In fact, Perl documents are seen as "floating in a sea of whitespace", and thus any docume...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI - Parse, Analyze and Manipulate Perl (without perl)
About this Document This is the PPI manual. It describes its reason for existing, its general structure, its use, an overview of the API, and provides a few implementation samples. Background The ability to read, and manipulate Perl (the language) pr...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Node - Abstract PPI Node class, an Element that can contain other Elements
The "PPI::Node" class provides an abstract base class for the Element classes that are able to contain other elements PPI::Document, PPI::Statement, and PPI::Structure. As well as those listed below, all of the methods that apply to PPI::Element obje...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Dumper - Dumping of PDOM trees
The PDOM trees in PPI are quite complex, and getting a dump of their structure for development and debugging purposes is important. This module provides that functionality. The process is relatively simple. Create a dumper object with a particular se...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Element - The abstract Element class, a base for all source objects
The abstract "PPI::Element" serves as a base class for all source-related objects, from a single whitespace token to an entire document. It provides a basic set of methods to provide a common interface and basic implementations....
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Tokenizer - The Perl Document Tokenizer
PPI::Tokenizer is the class that provides Tokenizer objects for use in breaking strings of Perl source code into Tokens. By the time you are reading this, you probably need to know a little about the difference between how perl parses Perl "code" and...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Prettify - A Perl HTML pretty printer to use with Google prettify CSS skins, no JavaScript required!
This module takes a string Perl code sample and returns the tokens of the code surrounded with <span> tags. The class attributes are the same used by the prettify.js <https://code.google.com/p/google-code-prettify/>. Using PPI::Prettify you can gener...
SILLYMOOS/PPI-Prettify-0.07 - 16 Aug 2014 14:42:58 UTC
PPI::Token::HereDoc - Token class for the here-doc
Here-docs are incredibly handy when writing Perl, but incredibly tricky when parsing it, primarily because they don't follow the general flow of input. They jump ahead and nab lines directly off the input buffer. Whitespace and newlines may not matte...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Token::End - Completely useless content after the __END__ tag
If you've read PPI::Token::Whitespace, you should understand by now the concept of documents "floating in a sea of PPI::Token::Whitespace". Well it doesn't after the __END__ tag. Once you __END__, it's all over. Anything after that tag isn't even fit...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Token::BOM - Tokens representing Unicode byte order marks
This is a special token in that it can only occur at the beginning of documents. If a BOM byte mark occurs elsewhere in a file, it should be treated as PPI::Token::Whitespace. We recognize the byte order marks identified at this URL: <http://www.unic...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
App::PPI::Dumper - Use the PPI to dump the structure of a Perl file
Parse a Perl document with PPI and dump the Perl Document Object Model (PDOM). This script is a command-line interface to PPI::Dumper. Methods run( OPTIONS, INPUT_FILE ) Parse INPUT_FILE with the given PPI::Dumper options, then print the result to st...
BDFOY/App-PPI-Dumper-1.024 - 22 Jan 2024 18:00:54 UTC
PPI::Token::Comment - A comment in Perl source code
In PPI, comments are represented by "PPI::Token::Comment" objects. These come in two flavours, line comment and inline comments. A "line comment" is a comment that stands on its own line. These comments hold their own newline and whitespace (both lea...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
PPI::Token::Prototype - A subroutine prototype descriptor
Although it sort of looks like a list or condition, a subroutine prototype is a lot more like a string. Its job is to provide hints to the perl compiler on what type of arguments a particular subroutine expects, which the compiler uses to validate pa...
OALDERS/PPI-1.278 - 11 Mar 2024 02:22:07 UTC
Devel::REPL::Plugin::PPI - PPI dumping of Perl code
This plugin provides a "ppi" command that uses PPI::Dumper to dump PPI-parsed Perl documents. The code is not actually executed, which means that when used with Deve::REPL::Plugin::OutputCache there is no new value in "_"....
ETHER/Devel-REPL-1.003029 - 28 May 2022 03:34:49 UTC