Interface UsedDefinedVars

All Known Implementing Classes:
FastFunItree

public interface UsedDefinedVars
Provides access to used/defined local vars in a fun.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the set of local vars defined in the fun.
    Returns the set of free local vars of the fun.
    Returns the content for the local var.
    default boolean
    isUsed(Lvar lvar)
    Whether the lvar is used in the fun.
    Returns the set of local vars used in the fun.
  • Method Details

    • usedLvars

      Set<Lvar> usedLvars()
      Returns the set of local vars used in the fun.
      Returns:
      the set of local vars used in the fun.
    • definedLvars

      Set<Lvar> definedLvars()
      Returns the set of local vars defined in the fun.
      Returns:
      the set of local vars defined in the fun.
    • freeLvars

      Set<Lvar> freeLvars()
      Returns the set of free local vars of the fun.
      Returns:
      the set of free local vars of the fun.
    • isUsed

      default boolean isUsed(Lvar lvar)
      Whether the lvar is used in the fun.
      Parameters:
      lvar - the local var to test.
      Returns:
      whether the lvar is used in the fun.
    • getContent

      LvarContent getContent(Lvar lvar)
      Returns the content for the local var.
      Parameters:
      lvar - the local var.
      Returns:
      the content for the local var.