1Math::Symbolic::Custom:U:sDeerfaCuolnttDruimbpuetresdM(a3Pt)ehr:l:SDyomcbuomleinct:a:tCiuosntom::DefaultDumpers(3)
2
3
4

NAME

6       Math::Symbolic::Custom::DefaultDumpers - Default Math::Symbolic output
7       routines
8

SYNOPSIS

10         use Math::Symbolic qw/parse_from_string/;
11         $term = parse_from_string(...);
12         my ($sub, $leftover_trees) = $term->to_sub();
13

DESCRIPTION

15       This is a class of default output routines for Math::Symbolic trees.
16       Likewise, Math::Symbolic::Custom::DefaultTests defines default tree
17       testing routines and Math::Symbolic::Custom::DefaultMods has default
18       tree modification methods.  For details on how the custom method
19       delegation model works, please have a look at the
20       Math::Symbolic::Custom and Math::Symbolic::Custom::Base classes.
21
22   EXPORT
23       Please see the docs for Math::Symbolic::Custom::Base for details, but
24       you should not try to use the standard Exporter semantics with this
25       class.
26

SUBROUTINES

28   to_string
29       The to_string method is currently implemented in the module core
30       namespaces and will be moved to Math::Symbolic::DefaultDumpers in a
31       future release.
32
33       Takes one optional argument indicating whether the Math::Symbolic tree
34       should be transformed to a string using 'postfix' notation or using
35       'infix' notation.  Default is infix which is also more likely to be
36       reparseable by the Math::Symbolic parser.
37
38   to_code
39       This method is a wrapper around the compile_to_code class method in the
40       Math::Symbolic::Compiler module. Takes key/value pairs of variables and
41       integers as argument. The integers should starting at 0 and they
42       determine the order of the variables/parameters to the compiled code.
43
44       Returns the compiled code and a reference to an array of possible
45       leftover tree elements that could not be compiled.
46
47       Please refer to the Math::Symbolic::Compiler man page for details.
48
49   to_sub
50       This method is a wrapper around the compile_to_sub class method in the
51       Math::Symbolic::Compiler module. Takes key/value pairs of variables and
52       integers as argument. The integers should starting at 0 and they
53       determine the order of the variables/parameters to the compiled code.
54
55       Returns the compiled sub and a reference to an array of possible
56       leftover tree elements that could not be compiled.
57
58       Please refer to the Math::Symbolic::Compiler man page for details.
59

AUTHOR

61       Please send feedback, bug reports, and support requests to the
62       Math::Symbolic support mailing list: math-symbolic-support at lists dot
63       sourceforge dot net. Please consider letting us know how you use
64       Math::Symbolic. Thank you.
65
66       If you're interested in helping with the development or extending the
67       module's functionality, please contact the developers' mailing list:
68       math-symbolic-develop at lists dot sourceforge dot net.
69
70       List of contributors:
71
72         Steffen Mueller, symbolic-module at steffen-mueller dot net
73         Stray Toaster, mwk at users dot sourceforge dot net
74         Oliver Ebenhoeh
75

SEE ALSO

77       New versions of this module can be found on http://steffen-mueller.net
78       or CPAN. The module development takes place on Sourceforge at
79       http://sourceforge.net/projects/math-symbolic/
80
81       Math::Symbolic::Custom Math::Symbolic::Custom::DefaultMods
82       Math::Symbolic::Custom::DefaultTests Math::Symbolic
83
84
85
86perl v5.32.0                      2020M-a0t7h-:2:8Symbolic::Custom::DefaultDumpers(3)
Impressum