Invention Grant
US08387027B2 Method and system for compiling a dynamically-typed method invocation in a statically-typed programming language 有权
用静态类型编程语言编译动态类型方法调用的方法和系统

Method and system for compiling a dynamically-typed method invocation in a statically-typed programming language
Abstract:
A method for compiling source code, involving: obtaining a statement of the source code comprising a method call, where the source code is composed in a statically-typed programming language; determining whether the method call is a dynamic method call; upon determining that the method call is a dynamic method call, compiling a dynamic method invocation without performing type checking on the method call; upon determining that the method call is not a dynamic method call: performing type checking on the method call, selecting a target method to invoke, and compiling a static method invocation to invoke the target method.
Information query
Patent Agency Ranking
0/0