Code analysis

Finds where a name was declared

Only ever in a file of the request. A name declared elsewhere - by the framework, say - is answered with no file.

post/lambdas/{privateKey}/code/definition

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/code/definition
  • Auth: none declared

Path parameters

privateKeystring required

The editor key of the lambda. Holding it is what allows the call.

Request body

Filestring nullable

The file a question about one file is about; left out, the first

Lineinteger

The line of the position, counting from zero

Columninteger

The column of the position, counting from zero

Response

Where the name was declared, or no file where that is in none of them

Filestring nullable

The file it was declared in; absent where it was not declared in any file of the request

Lineinteger

The line of the declaration, counting from zero

Columninteger

The column the declared name starts at, counting from zero

Lengthinteger

How many characters the declared name spans

Changes

No recorded changes to this operation across all 1 revision of this API.