Class JS.Alias

java.lang.Object
org.openrewrite.javascript.tree.JS.Alias
All Implemented Interfaces:
org.openrewrite.java.tree.Expression, org.openrewrite.java.tree.J, JS, org.openrewrite.Tree
Enclosing interface:
JS

public static final class JS.Alias extends Object implements JS, org.openrewrite.java.tree.Expression
  • Constructor Details

    • Alias

      public Alias()
  • Method Details

    • getPropertyName

      public org.openrewrite.java.tree.J.Identifier getPropertyName()
    • withPropertyName

      public JS.Alias withPropertyName(org.openrewrite.java.tree.J.Identifier propertyName)
    • acceptJavaScript

      public <P> org.openrewrite.java.tree.J acceptJavaScript(JavaScriptVisitor<P> v, P p)
      Specified by:
      acceptJavaScript in interface JS
    • getType

      public @Nullable org.openrewrite.java.tree.JavaType getType()
      Specified by:
      getType in interface org.openrewrite.java.tree.Expression
    • withType

      public JS.Alias withType(@Nullable org.openrewrite.java.tree.JavaType type)
      Specified by:
      withType in interface org.openrewrite.java.tree.Expression
    • getCoordinates

      public org.openrewrite.java.tree.CoordinateBuilder.Expression getCoordinates()
      Specified by:
      getCoordinates in interface org.openrewrite.java.tree.Expression
    • getPadding

      public JS.Alias.Padding getPadding()