LassoScript Utility
Basics Browse Detail


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


[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.


[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.

Change Notes

Prior to Lasso Professional 8.1 this tag was named [LDML].


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