Interface ICOperatorFactory
Builder for C AST operators.
-
Method Summary
Modifier and TypeMethodDescriptioncreateCastOperator(ICType casttype) Create a cast operator.createCustomOperator(String name, int opcount) Create a custom, function-like operator.get(COperatorType optype) Retrieve a regular operator by type, ie one that is neither CAST nor CUSTOM.
-
Method Details
-
get
Retrieve a regular operator by type, ie one that is neither CAST nor CUSTOM.- Parameters:
optype-- Returns:
-
createCastOperator
Create a cast operator.- Parameters:
casttype-- Returns:
-
createCustomOperator
Create a custom, function-like operator.- Parameters:
name- custom operator, should be like __xxx__opcount- 1..3 operand(s)- Returns:
-