Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Salesforce by (11.9k points)

I'd like to find out exact APEX language specification (with all that grammars, etc.) but I've spent half a day and ended with almost nothing.

I know that APEX is Java-based language, but compiling it's spec on my own from Java spec and exclusively APEX things will be a pain.

Is there any place where I can get APEX language specification?

For those not familiar with them - I'm looking for a such document http://docs.oracle.com/javase/specs/jls/se7/html/index.html for it.

Thanks in advance!

1 Answer

0 votes
by (32.1k points)

According to my knowledge, Salesforce hasn't presently published such a document. Rather, they want you to use the Tooling API to get the tokens etc...

See Grammar for creating an Apex parser

Unexpectedly, the Salesforce StackExchange site linked above is a great place to ask Salesforce specific questions.

Related questions

0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
asked Dec 22, 2020 in Salesforce by dante07 (13.1k points)
0 votes
1 answer

Browse Categories

...