Class declaration in a non-class-based programming environment
Abstract
Facilitating declaration of a class or function using a programming language that is not a class-based object-oriented programming (OOP) language is disclosed. A call to a function, defined using the programming language, that has a name that is a near variant of the reserved word “class” is received. In response to the call, a new function that includes, if applicable, the methods and variables of a parent function designated, using a syntax that is a near variant of a corresponding class-based OOP syntax, to be a super class of the new function and includes one or more methods, variables, or both designated, using a syntax that is a near variant of a corresponding class-based OOP syntax, to be implemented by the new function is defined programmatically.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 33 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of facilitating declaration of a class or function using a programming language that is not a class-based object-oriented programming (OOP) language, comprising: receiving at a processor a call to a function that is configured to cause a definition of a new function, defined using the programming language, wherein a syntax associated with a declaration of the function uses a name that is a near variant of the reserved word “class”; and defining programmatically, in response to the call, the new function that: inherits from, if applicable, the methods and variables of a parent function
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 8,413,128 B2 | Asynchronous load of source dependencies | 2013 | 1 |
| US 2012047497 A1 | Asynchronous load of source dependencies | — | 4 |
References Cited — Backward Prior Art (33)
Non-Patent Literature (5)
- Bryant et al, "Object oriented software specification in programming language design and implemention", IEEE, pp. 387-392, 1998.
- Formica et al, "Inheritance processing and conflicts in structural generalization hierarchies", ACM computing surveys, vol. 36, No. 3, pp. 263-290, 2004.
- Greg Murray, "Asynchronous JavaScript Technology and XMA (AJAX) With Java 2 Platform, Enterprise Edition", 2005.
- Mark Doernhoefer, "Surfing the Net for Software Engineering Notes", 2006.
- Najumudheen et al, "A dependence graph based test coverage analysis technique for object oriented progarms", IEEE, pp. 763-768, 2009.