Interface ICOperatorFactory


@Ser public interface ICOperatorFactory
Builder for C AST operators.
  • Method Details

    • get

      Retrieve a regular operator by type, ie one that is neither CAST nor CUSTOM.
      Parameters:
      optype -
      Returns:
    • createCastOperator

      ICOperator createCastOperator(ICType casttype)
      Create a cast operator.
      Parameters:
      casttype -
      Returns:
    • createCustomOperator

      ICOperator createCustomOperator(String name, int opcount)
      Create a custom, function-like operator.
      Parameters:
      name - custom operator, should be like __xxx__
      opcount - 1..3 operand(s)
      Returns: