Class: Libv8::Compiler::AppleLLVM
- Inherits:
-
Clang
- Object
- GenericCompiler
- Clang
- Libv8::Compiler::AppleLLVM
- Defined in:
- ext/libv8/compiler/apple_llvm.rb
Constant Summary collapse
- LLVM_VERSION_REGEXP =
/Apple LLVM version (\d+\.\d+(\.\d+)*) \(/i
Constants inherited from Clang
Constants inherited from GenericCompiler
GenericCompiler::GENERIC_TARGET_REGEXP, GenericCompiler::GENERIC_VERSION_REGEXP
Instance Method Summary collapse
Methods inherited from GenericCompiler
#call, #initialize, #target, #to_s, #version
Constructor Details
This class inherits a constructor from Libv8::Compiler::GenericCompiler
Instance Method Details
#compatible? ⇒ Boolean
10 11 12 |
# File 'ext/libv8/compiler/apple_llvm.rb', line 10 def compatible? version >= '4.3' unless version.nil? end |
#name ⇒ Object
6 7 8 |
# File 'ext/libv8/compiler/apple_llvm.rb', line 6 def name 'Apple LLVM' end |