Patent Document ID: 10162605
Application ID: 15249244

Base Claim:
1. A system to complete a code snippet to define an object literal, the system comprising: memory; and one or more processors coupled to the memory, the one or more processors configured to: provide a proxy object to a function that is included in code; perform global dynamic analysis by using a getter trap that is included in the proxy object to extract information regarding one or more properties of the object literal from the code, which includes the function; and generate a recommendation that recommends content for completion of the code snippet to define the object literal based at least in part on the information, the content identifying the one or more properties of the object literal.

---

Claim 8:
8. The system of claim 1 , wherein the one or more processors are configured to perform the global dynamic analysis by using the getter trap, which is included in the proxy object, to extract information regarding at least one property of the one or more properties of the object literal from one or more definitions of one or more dynamic properties that are included in the function, the one or more definitions of the one or more dynamic properties indicating the at least one property.