Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Ajuda do Scilab >> Code Matlab => Scilab > internals > Contents

Contents

Create a tree containing contents inference data

Syntax

contents=Contents(list_of_index,list_of_infer)

Arguments

list_of_index

list of indexes similar to indexes returned by macr2tree.

list_of_infer

list of "infer" tlists containing inference data for matching index.

contents

a "contents" tlist

Description

This function create a tlist representing inference data for the contents of a Cell or a Struct when using M2SCI. All input parameters values are verified to be compatible with "M2SCI tlists". (Unknown=-1 in M2SCI) Please ensure that for each entry you insert in list_of_index, you also insert an entry in list_of_infer.

See also

  • get_contents_infer — Search for information in a "M2SCi tlist" contents
  • Funcall — Create the converted pseudo-code representing a function call
  • Operation — Generates the Scilab pseudo-code representing an operation
  • Variable — Generates the Scilab internal code representing a variable (without its content)
  • Cste — Create a tree representing a constant
  • Infer — Create a tree containing inference data
  • Type — Create a tree containing type inference data
  • Equal — Generates the Scilab internal code representing an instruction "LHS = RHS"
Report an issue
<< internals internals Cste >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:35:42 CET 2022