Text::TokenStream::Types - types used by Text::TokenStream et al
use Text::TokenStream::Types qw(Stream);
Identifier
A string that matches internal-identifier syntax: non-empty, contains only qr/\w/a characters, and doesn't start with a digit.
qr/\w/a
Lexer
An instance of Text::TokenStream::Lexer.
LexerRule
A RegexpRef or a string.
RegexpRef
Position
An alias for PositiveOrZeroInt.
PositiveOrZeroInt
Stream
An instance that composes Text::TokenStream::Role::Stream.
Token
An instance of Text::TokenStream::Token.
TokenClass
The name of a class that inherits from Text::TokenStream::Token.
TokenStream
An instance of Text::TokenStream.
Aaron Crane, <arc@cpan.org>
Copyright 2021 Aaron Crane.
This library is free software and may be distributed under the same terms as perl itself. See http://dev.perl.org/licenses/.
To install Text::TokenStream, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::TokenStream
CPAN shell
perl -MCPAN -e shell install Text::TokenStream
For more information on module installation, please visit the detailed CPAN module installation guide.