Class NativeCall

    • Constructor Detail

      • NativeCall

        protected NativeCall​(CFG cfg,
                             CodeLocation location,
                             java.lang.String constructName,
                             Expression... parameters)
        Builds the untyped native call, happening at the given location in the program. The static type of this call is Untyped.
        Parameters:
        cfg - the cfg that this expression belongs to
        location - the location where the expression is defined within the source file. If unknown, use null
        constructName - the name of the construct invoked by this native call
        parameters - the parameters of this call
      • NativeCall

        protected NativeCall​(CFG cfg,
                             CodeLocation location,
                             java.lang.String constructName,
                             Type staticType,
                             Expression... parameters)
        Builds the native call, happening at the given location in the program.
        Parameters:
        cfg - the cfg that this expression belongs to
        location - the location where this expression is defined within the source file. If unknown, use null
        constructName - the name of the construct invoked by this native call
        staticType - the static type of this call
        parameters - the parameters of this call
    • Method Detail

      • getConstructName

        public final java.lang.String getConstructName()
        Yields the CFG that is targeted by this CFG call.
        Returns:
        the target CFG
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Call
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Call
      • toString

        public final java.lang.String toString()
        Specified by:
        toString in class Statement