Lasso Soft Inc. > Home

[Lasso_Parser]

[Lasso_Parser] is a data type that parses Lasso code and allows it to be displayed using text formatting or syntax coloring. The type requires one parameter which is the Lasso code to be parsed. Optional parameters allow -Delimiters and/or -Plaintext to be included in the parsed representation as well.

Once the Lasso code has been parsed the member tags of the [Lasso_Parser] type can be used to inspect it. The [Lasso_Parser->Next] tag advanced forward one token. The [Lasso_Parser->TokenType], [Lasso_Parser->TokenLength] and [Lasso_Parser->Get] tags return information about and the raw text of the current token.

  • Syntax
  • Parameters
[Lasso_Parser: 'Lasso Code']
Required Parameters
Lasso Code The Lasso code which is to be parsed.
Optional Parameters
-PlainText Plaintext elements will be included in the parsed output.
-Delimieters Delimiters will be included in the parsed output.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link [Lasso_Parser] Category Technical
Type Substitution Data Source Any
Support Preferred Version 8.1
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft