Class: Rouge::Lexers::IgorPro

Inherits:
RegexLexer show all
Defined in:
lib/rouge/lexers/igorpro.rb

Constant Summary

Constants inherited from RegexLexer

RegexLexer::MAX_NULL_SCANS

Constants included from Token::Tokens

Token::Tokens::Num, Token::Tokens::Str

Instance Attribute Summary

Attributes inherited from Rouge::Lexer

#options

Class Method Summary collapse

Methods inherited from RegexLexer

append, #delegate, #goto, #group, #groups, #in_state?, #pop!, prepend, #push, #recurse, replace_state, #reset!, #reset_stack, #stack, start, start_procs, state, #state, #state?, state_definitions, states, #step, #stream_tokens, #token

Methods inherited from Rouge::Lexer

aliases, all, #as_bool, #as_lexer, #as_list, #as_string, #as_token, #bool_option, continue_lex, #continue_lex, debug_enabled?, demo, demo_file, desc, detect?, detectable?, disable_debug!, enable_debug!, filenames, find, find_fancy, guess, guess_by_filename, guess_by_mimetype, guess_by_source, guesses, #hash_option, #initialize, lex, #lex, #lexer_option, #list_option, lookup_fancy, mimetypes, option, option_docs, #reset!, #stream_tokens, #string_option, tag, #tag, title, #token_option, #with

Methods included from Token::Tokens

token

Constructor Details

This class inherits a constructor from Rouge::Lexer

Class Method Details

.igorConstantsObject



44
45
46
47
48
# File 'lib/rouge/lexers/igorpro.rb', line 44

def self.igorConstants
  @igorConstants ||= Set.new %w(
    nan inf
  )
end

.igorDeclarationsObject



36
37
38
39
40
41
42
# File 'lib/rouge/lexers/igorpro.rb', line 36

def self.igorDeclarations
  @igorDeclarations ||= Set.new %w(
    variable string wave strconstant constant
    nvar svar dfref funcref struct
    char uchar int16 uint16 int32 uint32 int64 uint64 float double
  )
end

.igorFunctionObject



50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
# File 'lib/rouge/lexers/igorpro.rb', line 50

def self.igorFunction
  @igorFunction ||= Set.new %w(
    AddListItem AiryA AiryAD AiryB AiryBD AnnotationInfo
    AnnotationList AxisInfo AxisList AxisValFromPixel
    AxonTelegraphAGetDataNum AxonTelegraphAGetDataString
    AxonTelegraphAGetDataStruct AxonTelegraphGetDataNum
    AxonTelegraphGetDataString AxonTelegraphGetDataStruct
    AxonTelegraphGetTimeoutMs AxonTelegraphSetTimeoutMs
    Base64Decode Base64Encode Besseli Besselj Besselk
    Bessely BinarySearch BinarySearchInterp CTabList
    CaptureHistory CaptureHistoryStart CheckName
    ChildWindowList CleanupName ContourInfo ContourNameList
    ContourNameToWaveRef ContourZ ControlNameList
    ConvertTextEncoding CountObjects CountObjectsDFR
    CreationDate CsrInfo CsrWave CsrWaveRef CsrXWave
    CsrXWaveRef DataFolderDir DataFolderExists
    DataFolderRefStatus DataFolderRefsEqual DateToJulian
    Dawson DimDelta DimOffset DimSize Faddeeva FetchURL
    FindDimLabel FindListItem FontList FontSizeHeight
    FontSizeStringWidth FresnelCos FresnelSin FuncRefInfo
    FunctionInfo FunctionList FunctionPath
    GISGetAllFileFormats GISSRefsAreEqual Gauss Gauss1D
    Gauss2D GetBrowserLine GetBrowserSelection
    GetDataFolder GetDataFolderDFR GetDefaultFont
    GetDefaultFontSize GetDefaultFontStyle GetDimLabel
    GetEnvironmentVariable GetErrMessage GetFormula
    GetIndependentModuleName GetIndexedObjName
    GetIndexedObjNameDFR GetKeyState GetRTErrMessage
    GetRTError GetRTLocInfo GetRTLocation GetRTStackInfo
    GetScrapText GetUserData GetWavesDataFolder
    GetWavesDataFolderDFR GizmoInfo GizmoScale GrepList
    GrepString GuideInfo GuideNameList HDF5AttributeInfo
    HDF5DatasetInfo HDF5LibraryInfo HDF5TypeInfo Hash
    HyperG0F1 HyperG1F1 HyperG2F1 HyperGNoise HyperGPFQ
    IgorInfo IgorVersion ImageInfo ImageNameList
    ImageNameToWaveRef IndependentModuleList IndexToScale
    IndexedDir IndexedFile Inf Integrate1D Interp2D
    Interp3D ItemsInList JacobiCn JacobiSn JulianToDate
    Laguerre LaguerreA LaguerreGauss LambertW LayoutInfo
    LegendreA ListMatch ListToTextWave ListToWaveRefWave
    LowerStr MCC_AutoBridgeBal MCC_AutoFastComp
    MCC_AutoPipetteOffset MCC_AutoSlowComp
    MCC_AutoWholeCellComp MCC_GetBridgeBalEnable
    MCC_GetBridgeBalResist MCC_GetFastCompCap
    MCC_GetFastCompTau MCC_GetHolding MCC_GetHoldingEnable
    MCC_GetMode MCC_GetNeutralizationCap
    MCC_GetNeutralizationEnable MCC_GetOscKillerEnable
    MCC_GetPipetteOffset MCC_GetPrimarySignalGain
    MCC_GetPrimarySignalHPF MCC_GetPrimarySignalLPF
    MCC_GetRsCompBandwidth MCC_GetRsCompCorrection
    MCC_GetRsCompEnable MCC_GetRsCompPrediction
    MCC_GetSecondarySignalGain MCC_GetSecondarySignalLPF
    MCC_GetSlowCompCap MCC_GetSlowCompTau
    MCC_GetSlowCompTauX20Enable MCC_GetSlowCurrentInjEnable
    MCC_GetSlowCurrentInjLevel
    MCC_GetSlowCurrentInjSetlTime MCC_GetWholeCellCompCap
    MCC_GetWholeCellCompEnable MCC_GetWholeCellCompResist
    MCC_SelectMultiClamp700B MCC_SetBridgeBalEnable
    MCC_SetBridgeBalResist MCC_SetFastCompCap
    MCC_SetFastCompTau MCC_SetHolding MCC_SetHoldingEnable
    MCC_SetMode MCC_SetNeutralizationCap
    MCC_SetNeutralizationEnable MCC_SetOscKillerEnable
    MCC_SetPipetteOffset MCC_SetPrimarySignalGain
    MCC_SetPrimarySignalHPF MCC_SetPrimarySignalLPF
    MCC_SetRsCompBandwidth MCC_SetRsCompCorrection
    MCC_SetRsCompEnable MCC_SetRsCompPrediction
    MCC_SetSecondarySignalGain MCC_SetSecondarySignalLPF
    MCC_SetSlowCompCap MCC_SetSlowCompTau
    MCC_SetSlowCompTauX20Enable MCC_SetSlowCurrentInjEnable
    MCC_SetSlowCurrentInjLevel
    MCC_SetSlowCurrentInjSetlTime MCC_SetTimeoutMs
    MCC_SetWholeCellCompCap MCC_SetWholeCellCompEnable
    MCC_SetWholeCellCompResist MPFXEMGPeak
    MPFXExpConvExpPeak MPFXGaussPeak MPFXLorenzianPeak
    MPFXVoigtPeak MacroList MandelbrotPoint MarcumQ
    MatrixCondition MatrixDet MatrixDot MatrixRank
    MatrixTrace ModDate NVAR_Exists NaN NameOfWave
    NewFreeDataFolder NewFreeWave NormalizeUnicode
    NumVarOrDefault NumberByKey OperationList PICTInfo
    PICTList PadString PanelResolution ParamIsDefault
    ParseFilePath PathList Pi PixelFromAxisVal PolygonArea
    PossiblyQuoteName ProcedureText RemoveByKey
    RemoveEnding RemoveFromList RemoveListItem
    ReplaceNumberByKey ReplaceString ReplaceStringByKey
    SQL2DBinaryWaveToTextWave SQLAllocHandle SQLAllocStmt
    SQLBinaryWavesToTextWave SQLBindCol SQLBindParameter
    SQLBrowseConnect SQLBulkOperations SQLCancel
    SQLCloseCursor SQLColAttributeNum SQLColAttributeStr
    SQLColumnPrivileges SQLColumns SQLConnect
    SQLDataSources SQLDescribeCol SQLDescribeParam
    SQLDisconnect SQLDriverConnect SQLDrivers SQLEndTran
    SQLError SQLExecDirect SQLExecute SQLFetch
    SQLFetchScroll SQLForeignKeys SQLFreeConnect SQLFreeEnv
    SQLFreeHandle SQLFreeStmt SQLGetConnectAttrNum
    SQLGetConnectAttrStr SQLGetCursorName SQLGetDataNum
    SQLGetDataStr SQLGetDescFieldNum SQLGetDescFieldStr
    SQLGetDescRec SQLGetDiagFieldNum SQLGetDiagFieldStr
    SQLGetDiagRec SQLGetEnvAttrNum SQLGetEnvAttrStr
    SQLGetFunctions SQLGetInfoNum SQLGetInfoStr
    SQLGetStmtAttrNum SQLGetStmtAttrStr SQLGetTypeInfo
    SQLMoreResults SQLNativeSql SQLNumParams
    SQLNumResultCols SQLNumResultRowsIfKnown
    SQLNumRowsFetched SQLParamData SQLPrepare
    SQLPrimaryKeys SQLProcedureColumns SQLProcedures
    SQLPutData SQLReinitialize SQLRowCount
    SQLSetConnectAttrNum SQLSetConnectAttrStr
    SQLSetCursorName SQLSetDescFieldNum SQLSetDescFieldStr
    SQLSetDescRec SQLSetEnvAttrNum SQLSetEnvAttrStr
    SQLSetPos SQLSetStmtAttrNum SQLSetStmtAttrStr
    SQLSpecialColumns SQLStatistics SQLTablePrivileges
    SQLTables SQLTextWaveTo2DBinaryWave
    SQLTextWaveToBinaryWaves SQLUpdateBoundValues
    SQLXOPCheckState SVAR_Exists ScreenResolution Secs2Date
    Secs2Time SelectNumber SelectString
    SetEnvironmentVariable SortList SpecialCharacterInfo
    SpecialCharacterList SpecialDirPath SphericalBessJ
    SphericalBessJD SphericalBessY SphericalBessYD
    SphericalHarmonics StartMSTimer StatsBetaCDF
    StatsBetaPDF StatsBinomialCDF StatsBinomialPDF
    StatsCMSSDCDF StatsCauchyCDF StatsCauchyPDF StatsChiCDF
    StatsChiPDF StatsCorrelation StatsDExpCDF StatsDExpPDF
    StatsEValueCDF StatsEValuePDF StatsErlangCDF
    StatsErlangPDF StatsErrorPDF StatsExpCDF StatsExpPDF
    StatsFCDF StatsFPDF StatsFriedmanCDF StatsGEVCDF
    StatsGEVPDF StatsGammaCDF StatsGammaPDF
    StatsGeometricCDF StatsGeometricPDF StatsHyperGCDF
    StatsHyperGPDF StatsInvBetaCDF StatsInvBinomialCDF
    StatsInvCMSSDCDF StatsInvCauchyCDF StatsInvChiCDF
    StatsInvDExpCDF StatsInvEValueCDF StatsInvExpCDF
    StatsInvFCDF StatsInvFriedmanCDF StatsInvGammaCDF
    StatsInvGeometricCDF StatsInvKuiperCDF
    StatsInvLogNormalCDF StatsInvLogisticCDF
    StatsInvMaxwellCDF StatsInvMooreCDF
    StatsInvNBinomialCDF StatsInvNCChiCDF StatsInvNCFCDF
    StatsInvNormalCDF StatsInvParetoCDF StatsInvPoissonCDF
    StatsInvPowerCDF StatsInvQCDF StatsInvQpCDF
    StatsInvRayleighCDF StatsInvRectangularCDF
    StatsInvSpearmanCDF StatsInvStudentCDF
    StatsInvTopDownCDF StatsInvTriangularCDF
    StatsInvUsquaredCDF StatsInvVonMisesCDF
    StatsInvWeibullCDF StatsKuiperCDF StatsLogNormalCDF
    StatsLogNormalPDF StatsLogisticCDF StatsLogisticPDF
    StatsMaxwellCDF StatsMaxwellPDF StatsMedian
    StatsMooreCDF StatsNBinomialCDF StatsNBinomialPDF
    StatsNCChiCDF StatsNCChiPDF StatsNCFCDF StatsNCFPDF
    StatsNCTCDF StatsNCTPDF StatsNormalCDF StatsNormalPDF
    StatsParetoCDF StatsParetoPDF StatsPermute
    StatsPoissonCDF StatsPoissonPDF StatsPowerCDF
    StatsPowerNoise StatsPowerPDF StatsQCDF StatsQpCDF
    StatsRayleighCDF StatsRayleighPDF StatsRectangularCDF
    StatsRectangularPDF StatsRunsCDF StatsSpearmanRhoCDF
    StatsStudentCDF StatsStudentPDF StatsTopDownCDF
    StatsTriangularCDF StatsTriangularPDF StatsTrimmedMean
    StatsUSquaredCDF StatsVonMisesCDF StatsVonMisesNoise
    StatsVonMisesPDF StatsWaldCDF StatsWaldPDF
    StatsWeibullCDF StatsWeibullPDF StopMSTimer
    StrVarOrDefault StringByKey StringFromList StringList
    StudentA StudentT TDMAddChannel TDMAddGroup
    TDMAppendDataValues TDMAppendDataValuesTime
    TDMChannelPropertyExists TDMCloseChannel TDMCloseFile
    TDMCloseGroup TDMCreateChannelProperty TDMCreateFile
    TDMCreateFileProperty TDMCreateGroupProperty
    TDMFilePropertyExists TDMGetChannelPropertyNames
    TDMGetChannelPropertyNum TDMGetChannelPropertyStr
    TDMGetChannelPropertyTime TDMGetChannelPropertyType
    TDMGetChannelStringPropertyLen TDMGetChannels
    TDMGetDataType TDMGetDataValues TDMGetDataValuesTime
    TDMGetFilePropertyNames TDMGetFilePropertyNum
    TDMGetFilePropertyStr TDMGetFilePropertyTime
    TDMGetFilePropertyType TDMGetFileStringPropertyLen
    TDMGetGroupPropertyNames TDMGetGroupPropertyNum
    TDMGetGroupPropertyStr TDMGetGroupPropertyTime
    TDMGetGroupPropertyType TDMGetGroupStringPropertyLen
    TDMGetGroups TDMGetLibraryErrorDescription
    TDMGetNumChannelProperties TDMGetNumChannels
    TDMGetNumDataValues TDMGetNumFileProperties
    TDMGetNumGroupProperties TDMGetNumGroups
    TDMGroupPropertyExists TDMOpenFile TDMOpenFileEx
    TDMRemoveChannel TDMRemoveGroup TDMReplaceDataValues
    TDMReplaceDataValuesTime TDMSaveFile
    TDMSetChannelPropertyNum TDMSetChannelPropertyStr
    TDMSetChannelPropertyTime TDMSetDataValues
    TDMSetDataValuesTime TDMSetFilePropertyNum
    TDMSetFilePropertyStr TDMSetFilePropertyTime
    TDMSetGroupPropertyNum TDMSetGroupPropertyStr
    TDMSetGroupPropertyTime TableInfo TagVal TagWaveRef
    TextEncodingCode TextEncodingName TextFile
    ThreadGroupCreate ThreadGroupGetDF ThreadGroupGetDFR
    ThreadGroupRelease ThreadGroupWait ThreadProcessorCount
    ThreadReturnValue TraceFromPixel TraceInfo
    TraceNameList TraceNameToWaveRef TrimString URLDecode
    URLEncode UnPadString UniqueName
    UnsetEnvironmentVariable UpperStr VariableList Variance
    VoigtFunc VoigtPeak WaveCRC WaveDims WaveExists
    WaveHash WaveInfo WaveList WaveMax WaveMin WaveName
    WaveRefIndexed WaveRefIndexedDFR WaveRefWaveToList
    WaveRefsEqual WaveTextEncoding WaveType WaveUnits
    WhichListItem WinList WinName WinRecreation WinType
    XWaveName XWaveRefFromTrace ZernikeR abs acos acosh
    alog area areaXY asin asinh atan atan2 atanh beta betai
    binomial binomialNoise binomialln cabs ceil cequal
    char2num chebyshev chebyshevU cmplx cmpstr conj cos
    cosIntegral cosh cot coth cpowi csc csch date date2secs
    datetime defined deltax digamma dilogarithm ei enoise
    equalWaves erf erfc erfcw exists exp expInt
    expIntegralE1 expNoise fDAQmx_AI_GetReader
    fDAQmx_AO_UpdateOutputs fDAQmx_CTR_Finished
    fDAQmx_CTR_IsFinished fDAQmx_CTR_IsPulseFinished
    fDAQmx_CTR_ReadCounter fDAQmx_CTR_ReadWithOptions
    fDAQmx_CTR_SetPulseFrequency fDAQmx_CTR_Start
    fDAQmx_ConnectTerminals fDAQmx_DIO_Finished
    fDAQmx_DIO_PortWidth fDAQmx_DIO_Read fDAQmx_DIO_Write
    fDAQmx_DeviceNames fDAQmx_DisconnectTerminals
    fDAQmx_ErrorString fDAQmx_ExternalCalDate
    fDAQmx_NumAnalogInputs fDAQmx_NumAnalogOutputs
    fDAQmx_NumCounters fDAQmx_NumDIOPorts fDAQmx_ReadChan
    fDAQmx_ReadNamedChan fDAQmx_ResetDevice
    fDAQmx_ScanGetAvailable fDAQmx_ScanGetNextIndex
    fDAQmx_ScanStart fDAQmx_ScanStop fDAQmx_ScanWait
    fDAQmx_ScanWaitWithTimeout fDAQmx_SelfCalDate
    fDAQmx_SelfCalibration fDAQmx_WF_IsFinished
    fDAQmx_WF_WaitUntilFinished fDAQmx_WaveformStart
    fDAQmx_WaveformStop fDAQmx_WriteChan factorial fakedata
    faverage faverageXY floor gamma gammaEuler gammaInc
    gammaNoise gammln gammp gammq gcd gnoise hcsr hermite
    hermiteGauss imag interp inverseERF inverseERFC leftx
    limit ln log logNormalNoise lorentzianNoise magsqr max
    mean median min mod norm note num2char num2istr num2str
    numpnts numtype p2rect pcsr pnt2x poissonNoise poly
    poly2D qcsr r2polar real rightx round sawtooth
    scaleToIndex sec sech sign sin sinIntegral sinc sinh
    sqrt str2num stringCRC stringmatch strlen strsearch sum
    tan tango_close_device tango_command_inout
    tango_compute_image_proj tango_get_dev_attr_list
    tango_get_dev_black_box tango_get_dev_cmd_list
    tango_get_dev_status tango_get_dev_timeout
    tango_get_error_stack tango_open_device
    tango_ping_device tango_read_attribute
    tango_read_attributes tango_reload_dev_interface
    tango_resume_attr_monitor tango_set_attr_monitor_period
    tango_set_dev_timeout tango_start_attr_monitor
    tango_stop_attr_monitor tango_suspend_attr_monitor
    tango_write_attribute tango_write_attributes tanh ticks
    time trunc vcsr viAssertIntrSignal viAssertTrigger
    viAssertUtilSignal viClear viClose viDisableEvent
    viDiscardEvents viEnableEvent viFindNext viFindRsrc
    viGetAttribute viGetAttributeString viGpibCommand
    viGpibControlATN viGpibControlREN viGpibPassControl
    viGpibSendIFC viIn16 viIn32 viIn8 viLock viMapAddress
    viMapTrigger viMemAlloc viMemFree viMoveIn16 viMoveIn32
    viMoveIn8 viMoveOut16 viMoveOut32 viMoveOut8 viOpen
    viOpenDefaultRM viOut16 viOut32 viOut8 viPeek16
    viPeek32 viPeek8 viPoke16 viPoke32 viPoke8 viRead
    viReadSTB viSetAttribute viSetAttributeString
    viStatusDesc viTerminate viUnlock viUnmapAddress
    viUnmapTrigger viUsbControlIn viUsbControlOut
    viVxiCommandQuery viWaitOnEvent viWrite wnoise x2pnt
    xcsr zcsr zeromq_client_connect zeromq_client_connect
    zeromq_client_recv zeromq_client_recv
    zeromq_client_send zeromq_client_send
    zeromq_handler_start zeromq_handler_start
    zeromq_handler_stop zeromq_handler_stop
    zeromq_server_bind zeromq_server_bind
    zeromq_server_recv zeromq_server_recv
    zeromq_server_send zeromq_server_send zeromq_set
    zeromq_set zeromq_stop zeromq_stop
    zeromq_test_callfunction zeromq_test_callfunction
    zeromq_test_serializeWave zeromq_test_serializeWave
    zeta
  )
end

.igorOperationObject



322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
# File 'lib/rouge/lexers/igorpro.rb', line 322

def self.igorOperation
  @igorOperation ||= Set.new %w(
    APMath Abort AddFIFOData AddFIFOVectData AddMovieAudio
    AddMovieFrame AddWavesToBoxPlot AddWavesToViolinPlot
    AdoptFiles Append AppendBoxPlot AppendImage
    AppendLayoutObject AppendMatrixContour AppendText
    AppendToGizmo AppendToGraph AppendToLayout
    AppendToTable AppendViolinPlot AppendXYZContour
    AutoPositionWindow AxonTelegraphFindServers
    BackgroundInfo Beep BoundingBall BoxSmooth BrowseURL
    BuildMenu Button CWT Chart CheckBox CheckDisplayed
    ChooseColor Close CloseHelp CloseMovie CloseProc
    ColorScale ColorTab2Wave Concatenate ControlBar
    ControlInfo ControlUpdate
    ConvertGlobalStringTextEncoding ConvexHull Convolve
    CopyDimLabels CopyFile CopyFolder CopyScales Correlate
    CreateAliasShortcut CreateBrowser Cross CtrlBackground
    CtrlFIFO CtrlNamedBackground Cursor CurveFit
    CustomControl DAQmx_AI_SetupReader DAQmx_AO_SetOutputs
    DAQmx_CTR_CountEdges DAQmx_CTR_OutputPulse
    DAQmx_CTR_Period DAQmx_CTR_PulseWidth DAQmx_DIO_Config
    DAQmx_DIO_WriteNewData DAQmx_Scan DAQmx_WaveformGen
    DPSS DSPDetrend DSPPeriodogram DWT Debugger
    DebuggerOptions DefaultFont DefaultGuiControls
    DefaultGuiFont DefaultTextEncoding DefineGuide
    DelayUpdate DeleteAnnotations DeleteFile DeleteFolder
    DeletePoints Differentiate Display DisplayHelpTopic
    DisplayProcedure DoAlert DoIgorMenu DoUpdate DoWindow
    DoXOPIdle DrawAction DrawArc DrawBezier DrawLine
    DrawOval DrawPICT DrawPoly DrawRRect DrawRect DrawText
    DrawUserShape Duplicate DuplicateDataFolder EdgeStats
    Edit ErrorBars EstimatePeakSizes Execute
    ExecuteScriptText ExperimentInfo ExperimentModified
    ExportGizmo Extract FBinRead FBinWrite FFT FGetPos
    FIFO2Wave FIFOStatus FMaxFlat FPClustering FReadLine
    FSetPos FStatus FTPCreateDirectory FTPDelete
    FTPDownload FTPUpload FastGaussTransform FastOp
    FilterFIR FilterIIR FindAPeak FindContour
    FindDuplicates FindLevel FindLevels FindPeak
    FindPointsInPoly FindRoots FindSequence FindValue
    FuncFit FuncFitMD GBLoadWave GISCreateVectorLayer
    GISGetRasterInfo GISGetRegisteredFileInfo
    GISGetVectorLayerInfo GISLoadRasterData
    GISLoadVectorData GISRasterizeVectorData
    GISRegisterFile GISTransformCoords GISUnRegisterFile
    GISWriteFieldData GISWriteGeometryData GISWriteRaster
    GPIB2 GPIBRead2 GPIBReadBinary2 GPIBReadBinaryWave2
    GPIBReadWave2 GPIBWrite2 GPIBWriteBinary2
    GPIBWriteBinaryWave2 GPIBWriteWave2 GetAxis GetCamera
    GetFileFolderInfo GetGizmo GetLastUserMenuInfo
    GetMarquee GetMouse GetSelection GetWindow GraphNormal
    GraphWaveDraw GraphWaveEdit Grep GroupBox
    HDF5CloseFile HDF5CloseGroup HDF5ConvertColors
    HDF5CreateFile HDF5CreateGroup HDF5CreateLink HDF5Dump
    HDF5DumpErrors HDF5DumpState HDF5FlushFile
    HDF5ListAttributes HDF5ListGroup HDF5LoadData
    HDF5LoadGroup HDF5LoadImage HDF5OpenFile HDF5OpenGroup
    HDF5SaveData HDF5SaveGroup HDF5SaveImage
    HDF5TestOperation HDF5UnlinkObject HDFInfo
    HDFReadImage HDFReadSDS HDFReadVset Hanning
    HideIgorMenus HideInfo HideProcedures HideTools
    HilbertTransform Histogram ICA IFFT ITCCloseAll2
    ITCCloseDevice2 ITCConfigAllChannels2
    ITCConfigChannel2 ITCConfigChannelReset2
    ITCConfigChannelUpload2 ITCFIFOAvailable2
    ITCFIFOAvailableAll2 ITCGetAllChannelsConfig2
    ITCGetChannelConfig2 ITCGetCurrentDevice2
    ITCGetDeviceInfo2 ITCGetDevices2 ITCGetErrorString2
    ITCGetSerialNumber2 ITCGetState2 ITCGetVersions2
    ITCInitialize2 ITCOpenDevice2 ITCReadADC2
    ITCReadDigital2 ITCReadTimer2 ITCSelectDevice2
    ITCSetDAC2 ITCSetGlobals2 ITCSetModes2 ITCSetState2
    ITCStartAcq2 ITCStopAcq2 ITCUpdateFIFOPosition2
    ITCUpdateFIFOPositionAll2 ITCWriteDigital2
    ImageAnalyzeParticles ImageBlend ImageBoundaryToMask
    ImageComposite ImageEdgeDetection ImageFileInfo
    ImageFilter ImageFocus ImageFromXYZ ImageGLCM
    ImageGenerateROIMask ImageHistModification
    ImageHistogram ImageInterpolate ImageLineProfile
    ImageLoad ImageMorphology ImageRegistration
    ImageRemoveBackground ImageRestore ImageRotate
    ImageSave ImageSeedFill ImageSkeleton3d ImageSnake
    ImageStats ImageThreshold ImageTransform
    ImageUnwrapPhase ImageWindow IndexSort InsertPoints
    Integrate Integrate2D IntegrateODE Interp3DPath
    Interpolate2 Interpolate3D JCAMPLoadWave
    JointHistogram KMeans KillBackground KillControl
    KillDataFolder KillFIFO KillFreeAxis KillPICTs
    KillPath KillStrings KillVariables KillWaves
    KillWindow Label Layout LayoutPageAction
    LayoutSlideShow Legend LinearFeedbackShiftRegister
    ListBox LoadData LoadPICT LoadPackagePreferences
    LoadWave Loess LombPeriodogram MCC_FindServers
    MFR_CheckForNewBricklets MFR_CloseResultFile
    MFR_CreateOverviewTable MFR_GetBrickletCount
    MFR_GetBrickletData MFR_GetBrickletDeployData
    MFR_GetBrickletMetaData MFR_GetBrickletRawData
    MFR_GetReportTemplate MFR_GetResultFileMetaData
    MFR_GetResultFileName MFR_GetVernissageVersion
    MFR_GetVersion MFR_GetXOPErrorMessage
    MFR_OpenResultFile
    MLLoadWave Make MakeIndex MarkPerfTestTime
    MatrixConvolve MatrixCorr MatrixEigenV MatrixFilter
    MatrixGLM MatrixGaussJ MatrixInverse MatrixLLS
    MatrixLUBkSub MatrixLUD MatrixLUDTD MatrixLinearSolve
    MatrixLinearSolveTD MatrixMultiply MatrixOP
    MatrixSVBkSub MatrixSVD MatrixSchur MatrixSolve
    MatrixTranspose MeasureStyledText Modify ModifyBoxPlot
    ModifyBrowser ModifyCamera ModifyContour ModifyControl
    ModifyControlList ModifyFreeAxis ModifyGizmo
    ModifyGraph ModifyImage ModifyLayout ModifyPanel
    ModifyTable ModifyViolinPlot ModifyWaterfall
    MoveDataFolder MoveFile MoveFolder MoveString
    MoveSubwindow MoveVariable MoveWave MoveWindow
    MultiTaperPSD MultiThreadingControl NC_CloseFile
    NC_DumpErrors NC_Inquire NC_ListAttributes
    NC_ListObjects NC_LoadData NC_OpenFile NI4882
    NILoadWave NeuralNetworkRun NeuralNetworkTrain
    NewCamera NewDataFolder NewFIFO NewFIFOChan
    NewFreeAxis NewGizmo NewImage NewLayout NewMovie
    NewNotebook NewPanel NewPath NewWaterfall Note
    Notebook NotebookAction Open OpenHelp OpenNotebook
    Optimize PCA ParseOperationTemplate PathInfo
    PauseForUser PauseUpdate PlayMovie PlayMovieAction
    PlaySound PopupContextualMenu PopupMenu Preferences
    PrimeFactors Print PrintGraphs PrintLayout
    PrintNotebook PrintSettings PrintTable Project
    PulseStats PutScrapText Quit RatioFromNumber
    Redimension Remez Remove RemoveContour RemoveFromGizmo
    RemoveFromGraph RemoveFromLayout RemoveFromTable
    RemoveImage RemoveLayoutObjects RemovePath Rename
    RenameDataFolder RenamePICT RenamePath RenameWindow
    ReorderImages ReorderTraces ReplaceText ReplaceWave
    Resample ResumeUpdate Reverse Rotate SQLHighLevelOp
    STFT Save SaveData SaveExperiment SaveGizmoCopy
    SaveGraphCopy SaveNotebook SavePICT
    SavePackagePreferences SaveTableCopy
    SetActiveSubwindow SetAxis SetBackground
    SetDashPattern SetDataFolder SetDimLabel SetDrawEnv
    SetDrawLayer SetFileFolderInfo SetFormula
    SetIdlePeriod SetIgorHook SetIgorMenuMode
    SetIgorOption SetMarquee SetProcessSleep SetRandomSeed
    SetScale SetVariable SetWaveLock SetWaveTextEncoding
    SetWindow ShowIgorMenus ShowInfo ShowTools Silent
    Sleep Slider Smooth SmoothCustom Sort SortColumns
    SoundInRecord SoundInSet SoundInStartChart
    SoundInStatus SoundInStopChart SoundLoadWave
    SoundSaveWave SphericalInterpolate
    SphericalTriangulate SplitString SplitWave Stack
    StackWindows StatsANOVA1Test StatsANOVA2NRTest
    StatsANOVA2RMTest StatsANOVA2Test
    StatsAngularDistanceTest StatsChiTest
    StatsCircularCorrelationTest StatsCircularMeans
    StatsCircularMoments StatsCircularTwoSampleTest
    StatsCochranTest StatsContingencyTable StatsDIPTest
    StatsDunnettTest StatsFTest StatsFriedmanTest
    StatsHodgesAjneTest StatsJBTest StatsKDE StatsKSTest
    StatsKWTest StatsKendallTauTest
    StatsLinearCorrelationTest StatsLinearRegression
    StatsMultiCorrelationTest StatsNPMCTest
    StatsNPNominalSRTest StatsQuantiles
    StatsRankCorrelationTest StatsResample StatsSRTest
    StatsSample StatsScheffeTest StatsShapiroWilkTest
    StatsSignTest StatsTTest StatsTukeyTest
    StatsVariancesTest StatsWRCorrelationTest
    StatsWatsonUSquaredTest StatsWatsonWilliamsTest
    StatsWheelerWatsonTest StatsWilcoxonRankTest String
    StructFill StructGet StructPut SumDimension SumSeries
    TDMLoadData TDMSaveData TabControl Tag TextBox
    ThreadGroupPutDF ThreadStart TickWavesFromAxis Tile
    TileWindows TitleBox ToCommandLine ToolsGrid
    Triangulate3d URLRequest Unwrap VDT2 VDTClosePort2
    VDTGetPortList2 VDTGetStatus2 VDTOpenPort2
    VDTOperationsPort2 VDTRead2 VDTReadBinary2
    VDTReadBinaryWave2 VDTReadHex2 VDTReadHexWave2
    VDTReadWave2 VDTTerminalPort2 VDTWrite2
    VDTWriteBinary2 VDTWriteBinaryWave2 VDTWriteHex2
    VDTWriteHexWave2 VDTWriteWave2 VISAControl VISARead
    VISAReadBinary VISAReadBinaryWave VISAReadWave
    VISAWrite VISAWriteBinary VISAWriteBinaryWave
    VISAWriteWave ValDisplay Variable WaveMeanStdv
    WaveStats WaveTransform WignerTransform WindowFunction
    XLLoadWave cd dir fprintf printf pwd sprintf sscanf
    wfprintf
  )
end

.keywordsObject



14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/rouge/lexers/igorpro.rb', line 14

def self.keywords
  @keywords ||= Set.new %w(
    structure endstructure
    threadsafe static
    macro proc window menu function end
    if else elseif endif switch strswitch endswitch
    break return continue
    for endfor do while
    case default
    try catch endtry
    abortonrte
  )
end

.object_nameObject



509
510
511
# File 'lib/rouge/lexers/igorpro.rb', line 509

def self.object_name
  /\b[a-z][a-z0-9_\.]*?\b/i
end

.preprocessorObject



28
29
30
31
32
33
34
# File 'lib/rouge/lexers/igorpro.rb', line 28

def self.preprocessor
  @preprocessor ||= Set.new %w(
    pragma include
    define ifdef ifndef undef
    if elif else endif
  )
end