Skip to content

Forgiving binding parser #45

@tscpp

Description

@tscpp

The current binding parser currently uses acorn and will fail if the binding doesn't have valid object syntax.

The below example will make the parser crash because it expected the property "text" to have a value.

<div data-bind="text: "></div>

This will cause the analyzer and other language features not working while writing code, and the analyzer not to spit out any other errors than parsing errors if a single binding is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions