3

V'ícZ<ã@sbdZddlZddlmZmZmZddlmZmZm	Z	m
Z
mZmZm
Z
mZdgZGdd„deƒZdS)zº
    pygments.lexers.idl
    ~~~~~~~~~~~~~~~~~~~

    Lexers for IDL.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
éN)Ú
RegexLexerÚwordsÚbygroups)ÚTextÚCommentÚOperatorÚKeywordÚNameÚNumberÚStringÚ
WhitespaceÚIDLLexercU@s"eZdZdZdZdZdgZdgZdgZe	j
e	jBZdZ
džZd‡dˆeeejeƒfee
d‰d‰dŠefeed‰d‰dŠejfd‹efdŒefdefdŽefdejfdejfd‘ejfd’ejfd“ejfd”ejjfd•ejfd–efd—efd˜efd™e fgiZ!dšd›„Z"dœS(Ÿr
zX
    Pygments Lexer for IDL (Interactive Data Language).

    .. versionadded:: 1.6
    ZIDLz:https://www.l3harrisgeospatial.com/Software-Technology/IDLZidlz*.proztext/idlÚandÚbeginÚbreakÚcaseÚcommonÚcompile_optÚcontinueÚdoÚelseÚendÚendcaseÚendelseÚendforÚ
endforeachÚendifÚendrepÚ	endswitchÚendwhileÚeqÚforÚforeachÚforward_functionÚfunctionÚgeÚgotoÚgtÚifÚinheritsÚleÚltÚmodÚneÚnotÚofÚ
on_ioerrorÚorÚproÚrepeatÚswitchÚthenÚuntilÚwhileÚxorÚabsÚacosÚadapt_hist_equalÚalogÚalog10ÚamoebaÚannotateÚapp_user_dirÚapp_user_dir_queryÚarg_presentÚarray_equalÚ
array_indicesÚarrowÚascii_templateÚasinÚassocÚatanÚaxisÚa_correlateÚbandpass_filterÚbandreject_filterÚbarplotÚbar_plotÚbeseliÚbeseljÚbeselkÚbeselyÚbetaÚbilinearÚbinary_templateÚbindgenÚbinomialÚbin_dateÚbit_ffsÚbit_populationÚ	blas_axpyÚblk_conÚ
box_cursorÚ
breakpointÚbroydenÚbutterworthÚbytarrÚbyteÚ	byteorderÚbytsclÚcaldatÚcalendarÚ
call_externalÚ
call_functionÚcall_methodÚcall_procedureÚcannyÚcatchÚcdúcdf_\w*ÚceilÚ	chebyshevÚ
check_mathÚ
chisqr_cvfÚ
chisqr_pdfÚcholdcÚcholsolÚcindgenÚcir_3pntÚcloseÚclusterÚcluster_treeÚ	clust_wtsÚcmyk_convertÚcolorbarÚcolorize_sampleÚcolormap_applicableÚcolormap_gradientÚcolormap_rotationÚ
colortableÚ
color_convertÚcolor_exchangeÚ
color_quanÚcolor_range_mapÚcomfitÚcommand_line_argsÚcomplexÚ
complexarrÚcomplexroundÚcompute_mesh_normalsÚcondÚcongridÚconjÚconstrained_minÚcontourÚ
convert_coordÚconvolÚ
convol_fftÚ	coord2to3Úcopy_lunÚ	correlateÚcosÚcoshÚcpuÚcramerÚ
create_cursorÚ
create_structÚcreate_viewÚcrosspÚ	crvlengthÚcti_testÚct_luminanceÚcursorÚcurvefitÚcvttobmÚcv_coordÚ
cw_animateÚcw_animate_getpÚcw_animate_loadÚcw_animate_runÚ
cw_arcballÚ	cw_bgroupÚcw_clr_indexÚcw_colorselÚ	cw_defroiÚcw_fieldÚ
cw_fileselÚcw_formÚ
cw_fsliderÚcw_light_editorÚcw_light_editor_getÚcw_light_editor_setÚ	cw_orientÚcw_palette_editorÚcw_palette_editor_getÚcw_palette_editor_setÚ	cw_pdmenuÚcw_rgbsliderÚcw_tmplÚcw_zoomÚc_correlateÚdblarrÚ	db_existsÚdcindgenÚdcomplexÚdcomplexarrÚ
define_keyÚ
define_msgblkÚdefine_msgblk_from_fileÚdefroiÚdefsysvÚdelvarÚ
dendrogramÚdendro_plotÚderivÚderivsigÚdetermÚdeviceÚdfpminÚdiag_matrixÚdialog_dbconnectÚdialog_messageÚdialog_pickfileÚdialog_printersetupÚdialog_printjobÚdialog_read_imageÚdialog_write_imageÚdigital_filterÚdilateÚdindgenÚdissolveÚdistÚdistance_measureÚdlm_loadÚdlm_registerÚdoc_libraryÚdoubleÚdraw_roiÚedge_dogÚefontÚeigenqlÚeigenvecÚellipseÚelmhesÚembossÚemptyÚ
enable_sysrtnÚeofúeos_\w*ÚeraseÚerfÚerfcÚerfcxÚerodeÚ	errorplotÚerrplotÚestimator_filterÚexecuteÚexitÚexpÚexpandÚexpand_pathÚexpintÚextracÚ
extract_sliceÚ	factorialÚfftÚfilepathÚ
file_basenameÚ
file_chmodÚ	file_copyÚfile_deleteÚfile_dirnameÚfile_expand_pathÚ	file_infoÚ
file_linesÚ	file_linkÚ
file_mkdirÚ	file_moveÚfile_poll_inputÚ
file_readlinkÚ	file_sameÚfile_searchÚ	file_testÚ
file_whichÚfindgenÚfiniteÚfixÚflickÚfloatÚfloorÚflow3ÚfltarrÚflushÚformat_axis_valuesÚfree_lunÚfstatÚfulstrÚfunctÚfv_testÚfx_rootÚfz_rootsÚf_cvfÚf_pdfÚgammaÚgamma_ctÚ
gauss2dfitÚgaussfitÚgaussian_functionÚgaussintÚ	gauss_cvfÚ	gauss_pdfÚgauss_smoothÚgetenvÚ
getwindowsÚget_drive_listÚget_dxf_objectsÚget_kbrdÚget_login_infoÚget_lunÚget_screen_sizeÚgreg2julúgrib_\w*Úgrid3ÚgriddataÚ
grid_inputÚgrid_tpsÚgs_iterúh5[adfgirst]_\w*Ú
h5_browserÚh5_closeÚ	h5_createÚh5_get_libversionÚh5_openÚh5_parseÚhanningÚhashúhdf_\w*Ú	heap_freeÚheap_gcÚheap_nosaveÚ
heap_refcountÚ	heap_saveÚhelpÚhilbertÚ	histogramÚhist_2dÚ
hist_equalÚhlsÚhoughÚhqrÚhsvÚh_eq_ctÚh_eq_intÚi18n_multibytetoutf8Úi18n_multibytetowidecharÚi18n_utf8tomultibyteÚi18n_widechartomultibyteÚibetaÚicontourÚ
iconvertcoordÚideleteÚidentityÚidlexbr_assistantÚidlitsys_createtoolÚ
idl_base64Ú
idl_validnameÚiellipseÚigammaÚigetcurrentÚigetdataÚigetidÚigetpropertyÚiimageÚimageÚ
image_contÚimage_statisticsÚ	imaginaryÚimapÚindgenÚintarrÚinterpolÚinterpolateÚinterval_volumeÚint_2dÚint_3dÚ
int_tabulatedÚinvertÚioctlÚiopenÚiplotÚipolygonÚ	ipolylineÚiputdataÚ	iregisterÚiresetÚiresolveÚirotateÚ	ir_filterÚisaÚisaveÚiscaleÚisetcurrentÚisetpropertyÚishftÚ
isocontourÚ
isosurfaceÚisurfaceÚitextÚ
itranslateÚivectorÚivolumeÚizoomÚi_betaÚjournalÚ
json_parseÚjson_serializeÚjul2gregÚjuldayÚkeyword_setÚkrig2dÚkurtosisÚkw_testÚ	l64indgenÚ
label_dateÚlabel_regionÚladfitÚlaguerreÚ	laplacianÚ	la_choldcÚ
la_cholmproveÚ
la_cholsolÚ	la_determÚla_eigenproblemÚ
la_eigenqlÚla_eigenvecÚ	la_elmhesÚla_gm_linear_modelÚla_hqrÚ	la_invertÚla_least_squaresÚla_least_square_equalityÚla_linear_equationÚla_ludcÚla_lumproveÚla_lusolÚla_svdÚla_tridcÚla_trimproveÚla_triqlÚ	la_triredÚ	la_trisolÚleast_squares_filterÚleefiltÚlegendÚlegendreÚlinbcgÚlindgenÚlinfitÚ	linkimageÚlistÚll_arc_distanceÚlmfitÚlmgrÚlngammaÚlnp_testÚloadctÚ
locale_getÚlogical_andÚ
logical_orÚlogical_trueÚlon64arrÚlonarrÚlongÚlong64ÚlsodeÚludcÚlumproveÚlusolÚ
lu_complexÚmacharÚ
make_arrayÚmake_dllÚmake_rtÚmapÚ
mapcontinentsÚmapgridÚmap_2pointsÚmap_continentsÚmap_gridÚ	map_imageÚ	map_patchÚmap_proj_forwardÚmap_proj_imageÚ
map_proj_infoÚ
map_proj_initÚmap_proj_inverseÚmap_setÚmatrix_multiplyÚmatrix_powerÚmaxÚmd_testÚmeanÚ
meanabsdevÚmean_filterÚmedianÚmemoryÚ	mesh_clipÚ
mesh_decimateÚmesh_issolidÚ
mesh_mergeÚmesh_numtrianglesÚmesh_objÚmesh_smoothÚmesh_surfaceareaÚ
mesh_validateÚmesh_volumeÚmessageÚminÚmin_curve_surfÚmk_html_helpÚmodifyctÚmomentÚmorph_closeÚmorph_distanceÚmorph_gradientÚmorph_hitormissÚ
morph_openÚ
morph_thinÚmorph_tophatÚmultiÚm_correlateúncdf_\w*ÚnewtonÚ
noise_hurlÚ
noise_pickÚ
noise_scatterÚ
noise_slurÚnormÚ
n_elementsÚn_paramsÚn_tagsÚobjarrÚ	obj_classÚobj_destroyÚ
obj_hasmethodÚobj_isaÚobj_newÚ	obj_validÚonline_helpÚon_errorÚopenÚoplotÚoploterrÚ	parse_urlÚparticle_traceÚ
path_cacheÚpath_sepÚpcompÚplotÚplot3dÚploterrÚplotsÚ
plot_3dboxÚ
plot_fieldÚpnt_lineÚ	point_lunÚ	polarplotÚ
polar_contourÚ
polar_surfaceÚpolyÚpolyfillÚ	polyfillvÚpolygonÚpolylineÚ	polyshadeÚpolywarpÚpoly_2dÚ	poly_areaÚpoly_fitÚpopdÚpowellÚpref_commitÚpref_getÚpref_setÚprewittÚprimesÚprintÚprintdÚproductÚprofileÚprofilerÚprofilesÚproject_volÚpsafmÚpseudoÚ
ps_show_fontsÚptrarrÚptr_freeÚptr_newÚ	ptr_validÚpushdÚp_correlateÚqgrid3ÚqhullÚqrombÚqromoÚqsimpÚquery_asciiÚ	query_bmpÚ	query_csvÚquery_dicomÚ	query_gifÚquery_imageÚ
query_jpegÚquery_jpeg2000Úquery_mrsidÚ
query_pictÚ	query_pngÚ	query_ppmÚ	query_srfÚ
query_tiffÚ	query_wavÚradonÚrandomnÚrandomuÚranksÚrdpixÚreadÚreadsÚreaduÚ
read_asciiÚread_binaryÚread_bmpÚread_csvÚ
read_dicomÚread_gifÚ
read_imageÚread_interfileÚ	read_jpegÚ
read_jpeg2000Ú
read_mrsidÚ	read_pictÚread_pngÚread_ppmÚread_sprÚread_srfÚ	read_sylkÚ	read_tiffÚread_wavÚ	read_waveÚread_x11_bitmapÚread_xwdÚ	real_partÚrebinÚrecall_commandsÚrecon3Ú
reduce_colorsÚreformÚregion_growÚregister_cursorÚregressÚ	replicateÚreplicate_inplaceÚresolve_allÚresolve_routineÚrestoreÚretallÚreturnÚreverseÚrk4ÚrobertsÚrotÚrotateÚroundÚroutine_filepathÚroutine_infoÚrs_testÚr_correlateÚr_testÚsaveÚsavgolÚscale3Úscale3dÚscope_levelÚscope_tracebackÚscope_varfetchÚ
scope_varnameÚsearch2dÚsearch3dÚ
sem_createÚ
sem_deleteÚsem_lockÚsem_releaseÚsetenvÚset_plotÚset_shadingÚsfitÚ
shade_surfÚshade_surf_irrÚshade_volumeÚshiftÚ
shift_diffÚshmdebugÚshmmapÚshmunmapÚshmvarÚshow3ÚshowfontÚsimplexÚsinÚsindgenÚsinhÚsizeÚskewnessÚskip_lunÚslicer3Úslide_imageÚsmoothÚsobelÚsocketÚsortÚspawnÚ
spher_harmÚsph_4pntÚsph_scatÚsplineÚspline_pÚspl_initÚ
spl_interpÚsprsabÚsprsaxÚsprsinÚsprstpÚsqrtÚstandardizeÚstddevÚstopÚstrarrÚstrcmpÚstrcompressÚ
streamlineÚstregexÚstretchÚstringÚstrjoinÚstrlenÚ
strlowcaseÚstrmatchÚ
strmessageÚstrmidÚstrposÚstrputÚstrsplitÚstrtrimÚ
struct_assignÚstruct_hideÚ	strupcaseÚsurfaceÚsurfrÚsvdcÚsvdfitÚsvsolÚswap_endianÚswap_endian_inplaceÚsymbolÚsystimeÚs_testÚt3dÚ	tag_namesÚtanÚtanhÚ	tek_colorÚ	temporaryÚ
tetra_clipÚ
tetra_surfaceÚtetra_volumeÚtextÚthinÚthreedÚtimegenÚ
time_test2Útm_testÚtotalÚtraceÚ	transposeÚtriangulateÚtrigridÚtriqlÚtriredÚtrisolÚtri_surfÚtruncate_lunÚts_coefÚts_diffÚts_fcastÚ	ts_smoothÚtvÚtvcrsÚtvlctÚtvrdÚtvsclÚtypenameÚt_cvtÚt_pdfÚuindgenÚuintÚuintarrÚ
ul64indgenÚulindgenÚ	ulon64arrÚulonarrÚulongÚulong64ÚuniqÚunsharp_maskÚusersymÚvalue_locateÚvarianceÚvectorÚvector_fieldÚvelÚvelovectÚvert_t3dÚvoigtÚvoronoiÚ
voxel_projÚwaitÚwarp_triÚ	watershedÚwdeleteÚwf_drawÚwhereÚwidget_baseÚ
widget_buttonÚwidget_comboboxÚwidget_controlÚwidget_displaycontextmenÚwidget_drawÚwidget_droplistÚwidget_eventÚwidget_infoÚwidget_labelÚwidget_listÚwidget_propertysheetÚ
widget_sliderÚ
widget_tabÚwidget_tableÚwidget_textÚwidget_treeÚwidget_tree_moveÚ
widget_windowÚ
wiener_filterÚwindowÚwriteuÚ	write_bmpÚ	write_csvÚ	write_gifÚwrite_imageÚ
write_jpegÚwrite_jpeg2000Ú
write_nrifÚ
write_pictÚ	write_pngÚ	write_ppmÚ	write_sprÚ	write_srfÚ
write_sylkÚ
write_tiffÚ	write_wavÚ
write_waveÚwsetÚwshowÚwtnÚ	wv_appletÚwv_cwtÚ
wv_cw_waveletÚ
wv_denoiseÚwv_dwtÚ
wv_fn_coifletÚwv_fn_daubechiesÚwv_fn_gaussianÚ
wv_fn_haarÚwv_fn_morletÚ
wv_fn_paulÚwv_fn_symletÚwv_import_dataÚwv_import_waveletÚ
wv_plot3d_wpsÚwv_plot_multiresÚwv_pwtÚwv_tool_denoiseÚxbm_editÚxdisplayfileÚxdxfÚxfontÚ
xinteranimateÚxloadctÚxmanagerÚ	xmng_tmplÚxmtoolÚxobjviewÚxobjview_rotateÚxobjview_write_imageÚxpaletteÚxpcolorÚxplot3dÚxregisteredÚxroiÚxsq_testÚxsurfaceÚxvareditÚxvolumeÚxvolume_rotateÚxvolume_write_imageÚxyoutsÚzoomÚzoom_24Úrootz(^\s*)(;.*?)(\n)z\b)ÚprefixÚsuffixz \+=|-=|\^=|\*=|/=|#=|##=|<=|>=|=z.\+\+|--|->|\+|-|##|#|\*|/|<|>|&&|\^|~|\|\|\?|:z3\b(mod=|lt=|le=|eq=|ne=|ge=|gt=|not=|and=|or=|xor=)z*\b(mod|lt|le|eq|ne|ge|gt|not|and|or|xor)\bz"[^\"]*"z'[^\']*'z>\b[+\-]?([0-9]*\.[0-9]+|[0-9]+\.[0-9]*)(D|E)?([+\-]?[0-9]+)?\bz)\b\'[+\-]?[0-9A-F]+\'X(U?(S?|L{1,2})|B)\bz&\b\'[+\-]?[0-7]+\'O(U?(S?|L{1,2})|B)\bz\b[+\-]?[0-9]+U?L{1,2}\bz\b[+\-]?[0-9]+U?S?\bz\b[+\-]?[0-9]+B\bz[ \t]+z\nÚ.cCs(d}d|kr|d7}d|kr$|d7}|S)z>endelse seems to be unique to IDL, endswitch is rare at least.rrgš™™™™™É?rg{®Gáz„?©)rÚresultr’r’ú7/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/idl.pyÚanalyse_textszIDLLexer.analyse_textN)+rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8(Ur9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rr€rr‚rƒr„r…r†r‡rˆr‰rŠr‹rŒrrŽrrr‘r’r“r”r•r–r—r˜r™ršr›rœrržrŸr r¡r¢r£r¤r¥r¦r§r¨r©rªr«r¬r­r®r¯r°r±r²r³r´rµr¶r·r¸r¹rºr»r¼r½r¾r¿rÀrÁrÂrÃrÄrÅrÆrÇrÈrÉrÊrËrÌrÍrÎrÏrÐrÑrÒrÓrÔrÕrÖr×rØrÙrÚrÛrÜrÝrÞrßràrárârãrärårærçrèrérêrërìrírîrïrðrñròrórôrõrör÷rørùrúrûrürýrþrÿrrrrrrrrrr	r
rrr
rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rr€rr‚rƒr„r…r†r‡rˆr‰rŠr‹rŒrrŽrrr‘r’r“r”r•r–r—r˜r™ršr›rœrržrŸr r¡r¢r£r¤r¥r¦r§r¨r©rªr«r¬r­r®r¯r°r±r²r³r´rµr¶r·r¸r¹rºr»r¼r½r¾r¿rÀrÁrÂrÃrÄrÅrÆrÇrÈrÉrÊrËrÌrÍrÎrÏrÐrÑrÒrÓrÔrÕrÖr×rØrÙrÚrÛrÜrÝrÞrßràrárârãrärårærçrèrérêrërìrírîrïrðrñròrórôrõrör÷rørùrúrûrürýrþrÿrrrrrrrrrr	r
rrr
rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rr€rr‚rƒr„r…r†r‡rˆr‰rŠr‹rŒrrŽrrr‘r’r“r”r•r–r—r˜r™ršr›rœrržrŸr r¡r¢r£r¤r¥r¦r§r¨r©rªr«r¬r­r®r¯r°r±r²r³r´rµr¶r·r¸r¹rºr»r¼r½r¾r¿rÀrÁrÂrÃrÄrÅrÆrÇrÈrÉrÊrËrÌrÍrÎrÏrÐrÑrÒrÓrÔrÕrÖr×rØrÙrÚrÛrÜrÝrÞrßràrárârãrärårærçrèrérêrërìrírîrïrðrñròrórôrõrör÷rørùrúrûrürýrþrÿrrrrrrrrrr	r
rrr
rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rr€rr‚rƒr„r…r†r‡rˆr‰rŠr‹rŒr)#Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚnameÚurlÚaliasesÚ	filenamesÚ	mimetypesÚreÚ
IGNORECASEÚ	MULTILINEÚflagsZ	_RESERVEDZ_BUILTIN_LIBrrrÚSinglerrr	ZBuiltinrrÚDoubler
ZFloatZHexÚOctZIntegerZLongrÚtokensr•r’r’r’r”r
sà




)r™rŸZpygments.lexerrrrZpygments.tokenrrrrr	r
rrÚ__all__r
r’r’r’r”Ú<module>	s
(