NAME

Text::TokenStream::Types - types used by Text::TokenStream et al

SYNOPSIS

use Text::TokenStream::Types qw(Stream);

TYPES

Identifier

A string that matches internal-identifier syntax: non-empty, contains only qr/\w/a characters, and doesn't start with a digit.

Lexer

An instance of Text::TokenStream::Lexer.

LexerRule

A RegexpRef or a string.

Position

An alias for 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.

AUTHOR

Aaron Crane, <arc@cpan.org>

COPYRIGHT

Copyright 2021 Aaron Crane.

LICENCE

This library is free software and may be distributed under the same terms as perl itself. See http://dev.perl.org/licenses/.