diff --git a/experimental/piranha_playground/data_validation.py b/experimental/piranha_playground/data_validation.py index 328142f76..8718fa22e 100644 --- a/experimental/piranha_playground/data_validation.py +++ b/experimental/piranha_playground/data_validation.py @@ -15,7 +15,7 @@ from piranha_playground.rule_inference.utils.pretty_toml import PrettyTOML from piranha_playground.rule_inference.utils.rule_utils import RawRuleGraph -LANGUAGES = ["kt", "java", "go", "swift"] +LANGUAGES = ["kt", "java", "go", "swift", "tsx"] @attr.s diff --git a/experimental/piranha_playground/rule_inference/template_parser.py b/experimental/piranha_playground/rule_inference/template_parser.py index 16638bda5..4646ced4c 100644 --- a/experimental/piranha_playground/rule_inference/template_parser.py +++ b/experimental/piranha_playground/rule_inference/template_parser.py @@ -26,6 +26,7 @@ class TemplateParser: "go": "comment", "kt": "comment", "swift": "comment", + "tsx":"comment" } template_holes = attr.ib(default=attr.Factory(dict)) diff --git a/experimental/piranha_playground/templates/index.html b/experimental/piranha_playground/templates/index.html index 7f8cb0f2c..0cdf00a15 100644 --- a/experimental/piranha_playground/templates/index.html +++ b/experimental/piranha_playground/templates/index.html @@ -28,6 +28,7 @@

Piranha Inference Playground

+