Interface VariableResolver


public interface VariableResolver
An interface to resolve a variable name to a constant object. This is used as a way to resolve a variable into a value to use in an expression.
Author:
Tobias Downer
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(Variable variable)
    Returns the value of a given variable.
    Returns the TType of object the given variable is.
    int
    A number that uniquely identifies the current state of the variable resolver.
  • Method Details

    • setID

      int setID()
      A number that uniquely identifies the current state of the variable resolver. This typically returns the row_index of the table we are resolving variables on.
    • resolve

      TObject resolve(Variable variable)
      Returns the value of a given variable.
    • returnTType

      TType returnTType(Variable variable)
      Returns the TType of object the given variable is.