Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
_asy_builtins.py1645 linesDownload Raw Back to lexers
1"""2    pygments.lexers._asy_builtins3    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 5    This file contains the asy-function names and asy-variable names of6    Asymptote.7 8    Do not edit the ASYFUNCNAME and ASYVARNAME sets by hand.9    TODO: perl/python script in Asymptote SVN similar to asy-list.pl but only10    for function and variable names.11 12    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.13    :license: BSD, see LICENSE for details.14"""15 16ASYFUNCNAME = {17    'AND',18    'Arc',19    'ArcArrow',20    'ArcArrows',21    'Arrow',22    'Arrows',23    'Automatic',24    'AvantGarde',25    'BBox',26    'BWRainbow',27    'BWRainbow2',28    'Bar',29    'Bars',30    'BeginArcArrow',31    'BeginArrow',32    'BeginBar',33    'BeginDotMargin',34    'BeginMargin',35    'BeginPenMargin',36    'Blank',37    'Bookman',38    'Bottom',39    'BottomTop',40    'Bounds',41    'Break',42    'Broken',43    'BrokenLog',44    'Ceil',45    'Circle',46    'CircleBarIntervalMarker',47    'Cos',48    'Courier',49    'CrossIntervalMarker',50    'DefaultFormat',51    'DefaultLogFormat',52    'Degrees',53    'Dir',54    'DotMargin',55    'DotMargins',56    'Dotted',57    'Draw',58    'Drawline',59    'Embed',60    'EndArcArrow',61    'EndArrow',62    'EndBar',63    'EndDotMargin',64    'EndMargin',65    'EndPenMargin',66    'Fill',67    'FillDraw',68    'Floor',69    'Format',70    'Full',71    'Gaussian',72    'Gaussrand',73    'Gaussrandpair',74    'Gradient',75    'Grayscale',76    'Helvetica',77    'Hermite',78    'HookHead',79    'InOutTicks',80    'InTicks',81    'J',82    'Label',83    'Landscape',84    'Left',85    'LeftRight',86    'LeftTicks',87    'Legend',88    'Linear',89    'Link',90    'Log',91    'LogFormat',92    'Margin',93    'Margins',94    'Mark',95    'MidArcArrow',96    'MidArrow',97    'NOT',98    'NewCenturySchoolBook',99    'NoBox',100    'NoMargin',101    'NoModifier',102    'NoTicks',103    'NoTicks3',104    'NoZero',105    'NoZeroFormat',106    'None',107    'OR',108    'OmitFormat',109    'OmitTick',110    'OutTicks',111    'Ox',112    'Oy',113    'Palatino',114    'PaletteTicks',115    'Pen',116    'PenMargin',117    'PenMargins',118    'Pentype',119    'Portrait',120    'RadialShade',121    'Rainbow',122    'Range',123    'Relative',124    'Right',125    'RightTicks',126    'Rotate',127    'Round',128    'SQR',129    'Scale',130    'ScaleX',131    'ScaleY',132    'ScaleZ',133    'Seascape',134    'Shift',135    'Sin',136    'Slant',137    'Spline',138    'StickIntervalMarker',139    'Straight',140    'Symbol',141    'Tan',142    'TeXify',143    'Ticks',144    'Ticks3',145    'TildeIntervalMarker',146    'TimesRoman',147    'Top',148    'TrueMargin',149    'UnFill',150    'UpsideDown',151    'Wheel',152    'X',153    'XEquals',154    'XOR',155    'XY',156    'XYEquals',157    'XYZero',158    'XYgrid',159    'XZEquals',160    'XZZero',161    'XZero',162    'XZgrid',163    'Y',164    'YEquals',165    'YXgrid',166    'YZ',167    'YZEquals',168    'YZZero',169    'YZero',170    'YZgrid',171    'Z',172    'ZX',173    'ZXgrid',174    'ZYgrid',175    'ZapfChancery',176    'ZapfDingbats',177    '_cputime',178    '_draw',179    '_eval',180    '_image',181    '_labelpath',182    '_projection',183    '_strokepath',184    '_texpath',185    'aCos',186    'aSin',187    'aTan',188    'abort',189    'abs',190    'accel',191    'acos',192    'acosh',193    'acot',194    'acsc',195    'add',196    'addArrow',197    'addMargins',198    'addSaveFunction',199    'addnode',200    'addnodes',201    'addpenarc',202    'addpenline',203    'addseg',204    'adjust',205    'alias',206    'align',207    'all',208    'altitude',209    'angabscissa',210    'angle',211    'angpoint',212    'animate',213    'annotate',214    'anticomplementary',215    'antipedal',216    'apply',217    'approximate',218    'arc',219    'arcarrowsize',220    'arccircle',221    'arcdir',222    'arcfromcenter',223    'arcfromfocus',224    'arclength',225    'arcnodesnumber',226    'arcpoint',227    'arcsubtended',228    'arcsubtendedcenter',229    'arctime',230    'arctopath',231    'array',232    'arrow',233    'arrow2',234    'arrowbase',235    'arrowbasepoints',236    'arrowsize',237    'asec',238    'asin',239    'asinh',240    'ask',241    'assert',242    'asy',243    'asycode',244    'asydir',245    'asyfigure',246    'asyfilecode',247    'asyinclude',248    'asywrite',249    'atan',250    'atan2',251    'atanh',252    'atbreakpoint',253    'atexit',254    'atime',255    'attach',256    'attract',257    'atupdate',258    'autoformat',259    'autoscale',260    'autoscale3',261    'axes',262    'axes3',263    'axialshade',264    'axis',265    'axiscoverage',266    'azimuth',267    'babel',268    'background',269    'bangles',270    'bar',271    'barmarksize',272    'barsize',273    'basealign',274    'baseline',275    'bbox',276    'beep',277    'begin',278    'beginclip',279    'begingroup',280    'beginpoint',281    'between',282    'bevel',283    'bezier',284    'bezierP',285    'bezierPP',286    'bezierPPP',287    'bezulate',288    'bibliography',289    'bibliographystyle',290    'binarytree',291    'binarytreeNode',292    'binomial',293    'binput',294    'bins',295    'bisector',296    'bisectorpoint',297    'blend',298    'boutput',299    'box',300    'bqe',301    'breakpoint',302    'breakpoints',303    'brick',304    'buildRestoreDefaults',305    'buildRestoreThunk',306    'buildcycle',307    'bulletcolor',308    'canonical',309    'canonicalcartesiansystem',310    'cartesiansystem',311    'case1',312    'case2',313    'case3',314    'cbrt',315    'cd',316    'ceil',317    'center',318    'centerToFocus',319    'centroid',320    'cevian',321    'change2',322    'changecoordsys',323    'checkSegment',324    'checkconditionlength',325    'checker',326    'checklengths',327    'checkposition',328    'checktriangle',329    'choose',330    'circle',331    'circlebarframe',332    'circlemarkradius',333    'circlenodesnumber',334    'circumcenter',335    'circumcircle',336    'clamped',337    'clear',338    'clip',339    'clipdraw',340    'close',341    'cmyk',342    'code',343    'colatitude',344    'collect',345    'collinear',346    'color',347    'colorless',348    'colors',349    'colorspace',350    'comma',351    'compassmark',352    'complement',353    'complementary',354    'concat',355    'concurrent',356    'cone',357    'conic',358    'conicnodesnumber',359    'conictype',360    'conj',361    'connect',362    'containmentTree',363    'contains',364    'contour',365    'contour3',366    'controlSpecifier',367    'convert',368    'coordinates',369    'coordsys',370    'copy',371    'cos',372    'cosh',373    'cot',374    'countIntersections',375    'cputime',376    'crop',377    'cropcode',378    'cross',379    'crossframe',380    'crosshatch',381    'crossmarksize',382    'csc',383    'cubicroots',384    'curabscissa',385    'curlSpecifier',386    'curpoint',387    'currentarrow',388    'currentexitfunction',389    'currentmomarrow',390    'currentpolarconicroutine',391    'curve',392    'cut',393    'cutafter',394    'cutbefore',395    'cyclic',396    'cylinder',397    'debugger',398    'deconstruct',399    'defaultdir',400    'defaultformat',401    'defaultpen',402    'defined',403    'degenerate',404    'degrees',405    'delete',406    'deletepreamble',407    'determinant',408    'diagonal',409    'diamond',410    'diffdiv',411    'dir',412    'dirSpecifier',413    'dirtime',414    'display',415    'distance',416    'divisors',417    'do_overpaint',418    'dot',419    'dotframe',420    'dotsize',421    'downcase',422    'draw',423    'drawAll',424    'drawDoubleLine',425    'drawFermion',426    'drawGhost',427    'drawGluon',428    'drawMomArrow',429    'drawPhoton',430    'drawScalar',431    'drawVertex',432    'drawVertexBox',433    'drawVertexBoxO',434    'drawVertexBoxX',435    'drawVertexO',436    'drawVertexOX',437    'drawVertexTriangle',438    'drawVertexTriangleO',439    'drawVertexX',440    'drawarrow',441    'drawarrow2',442    'drawline',443    'drawtick',444    'duplicate',445    'elle',446    'ellipse',447    'ellipsenodesnumber',448    'embed',449    'embed3',450    'empty',451    'enclose',452    'end',453    'endScript',454    'endclip',455    'endgroup',456    'endl',457    'endpoint',458    'endpoints',459    'eof',460    'eol',461    'equation',462    'equations',463    'erase',464    'erasestep',465    'erf',466    'erfc',467    'error',468    'errorbar',469    'errorbars',470    'eval',471    'excenter',472    'excircle',473    'exit',474    'exitXasyMode',475    'exitfunction',476    'exp',477    'expfactors',478    'expi',479    'expm1',480    'exradius',481    'extend',482    'extension',483    'extouch',484    'fabs',485    'factorial',486    'fermat',487    'fft',488    'fhorner',489    'figure',490    'file',491    'filecode',492    'fill',493    'filldraw',494    'filloutside',495    'fillrule',496    'filltype',497    'find',498    'finite',499    'finiteDifferenceJacobian',500    'firstcut',501    'firstframe',502    'fit',503    'fit2',504    'fixedscaling',505    'floor',506    'flush',507    'fmdefaults',508    'fmod',509    'focusToCenter',510    'font',511    'fontcommand',512    'fontsize',513    'foot',514    'format',515    'frac',516    'frequency',517    'fromCenter',518    'fromFocus',519    'fspline',520    'functionshade',521    'gamma',522    'generate_random_backtrace',523    'generateticks',524    'gergonne',525    'getc',526    'getint',527    'getpair',528    'getreal',529    'getstring',530    'gettriple',531    'gluon',532    'gouraudshade',533    'graph',534    'graphic',535    'gray',536    'grestore',537    'grid',538    'grid3',539    'gsave',540    'halfbox',541    'hatch',542    'hdiffdiv',543    'hermite',544    'hex',545    'histogram',546    'history',547    'hline',548    'hprojection',549    'hsv',550    'hyperbola',551    'hyperbolanodesnumber',552    'hyperlink',553    'hypot',554    'identity',555    'image',556    'incenter',557    'incentral',558    'incircle',559    'increasing',560    'incrementposition',561    'indexedTransform',562    'indexedfigure',563    'initXasyMode',564    'initdefaults',565    'input',566    'inradius',567    'insert',568    'inside',569    'integrate',570    'interactive',571    'interior',572    'interp',573    'interpolate',574    'intersect',575    'intersection',576    'intersectionpoint',577    'intersectionpoints',578    'intersections',579    'intouch',580    'inverse',581    'inversion',582    'invisible',583    'is3D',584    'isDuplicate',585    'isogonal',586    'isogonalconjugate',587    'isotomic',588    'isotomicconjugate',589    'isparabola',590    'italic',591    'item',592    'key',593    'kurtosis',594    'kurtosisexcess',595    'label',596    'labelaxis',597    'labelmargin',598    'labelpath',599    'labels',600    'labeltick',601    'labelx',602    'labelx3',603    'labely',604    'labely3',605    'labelz',606    'labelz3',607    'lastcut',608    'latex',609    'latitude',610    'latticeshade',611    'layer',612    'layout',613    'ldexp',614    'leastsquares',615    'legend',616    'legenditem',617    'length',618    'lift',619    'light',620    'limits',621    'line',622    'linear',623    'linecap',624    'lineinversion',625    'linejoin',626    'linemargin',627    'lineskip',628    'linetype',629    'linewidth',630    'link',631    'list',632    'lm_enorm',633    'lm_evaluate_default',634    'lm_lmdif',635    'lm_lmpar',636    'lm_minimize',637    'lm_print_default',638    'lm_print_quiet',639    'lm_qrfac',640    'lm_qrsolv',641    'locale',642    'locate',643    'locatefile',644    'location',645    'log',646    'log10',647    'log1p',648    'logaxiscoverage',649    'longitude',650    'lookup',651    'magnetize',652    'makeNode',653    'makedraw',654    'makepen',655    'map',656    'margin',657    'markangle',658    'markangleradius',659    'markanglespace',660    'markarc',661    'marker',662    'markinterval',663    'marknodes',664    'markrightangle',665    'markuniform',666    'mass',667    'masscenter',668    'massformat',669    'math',670    'max',671    'max3',672    'maxbezier',673    'maxbound',674    'maxcoords',675    'maxlength',676    'maxratio',677    'maxtimes',678    'mean',679    'medial',680    'median',681    'midpoint',682    'min',683    'min3',684    'minbezier',685    'minbound',686    'minipage',687    'minratio',688    'mintimes',689    'miterlimit',690    'momArrowPath',691    'momarrowsize',692    'monotonic',693    'multifigure',694    'nativeformat',695    'natural',696    'needshipout',697    'newl',698    'newpage',699    'newslide',700    'newton',701    'newtree',702    'nextframe',703    'nextnormal',704    'nextpage',705    'nib',706    'nodabscissa',707    'none',708    'norm',709    'normalvideo',710    'notaknot',711    'nowarn',712    'numberpage',713    'nurb',714    'object',715    'offset',716    'onpath',717    'opacity',718    'opposite',719    'orientation',720    'orig_circlenodesnumber',721    'orig_circlenodesnumber1',722    'orig_draw',723    'orig_ellipsenodesnumber',724    'orig_ellipsenodesnumber1',725    'orig_hyperbolanodesnumber',726    'orig_parabolanodesnumber',727    'origin',728    'orthic',729    'orthocentercenter',730    'outformat',731    'outline',732    'outprefix',733    'output',734    'overloadedMessage',735    'overwrite',736    'pack',737    'pad',738    'pairs',739    'palette',740    'parabola',741    'parabolanodesnumber',742    'parallel',743    'partialsum',744    'path',745    'path3',746    'pattern',747    'pause',748    'pdf',749    'pedal',750    'periodic',751    'perp',752    'perpendicular',753    'perpendicularmark',754    'phantom',755    'phi1',756    'phi2',757    'phi3',758    'photon',759    'piecewisestraight',760    'point',761    'polar',762    'polarconicroutine',763    'polargraph',764    'polygon',765    'postcontrol',766    'postscript',767    'pow10',768    'ppoint',769    'prc',770    'prc0',771    'precision',772    'precontrol',773    'prepend',774    'print_random_addresses',775    'project',776    'projection',777    'purge',778    'pwhermite',779    'quadrant',780    'quadraticroots',781    'quantize',782    'quarticroots',783    'quotient',784    'radialshade',785    'radians',786    'radicalcenter',787    'radicalline',788    'radius',789    'rand',790    'randompath',791    'rd',792    'readline',793    'realmult',794    'realquarticroots',795    'rectangle',796    'rectangular',797    'rectify',798    'reflect',799    'relabscissa',800    'relative',801    'relativedistance',802    'reldir',803    'relpoint',804    'reltime',805    'remainder',806    'remark',807    'removeDuplicates',808    'rename',809    'replace',810    'report',811    'resetdefaultpen',812    'restore',813    'restoredefaults',814    'reverse',815    'reversevideo',816    'rf',817    'rfind',818    'rgb',819    'rgba',820    'rgbint',821    'rms',822    'rotate',823    'rotateO',824    'rotation',825    'round',826    'roundbox',827    'roundedpath',828    'roundrectangle',829    'samecoordsys',830    'sameside',831    'sample',832    'save',833    'savedefaults',834    'saveline',835    'scale',836    'scale3',837    'scaleO',838    'scaleT',839    'scaleless',840    'scientific',841    'search',842    'searchtree',843    'sec',844    'secondaryX',845    'secondaryY',846    'seconds',847    'section',848    'sector',849    'seek',850    'seekeof',851    'segment',852    'sequence',853    'setpens',854    'sgn',855    'sgnd',856    'sharpangle',857    'sharpdegrees',858    'shift',859    'shiftless',860    'shipout',861    'shipout3',862    'show',863    'side',864    'simeq',865    'simpson',866    'sin',867    'single',868    'sinh',869    'size',870    'size3',871    'skewness',872    'skip',873    'slant',874    'sleep',875    'slope',876    'slopefield',877    'solve',878    'solveBVP',879    'sort',880    'sourceline',881    'sphere',882    'split',883    'sqrt',884    'square',885    'srand',886    'standardizecoordsys',887    'startScript',888    'startTrembling',889    'stdev',890    'step',891    'stickframe',892    'stickmarksize',893    'stickmarkspace',894    'stop',895    'straight',896    'straightness',897    'string',898    'stripdirectory',899    'stripextension',900    'stripfile',901    'strokepath',902    'subdivide',903    'subitem',904    'subpath',905    'substr',906    'sum',907    'surface',908    'symmedial',909    'symmedian',910    'system',911    'tab',912    'tableau',913    'tan',914    'tangent',915    'tangential',916    'tangents',917    'tanh',918    'tell',919    'tensionSpecifier',920    'tensorshade',921    'tex',922    'texcolor',923    'texify',924    'texpath',925    'texpreamble',926    'texreset',927    'texshipout',928    'texsize',929    'textpath',930    'thick',931    'thin',932    'tick',933    'tickMax',934    'tickMax3',935    'tickMin',936    'tickMin3',937    'ticklabelshift',938    'ticklocate',939    'tildeframe',940    'tildemarksize',941    'tile',942    'tiling',943    'time',944    'times',945    'title',946    'titlepage',947    'topbox',948    'transform',949    'transformation',950    'transpose',951    'tremble',952    'trembleFuzz',953    'tremble_circlenodesnumber',954    'tremble_circlenodesnumber1',955    'tremble_draw',956    'tremble_ellipsenodesnumber',957    'tremble_ellipsenodesnumber1',958    'tremble_hyperbolanodesnumber',959    'tremble_marknodes',960    'tremble_markuniform',961    'tremble_parabolanodesnumber',962    'triangle',963    'triangleAbc',964    'triangleabc',965    'triangulate',966    'tricoef',967    'tridiagonal',968    'trilinear',969    'trim',970    'trueMagnetize',971    'truepoint',972    'tube',973    'uncycle',974    'unfill',975    'uniform',976    'unit',977    'unitrand',978    'unitsize',979    'unityroot',980    'unstraighten',981    'upcase',982    'updatefunction',983    'uperiodic',984    'upscale',985    'uptodate',986    'usepackage',987    'usersetting',988    'usetypescript',989    'usleep',990    'value',991    'variance',992    'variancebiased',993    'vbox',994    'vector',995    'vectorfield',996    'verbatim',997    'view',998    'vline',999    'vperiodic',1000    'vprojection',1001    'warn',1002    'warning',1003    'windingnumber',1004    'write',1005    'xaxis',1006    'xaxis3',1007    'xaxis3At',1008    'xaxisAt',1009    'xequals',1010    'xinput',1011    'xlimits',1012    'xoutput',1013    'xpart',1014    'xscale',1015    'xscaleO',1016    'xtick',1017    'xtick3',1018    'xtrans',1019    'yaxis',1020    'yaxis3',1021    'yaxis3At',1022    'yaxisAt',1023    'yequals',1024    'ylimits',1025    'ypart',1026    'yscale',1027    'yscaleO',1028    'ytick',1029    'ytick3',1030    'ytrans',1031    'zaxis3',1032    'zaxis3At',1033    'zero',1034    'zero3',1035    'zlimits',1036    'zpart',1037    'ztick',1038    'ztick3',1039    'ztrans'1040}1041 1042ASYVARNAME = {1043    'AliceBlue',1044    'Align',1045    'Allow',1046    'AntiqueWhite',1047    'Apricot',1048    'Aqua',1049    'Aquamarine',1050    'Aspect',1051    'Azure',1052    'BeginPoint',1053    'Beige',1054    'Bisque',1055    'Bittersweet',1056    'Black',1057    'BlanchedAlmond',1058    'Blue',1059    'BlueGreen',1060    'BlueViolet',1061    'Both',1062    'Break',1063    'BrickRed',1064    'Brown',1065    'BurlyWood',1066    'BurntOrange',1067    'CCW',1068    'CW',1069    'CadetBlue',1070    'CarnationPink',1071    'Center',1072    'Centered',1073    'Cerulean',1074    'Chartreuse',1075    'Chocolate',1076    'Coeff',1077    'Coral',1078    'CornflowerBlue',1079    'Cornsilk',1080    'Crimson',1081    'Crop',1082    'Cyan',1083    'Dandelion',1084    'DarkBlue',1085    'DarkCyan',1086    'DarkGoldenrod',1087    'DarkGray',1088    'DarkGreen',1089    'DarkKhaki',1090    'DarkMagenta',1091    'DarkOliveGreen',1092    'DarkOrange',1093    'DarkOrchid',1094    'DarkRed',1095    'DarkSalmon',1096    'DarkSeaGreen',1097    'DarkSlateBlue',1098    'DarkSlateGray',1099    'DarkTurquoise',1100    'DarkViolet',1101    'DeepPink',1102    'DeepSkyBlue',1103    'DefaultHead',1104    'DimGray',1105    'DodgerBlue',1106    'Dotted',1107    'Draw',1108    'E',1109    'ENE',1110    'EPS',1111    'ESE',1112    'E_Euler',1113    'E_PC',1114    'E_RK2',1115    'E_RK3BS',1116    'Emerald',1117    'EndPoint',1118    'Euler',1119    'Fill',1120    'FillDraw',1121    'FireBrick',1122    'FloralWhite',1123    'ForestGreen',1124    'Fuchsia',1125    'Gainsboro',1126    'GhostWhite',1127    'Gold',1128    'Goldenrod',1129    'Gray',1130    'Green',1131    'GreenYellow',1132    'Honeydew',1133    'HookHead',1134    'Horizontal',1135    'HotPink',1136    'I',1137    'IgnoreAspect',1138    'IndianRed',1139    'Indigo',1140    'Ivory',1141    'JOIN_IN',1142    'JOIN_OUT',1143    'JungleGreen',1144    'Khaki',1145    'LM_DWARF',1146    'LM_MACHEP',1147    'LM_SQRT_DWARF',1148    'LM_SQRT_GIANT',1149    'LM_USERTOL',1150    'Label',1151    'Lavender',1152    'LavenderBlush',1153    'LawnGreen',1154    'LeftJustified',1155    'LeftSide',1156    'LemonChiffon',1157    'LightBlue',1158    'LightCoral',1159    'LightCyan',1160    'LightGoldenrodYellow',1161    'LightGreen',1162    'LightGrey',1163    'LightPink',1164    'LightSalmon',1165    'LightSeaGreen',1166    'LightSkyBlue',1167    'LightSlateGray',1168    'LightSteelBlue',1169    'LightYellow',1170    'Lime',1171    'LimeGreen',1172    'Linear',1173    'Linen',1174    'Log',1175    'Logarithmic',1176    'Magenta',1177    'Mahogany',1178    'Mark',1179    'MarkFill',1180    'Maroon',1181    'Max',1182    'MediumAquamarine',1183    'MediumBlue',1184    'MediumOrchid',1185    'MediumPurple',1186    'MediumSeaGreen',1187    'MediumSlateBlue',1188    'MediumSpringGreen',1189    'MediumTurquoise',1190    'MediumVioletRed',1191    'Melon',1192    'MidPoint',1193    'MidnightBlue',1194    'Min',1195    'MintCream',1196    'MistyRose',1197    'Moccasin',1198    'Move',1199    'MoveQuiet',1200    'Mulberry',

Showing the first 1,200 of 1645 lines. Download the file for the rest.

codekingpro/portable-devtools · Team Ai