Manpage logo

SPVM::Builder::ObjectFileInfo - Object File Information

Name  Description  Fields  file  compile_info  Class Methods  new  Instance Methods  to_string  Operators  bool  stringify  Copyright & License 

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:

"file"

undef

"compile_info"

undef

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


Updated 2026-06-01 - jenkler.se | uex.se