getFunction method

ASTFunctionDeclaration? getFunction(
  1. String fName,
  2. ASTFunctionSignature parametersSignature,
  3. VMContext context, {
  4. bool caseInsensitive = false,
})

Implementation

ASTFunctionDeclaration? getFunction(
  String fName,
  ASTFunctionSignature parametersSignature,
  VMContext context, {
  bool caseInsensitive = false,
}) {
  var set = getFunctionWithName(fName, caseInsensitive: caseInsensitive);
  if (set != null) return set.get(parametersSignature, false);

  var fExternal =
      context.getMappedExternalFunction(fName, parametersSignature);

  return fExternal;
}