bass/core/evaluate.cpp
//calculates the number of parameters to a function without evaluating its arguments yet
calculates the number of parameters to a function without evaluating its arguments yet
calculates the number of parameters to a function without evaluating its arguments yet
auto Bass::quantifyParameters(Eval::Node* node) -> int64_t {
  if(node->type == Eval::Node::Type::Null) return 0;
  if(node->type == Eval::Node::Type::Separator) return node->link.size();
  return 1;  
}
auto Bass :: quantifyParameters ( Eval :: Node * node ) -> int64_t { if ( node -> type == Eval :: Node :: Type :: Null ) return 0 ; if ( node -> type == Eval :: Node :: Type :: Separator ) return node -> link . size ( ) ; return 1 ; }
calculates the number of parameters to a function without evaluating its arguments yet
calculates the number of parameters to a function without evaluating its arguments yet
//any other type here signifies one argument