Skip to content

A Babel plugin that marks CallExpression AST nodes which are tail calls and/or proper tail calls.

License

Notifications You must be signed in to change notification settings

Floofies/marktail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

marktail

NPM

A Babel plugin that marks CallExpression AST nodes which are tail calls and/or proper tail calls.

Two properties are added to CallExpression nodes, tailCall and properTailCall.

  • If tailCall is set to true then the CallExpression is in tail position.

  • If properTailCall is set to true then the CallExpression is both in tail position and is a "Proper Tail Call".

This plugin is designed to be used with your own plugins which look for the tailCall and properTailCall properties within any CallExpression AST node.

About

A Babel plugin that marks CallExpression AST nodes which are tail calls and/or proper tail calls.

Topics

Resources

License

Stars

Watchers

Forks

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy