Function handleCall

  • Tokenizes function calls and their arguments

    Returns

    data about the function call

    Parameters

    • heap: Heap

      Object containing defined function data

    • tokens: (Token | TreeNode)[]

      List of current tokens

    • exp: string[]

      the expression as an array

    • word: string

      the called function's name

    • profile: string[]
    • currentLine: number

      The current line number in the file

    • currentChar: number

      the current location in the expression

    • e: error

      The error data in case on gets thrown

    Returns handleCallReturn

Generated using TypeDoc