parserProperty parameter

Use the parserProperty parameter to set or query properties of the document parser running in the current view.

 

Availability

query command
set command

 

Scope

The document parser running in the current view.

 

Syntax

query parserProperty.property
set parserProperty.property [ value ] 

 

Parameters

property Use the property parameter to specify the desired document parser property.
value Use the value parameter to specify the desired document parser property value.  If you do not specify a value for the set parserProperty command, the installation setting of this parser property is restored.

 

Description

Parser properties are normally used by document parsers which extend com.ibm.lpex.LpexCommonParser.  Each such document parser has its own specific set of properties.  Some properties used by most document parsers are tokenHighlight, autoIndent, errorMessages, and various proto.keyword templates for expansion through the proto action.

The interpretation of the value and the handling of changes to the value of a property are particular to each document parser.

 

Examples

query parserProperty.tokenHighlight
set parserProperty.tokenHighlight off
set parserProperty.proto.cpy (C) MyCompany 2000, 200?.  All Rights Reserved. 

Related reference
query command
set command
proto action