Skip to content

invocation expression

Cameron Purdy edited this page Apr 8, 2020 · 2 revisions

Description coming soon.

This expression has four responsibilities:

  1. Selects the method or function that the expression a refers to;
  2. Optionally binds a method to a target reference;
  3. Optionally binds one or more parameters;
  4. Optionally calls the function.
    InvocationExpression
        PostfixExpression ( Argumentsopt )

    Arguments:
        Argument
        Arguments , Argument

    Argument:
        NamedArgumentopt ArgumentExpression

    ArgumentExpression:
        _
        < TypeExpression > _
        Expression

    NamedArgument:
        Name =