Class Vertex

java.lang.Object
com.ibm.wala.cast.js.callgraph.fieldbased.flowgraph.vertices.Vertex
Direct Known Subclasses:
ArgVertex, CallVertex, CreationSiteVertex, FuncVertex, GlobalVertex, LexicalVarVertex, ParamVertex, PropVertex, PrototypeFieldVertex, ReflectiveCallVertex, RetVertex, UnknownVertex, VarVertex

public abstract class Vertex extends Object
Class representing a flow graph vertex. Vertices should never be instantiated directly, but rather generated through a VertexFactory.
Author:
mschaefer
  • Constructor Details

    • Vertex

      public Vertex()
  • Method Details

    • accept

      public abstract <T> T accept(VertexVisitor<T> visitor)
    • toSourceLevelString

      public String toSourceLevelString(IAnalysisCacheView cache)
      If possible, returns a String representation of this that refers to source-level entities rather thatn WALA-internal ones (e.g., source-level variable names rather than SSA value numbers). By default, just returns the results of Object.toString()