UseAs is a helper function to allow a node to be used as a different Node in operators. For example, a variable is really just a "string", so having the Equality operator check for "String" or "StringVar" is just excessive. Instead, we can just have the variable implement this function.
()
| 11 | // having the Equality operator check for "String" or "StringVar" is just |
| 12 | // excessive. Instead, we can just have the variable implement this function. |
| 13 | UseAs() Node |
| 14 | } |
| 15 | |
| 16 | // BooleanNode is a node that returns a true/false when evaluated. |
no outgoing calls
no test coverage detected