Gallery Tutorial [TECHNICAL SLIDE TRAIL] The Webel libraries for Wolfram Mathematica: With SysMLv1 models. Section SECTION: The Webel Doc` package and the HelpF, HelpO`& HelpM` help registry packages Tags and keywords Mathematica keywords MTools MTools::Class MTools::method Association ::usage MClass.tree MClass.help Webel Mathematica keywords W`Base` HelpO` MOpt MArg MMethod MClass Keywords Wolfram Wolfram Language Mathematica Webel::SysML4Mathematica Webel IT Australia Abstract Data Types Webel:ADT Click on the image to view it full size Up next HelpM`: Using the Webel MPackage helper with MFunction and MClass and the HelpF` and HelpO` help registries Notes [TIP]{INFORMATIVE} Mathematica: TIPS for living with the user-contributed MTools for Object-Orientation (until a vendor-supported OO solution is eventually provided) [PATTERN, TIP, TOOL]{INFORMATIVE} Webel + Mathematica + MTools + SysML [POLICY]{SUBJECT-TO-CHANGE} Webel: Mathematica: The Method syntax for the user contributed MTools does not seem to support Method-specific ::usage. The Webel libraries offer method documentation support (including arguments and options) via the HelpO` class/method registry. Snippets (quotes/extracts) Visit also Visit also (backlinks) Related slides (includes other tutorials) HelpM`: Using the MFunction and MMethod helper classes with MArg & MOpt HelpM`: Using the Webel MMethod class and MArg & MOpt with HelpO` HelpM`: Use MFunction and MMethod with MArg & MOpt for ::usage (and consistent with the HelpF` and HelpO` registries) HelpM`: Use Webel MOpt and MArg objects to create ‘$doc$’ Strings for ::usage help Why the Webel HelpF` & HelpO` registries? The Webel HelpO`package class and method registry HelpO`: addClass: Register an MTools class by fully qualified package name HelpO`: addClass: Register an MTools class by fully qualified package name HelpO`: Part of the help registry for the Webel MAll universal MTools class and some methods Webel ‘$arg$’ help is much easier with the MArg class using MTools! Webel ‘$opt$’ help is much easier with the MOpt class using MTools! Webel ‘$opt$’ help even easier with makeOpt[$name] for MOpt! Related slides (backlinks, includes other tutorials) HelpM`: Using the Webel MPackage helper with MFunction and MClass and the HelpF` and HelpO` help registries Basic SysMLv1 example: The HelpM` package MTools classes as Blocks About «pseudo» blocks (always prefixed with ‘@’) SysML: OptionsPattern[] “Generalizations” using Join:" Example: HelpM` helper classes new functions Flags Book traversal links for HelpM`: Using the Webel MClass helper with the MMethod helper and the HelpO` help registry Previous Up Next