Skip to content

FunctionSymbol#

Experimental API

The API here is still experimental, and may change in follow-up release. Use it at your own risk.

Represents a function or a method in the current file More...

import Script

Properties#

Name
vector<FunctionArgument> arguments
TextRange range
string returnType

Property Documentation#

vector<FunctionArgument> arguments#

Returns the list of arguments being passed to this function.

TextRange range#

The range enclosing this function, not including leading/trailing whitespace but everything else like comments.

string returnType#

Returns the return type of this function.