Class TSCSymbol

java.lang.Object
org.openrewrite.javascript.internal.tsc.TSCSymbol
All Implemented Interfaces:
TSCV8Backed

public class TSCSymbol extends Object implements TSCV8Backed
  • Field Details

    • symbolV8

      public final com.caoccao.javet.values.reference.V8ValueObject symbolV8
  • Constructor Details

    • TSCSymbol

      public TSCSymbol(TSCProgramContext programContext, com.caoccao.javet.values.reference.V8ValueObject symbolV8)
  • Method Details

    • getProgramContext

      public TSCProgramContext getProgramContext()
      Specified by:
      getProgramContext in interface TSCV8Backed
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getValueDeclaration

      @Nullable public TSCNode getValueDeclaration()
    • getDeclarations

      @Nullable public List<TSCNode> getDeclarations()
    • getSymbolFlags

      public int getSymbolFlags()
    • hasSymbolFlag

      public boolean hasSymbolFlag(TSCSymbolFlag flag)
    • listMatchingSymbolFlags

      public List<TSCSymbolFlag> listMatchingSymbolFlags()
      Only intended for debugging; this is slow.
    • getEscapedName

      public String getEscapedName()
    • getDebugInfo

      public org.openrewrite.javascript.internal.tsc.TSCSymbol.DebugInfo getDebugInfo()
      Specified by:
      getDebugInfo in interface TSCV8Backed
    • getBackingV8Object

      public com.caoccao.javet.values.reference.V8ValueObject getBackingV8Object()
      Specified by:
      getBackingV8Object in interface TSCV8Backed