SPVM::Builder::ObjectFileInfo − Object File Information
The SPVM::Builder::ObjectFileInfo class has methods to manipulate object file information.
my $file =
$object_file_info−>file;
$object_file_info−>file($file);
Gets and sets the "file" field, an object file name.
my $compile_info
= $object_file_info−>compile_info;
$object_file_info−>compile_info($compile_info);
Gets and sets the "compile_info" field, an SPVM::Builder::CompileInfo object.
my $object_file_info = SPVM::Builder::ObjectFileInfo−>new(%fields);
Creates a new SPVM::Builder::ObjectFileInfo object, and returns it.
Field Default Values:
|
• |
"file" |
undef
|
• |
"compile_info" |
undef
my $object_file_info = $object_file_info−>to_string;
Returns "file" field.
Overloads the following operators.
my $bool = !!$object_file_info;
Always true.
my $object_file_info_name = "$object_file_info";
Alias for "to_string" method.
Copyright (c) 2023 Yuki Kimoto
MIT License