Skip to content

Syntax Extension: Use of this in Tokenize Handlers #54

Answered by wooorm
benrbray asked this question in Q&A
Discussion options

You must be logged in to vote

Typically this refers to a Tokenizer.

But, in JavaScript this is “just” an extra (somewhat magic) parameter. In TypeScript it’s more tied to classes.
micromark is quite complex; this will mean different things in different places

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@benrbray
Comment options

@wooorm
Comment options

@benrbray
Comment options

@wooorm
Comment options

Answer selected by benrbray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants