Name
SPVM::Builder::ObjectFileInfo - Object File Information
Description
The SPVM::Builder::ObjectFileInfo class has methods to manipulate information of an object file.
Fields
file
my $file = $object_file_info->file;
$object_file_info->file($file);
Gets and sets the file
field.
This field is the file name of an object file.
compile_info
my $compile_info = $object_file_info->compile_info;
$object_file_info->compile_info($compile_info);
Gets and sets the compile_info
field.
This field is a SPVM::Builder::CompileInfo object.
Class Methods
new
my $object_file_info = SPVM::Builder::ObjectFileInfo->new(%fields);
Default Field Values:
If a field is not defined, the field is set to the following default value.
-
undef
-
undef
Instance Methods
to_string
my $object_file_info = $object_file_info->to_string;
Returns the "file" field.
Operators
Overloads the following operators.
bool
my $bool = !!$object_file_info;
Always true.
stringify
my $object_file_info_name = "$object_file_info";
Alias for the "to_string" method.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License