Whether before and after are the same program as far as the compiler can tell: the same
tokens, comments and the line breaks and adjacency the parser depends on. format_source
already checks its own output with this.
format_tokens_equivalent :: (
before: string,
after: string
) -> (ok: bool, why: string)
Whether before and after are the same program as far as the compiler can tell: the same
tokens, comments and the line breaks and adjacency the parser depends on. format_source
already checks its own output with this.
Parameters
- before: string
- after: string
Returns
- ok: bool
- why: string