SPVM::Builder::ObjectFileInfo(3)

NAME
SPVM::Builder::ObjectFileInfo - Object file information

DESCRIPTION
SPVM::Builder::ObjectFileInfo is a object file information. This infromation is used by the linker.

FIELDS
Fields of SPVM::Builder::ObjectFileInfo.

  object_file
  my $object_file = $object_file->object_file;
  $object_file->object_file($object_file);

Get and set the object file that is compiled.

  source_file
  my $source_file = $object_file->source_file;
  $object_file->source_file($source_file);

Get and set the source file that is the source of the compiled object file.

  cc
  my $cc = $object_file->cc;
  $object_file->cc($cc);

Get and set the compiler name that compiled the object file.

  ccflags
  my $ccflags = $object_file->ccflags;
  $object_file->ccflags($ccflags);

Get and set the compiler flags that compiled the object file.

  class_name
  my $class_name = $object_file->class_name;
  $object_file->class_name($class_name);

Get and set the class name belonged to when the object file was compiled.

  is_resource
  my $is_resource = $object_file->is_resource;
  $object_file->is_resource($is_resource);

Get and set if the object file(this is static library(.a)) is a resource.

  is_exe_config
  my $is_exe_config = $object_file->is_exe_config;
  $object_file->is_exe_config($is_exe_config);

Get and set if the object file is compiled using SPVM::Builder::Config::Exe.

METHODS
Methods of SPVM::Builder::ObjectFileInfo.

  new
  my $object_file = SPVM::Builder::ObjectFileInfo->new;

  to_string
  my $object_file_name = $object_file->to_string;

Get object file name. This is same as "object_file" field.

OPERATORS
SPVM::BlessedObject::String overloads the following operators.

  bool
  my $bool = !!$object_file;

Always true.

  stringify
  my $object_file_name = "$object_file";

Alias for "to_string".