The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Builder::ObjectFileInfo - Object File Information

Description

The SPVM::Builder::ObjectFileInfo class has methods to manipulate object file information.

Fields

file

my $file = $object_file_info->file;
$object_file_info->file($file);

Gets and sets the file field, an object file name.

compile_info

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.

Class Methods

new

my $object_file_info = SPVM::Builder::ObjectFileInfo->new(%fields);

Creates a new SPVM::Builder::ObjectFileInfo object, and returns it.

Field Default Values:

Instance Methods

to_string

my $object_file_info = $object_file_info->to_string;

Returns "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 "to_string" method.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License