Skip to content

Commit 17dbac3

Browse files
rishipalcopybara-github
authored andcommitted
Delete the node property TRANSPILED and stop serializing/deserializing it with TypedAST
PiperOrigin-RevId: 550607458
1 parent d17605a commit 17dbac3

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/com/google/javascript/rhino/Node.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ enum Prop {
173173
FEATURE_SET,
174174
// Indicates a TypeScript abstract method or class, for use in Migrants
175175
IS_TYPESCRIPT_ABSTRACT,
176-
// TODO: b/279241038 Delete this prop as it's no longer used.
177-
// Indicates that a SCRIPT represents a transpiled file
178-
TRANSPILED,
179176
// For passes that work only on deleted funs.
180177
DELETED,
181178
// Indicates that the node is an alias or a name from goog.require'd module or ES6

src/com/google/javascript/rhino/PropTranslator.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,6 @@ private static final void setProps() {
143143
return NodeProperty.COMPUTED_PROP_VARIABLE;
144144
case GOOG_MODULE:
145145
return NodeProperty.GOOG_MODULE;
146-
case TRANSPILED:
147-
// TODO: b/279241038 Delete this prop as it's no longer used.
148-
return NodeProperty.TRANSPILED;
149146
case MODULE_ALIAS:
150147
return NodeProperty.MODULE_ALIAS;
151148
case MODULE_EXPORT:

src/com/google/javascript/rhino/typed_ast/typed_ast.proto

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@ enum NodeProperty {
364364
// Indicates that a SCRIPT node is a goog.module. Remains set after the
365365
// goog.module is desugared.
366366
GOOG_MODULE = 30;
367-
// Indicates that a SCRIPT represents a transpiled file
368-
// TODO: b/279241038 Delete this prop as it's no longer used.
369-
TRANSPILED = 34;
370367
// For passes that work only on deleted funs.
371368
DELETED = 35;
372369
// Indicates that the node is an alias or a name from goog.require'd module or

0 commit comments

Comments
 (0)