Skip to content

SyntaxTree and SyntaxWalker in new compiler #254

@ashwinr

Description

@ashwinr

Hi: tslint uses SyntaxTree and tree walkers extensively for implementing linter rules on top of the compiler (e.g. https://github.com/palantir/tslint/blob/master/src/rules/classNameRule.ts). It looks like the visitor pattern is not present in the new compiler (at least I couldn't find it in the master branch). But languageService-v2 still has it. Can someone please explain if the syntax tree will be present in the new compiler? Because otherwise tslint needs to completely rethink its existing rule implementations for the new compiler. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions