updateProfile.parserAssociation parameter

Use the updateProfile.parserAssociation parameter to set or query the parser that is associated with a document name or name extension.  When the updateProfile command is issued on a document view that has current.updateProfile.parser set to associated, the parser that is associated with the particular document name or name extension is used to parse the document view.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

updateProfile.parserAssociation.nameSpec is scoped to the current view.
current.updateProfile.parserAssociation
.nameSpec is scoped to the current view.
default.updateProfile.parserAssociation
.nameSpec is globally scoped.
install.updateProfile.parserAssociation
.nameSpec is globally scoped.

Syntax

query updateProfile.parserAssociation.nameSpec
set updateProfile.parserAssociation.nameSpec { default
                                             | [ parser ]
                                             }
query current.updateProfile.parserAssociation.nameSpec
query default.updateProfile.parserAssociation.nameSpec
set default.updateProfile.parserAssociation.nameSpec { install
                                                     | [ parser ]
                                                     }
query install.updateProfile.parserAssociation.nameSpec 

Parameters

nameSpec Use the nameSpec parameter to indicate the document name or document name exension.  If a document name does not have an extension (for example, makefile), use a trailing period (here, makefile.).
default If you specify the default parameter for the set updateProfile.parserAssociation.nameSpec command, the current view will use the value of default.updateProfile.parserAssociation.nameSpec to determine the parser associated with nameSpec when the updateProfile command is issued.
parser If you specify the parser parameter for the set updateProfile.parserAssociation.nameSpec command, the updateProfile command will use parser as the parser associated with the document name or name extension indicated by nameSpec for the current view.  If you specify the parser parameter for the set default.updateProfile.parserAssociation.nameSpec command, the updateProfile command will use parser as the parser associated with the document name or name extension indicated by nameSpec for all document views that have the updateProfile.parserAssociation.nameSpec parameter set to default.

The parser parameter should be one of the parsers returned by the current.updateProfile.parsers parameter.
install If you specify the install parameter for the set default.updateProfile.parserAssociation.nameSpec command, all views with updateProfile.parserAssociation.nameSpec set to default will use the value of install.updateProfile.parserAssociation.nameSpec to determine the parser associated with nameSpec when the updateProfile command is issued.

Description

The query current.updateProfile.parserAssociation.nameSpec command returns the parser that the updateProfile command will associate, for the current view, with the document name or name extension specified by nameSpec.

If you do not specify any parameters for the set updateProfile.parserAssociation.nameSpec command, no parser is associated with the specified document name or name extension.

If you do not specify any parameters for the set default.updateProfile.parserAssociation.nameSpec command, no default parser is associated with the specified document name or name extension.

Examples

query updateProfile.parserAssociation.java
set updateProfile.parserAssociation.java java
set updateProfile.parserAssociation.java default
set updateProfile.parserAssociation.java
set updateProfile.parserAssociation.readme.txt html
set updateProfile.parserAssociation.MAKEFILE. rexx
query current.updateProfile.parserAssociation.java
query default.updateProfile.parserAssociation.java
set default.updateProfile.parserAssociation.java java
set default.updateProfile.parserAssociation.java install
set default.updateProfile.parserAssociation.java
query install.updateProfile.parserAssociation.java 

Related references
query command
set command
updateProfile command
parser parameter
updateProfile.extensions parameter
updateProfile.noParser parameter
updateProfile.parserClass parameter
updateProfile.parsers parameter
updateProfile.parser parameter