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 dele‐
19       gation model works, please have a look at the Math::Symbolic::Custom
20       and Math::Symbolic::Custom::Base classes.
21
22       EXPORT
23
24       Please see the docs for Math::Symbolic::Custom::Base for details, but
25       you should not try to use the standard Exporter semantics with this
26       class.
27

SUBROUTINES

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

AUTHOR

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

SEE ALSO

81       New versions of this module can be found on http://steffen-mueller.net
82       or CPAN. The module development takes place on Sourceforge at
83       http://sourceforge.net/projects/math-symbolic/
84
85       Math::Symbolic::Custom Math::Symbolic::Custom::DefaultMods Math::Sym‐
86       bolic::Custom::DefaultTests Math::Symbolic
87
88
89
90perl v5.8.8                       2008M-a0t2h-:2:2Symbolic::Custom::DefaultDumpers(3)
Impressum