hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
588 values
lang
stringclasses
305 values
max_stars_repo_path
stringlengths
3
363
max_stars_repo_name
stringlengths
5
118
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringdate
2015-01-01 00:00:35
2022-03-31 23:43:49
max_stars_repo_stars_event_max_datetime
stringdate
2015-01-01 12:37:38
2022-03-31 23:59:52
max_issues_repo_path
stringlengths
3
363
max_issues_repo_name
stringlengths
5
118
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
363
max_forks_repo_name
stringlengths
5
135
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringdate
2015-01-01 00:01:02
2022-03-31 23:27:27
max_forks_repo_forks_event_max_datetime
stringdate
2015-01-03 08:55:07
2022-03-31 23:59:24
content
stringlengths
5
1.05M
avg_line_length
float64
1.13
1.04M
max_line_length
int64
1
1.05M
alphanum_fraction
float64
0
1
3259635a3f517e5205edd81dfef7f6b006441214
161
yaml
YAML
config/packages/messenger.yaml
alfablac/api-users
c7d9db5b80057d83c1af3c41cf26fad1f824f41a
[ "Apache-2.0" ]
null
null
null
config/packages/messenger.yaml
alfablac/api-users
c7d9db5b80057d83c1af3c41cf26fad1f824f41a
[ "Apache-2.0" ]
null
null
null
config/packages/messenger.yaml
alfablac/api-users
c7d9db5b80057d83c1af3c41cf26fad1f824f41a
[ "Apache-2.0" ]
null
null
null
framework: messenger: default_bus: command.bus buses: command.bus: middleware: - validation
17.888889
32
0.459627
651065412bddd8449a6924085213e2a7bd2e022f
508
yml
YAML
conf/cmi/paragraphs.paragraphs_type.liftup_with_image.yml
tim-koprivnik-ad/drupal-asuntotuotanto
9e035d31eca9d6fb17b92721b6a316884b2535a2
[ "MIT" ]
null
null
null
conf/cmi/paragraphs.paragraphs_type.liftup_with_image.yml
tim-koprivnik-ad/drupal-asuntotuotanto
9e035d31eca9d6fb17b92721b6a316884b2535a2
[ "MIT" ]
127
2021-10-20T07:43:41.000Z
2022-03-09T10:19:07.000Z
conf/cmi/paragraphs.paragraphs_type.liftup_with_image.yml
tim-koprivnik-ad/drupal-asuntotuotanto
9e035d31eca9d6fb17b92721b6a316884b2535a2
[ "MIT" ]
4
2020-10-20T10:15:44.000Z
2021-11-11T08:09:25.000Z
uuid: 397caf8d-1b55-43f8-ae84-5b54b52367bd langcode: en status: true dependencies: module: - paragraphs_library third_party_settings: paragraphs_library: allow_library_conversion: true _core: default_config_hash: yLsRpgwe6vpWN8KXT927fq9GfVzAbLiI6RLF2PLNCTI id: liftup_with_image label: 'Liftup with image' icon_uuid: null icon_default: null description: 'Liftup with image is a fairly large element that you can use to promote content with large image next to the text.' behavior_plugins: { }
28.222222
129
0.811024
5edd47ec8e5238055580c6e3b8f093af848f96dd
13,318
yaml
YAML
src/data/grammar/mtg/community/tournament-hijinks.yaml
GoodGamery/mtgnewsbot
e0d912c5b7fc0f76c2c6535eb74697fa1fbaf699
[ "MIT" ]
2
2018-04-26T19:55:00.000Z
2020-02-26T17:58:40.000Z
src/data/grammar/mtg/community/tournament-hijinks.yaml
mdiehr/mtgnewsbot
e0d912c5b7fc0f76c2c6535eb74697fa1fbaf699
[ "MIT" ]
41
2017-07-07T07:57:26.000Z
2017-08-10T20:43:14.000Z
src/data/grammar/mtg/community/tournament-hijinks.yaml
mdiehr/mtgnewsbot
e0d912c5b7fc0f76c2c6535eb74697fa1fbaf699
[ "MIT" ]
5
2017-07-06T17:38:18.000Z
2017-08-08T18:29:21.000Z
disqualifyingAction: - "[_reading:reading every card's,repeatedly reading #randomRealCard#'s]#_reading# flavor text aloud" - smirking - "refusing to wear [_wearWhat:a shirt,pants,shoes,socks,#clothingOrAccessory.aIfNeeded#,an ankle monitor,a shock collar,a GoPro]#_wearWhat#" - "slowly encroaching #their# [_thing:cards,spindown dice,playmat,#creatureTypes# tokens,#gameAccessory#,#bodypartsInPairs#]#_thing# into #their# opponent's play area" - "using [_system:eye blinks,tiny flags,mirrors,judge calls][_signal:baseball hand signals,a sophisticated system of #_system#,a well-trained #animal#]#_signal# to[_how:, secretly]#_how# communicate with [_who:a teammate,#person#,#their# #personRelationalUnique#]#_who#" - getting a bit too close to the truth - "making [_sound:'dive bombing',motorcycle,low-pitched wimpering,'karate','car alarm','farting',loud yodeling,'laser']#_sound# [_noises:noises,sounds]#_noises# while casting removal on #their# opponents' creatures" - flexing - "failing to use #their# turn signal when changing lanes" - "[_behavior:breakdancing,howling pitifully,complaining loudly,blaming the shuffler,removing an article of clothing]#_behavior# after every [_result:victory,victory,loss]#_result#" - 'repeatedly using the [_phraseOrTerm:phrase "#mtgCatchphrase.capitalize#",term "#mtgSlangTerm#"]#_phraseOrTerm#' - failing to file a tax return - abusing the hospitality of the judging staff - "peeking at #their# opponents' cards with [_what:a telescoping mirror,a tiny camera hidden in #their# #bodypart#,a surveillance #animal#,a giant novelty magifying glass]#_what#" - "impersonating [_who:#creatureTypeOrCharacterClass.a#,#person#,#historicalFigure#]#_who#[_how:, without a permit,#comma# badly, in poor taste, despite repeated warnings]#_how#" - "[_adding:adding,adding #count#]#_adding# [_extra:extra,unregistered]#_extra# copies of #randomAnyCard# to #their# [_where:deck,card pool,#deck# deck]#_where#" - "using [_counterfeit:a counterfeit #gameAccessory#,counterfeit #gameAccessory.s#,counterfeit copies of #randomAnyCard#]#_counterfeit#" - "carrying a concealed #itemNoun# into the tournament venue" - "[_verbing:#verbStrictlyIntransitiveGerund#,looking,behaving]#_verbing# like [_adj:#mood#,#adjCorporeal#][_who:#_adj.a# #creatureTypeOrCharacterClass#,#person#,#historicalFigure#]#_who#" - '[_saying:saying,shouting,screaming,muttering,whispering]repeatedly #_saying# "#mtgCatchphrase.capitalize#" [_circumstance:and revealing #cardCopyCount# #copies# of #randomRealCard# after every match,to the judges,to everybody within earshot,during the lunch break,and revealing #their# #bodypartsInPairs# after every match]#_circumstance#' - "attempting to bribe [_who:a judge,#their# opponent,#person#]#_who# with [_what:a single copy of #randomAnyCard#,#adj.a# #itemNoun#,#largeAmount.a# of #massNoun#]#_what#" - "insisting that #randomAnyCard# is playable in #format#" - conduct unbecoming an officer and a gentleman - unspecified rudeness - "#verbStrictlyIntransitiveGerund# in clear violation of the tournament guidelines" - "registering a [_count:#num1-9#,#num1-99#,#num1-999#]#_count#-card deck and [_count:#num1-9#,#num1-99#,#num1-999#]#_count.a#-card sideboard" - inciting a very small riot - attempting to organize a tontine - 'playing [_game:"got your nose","52-card pickup","pull my finger",the "circle game"]#_game# with [_who:#their# opponent,#pro#]#_who#' - "killing [_what:a goat,#creatureTypes.a#,#animal.a#]#_what# to read its entrails" - "not using #their# indoor voice" - shuffling wrong - "burning [_what:popcorn,popcorn,#massNoun#]#_what# in the venue microwave" - not having Book Burning - harassing the local wildlife - "[_standup:standup of #historicalFigure#,#character# standup]propositioning a cardboard #_standup#" - "[_proTheir:#their#][_personality:#historicalFigure#,#character#]refusing to break character from #_proTheir# cosplay of #_personality#" - "[_adjective:,excessive ,inappropriate ,unenthusiastic ][_activity:crunking,swooping,icing,roughing of the passer,use of jazz hands,rushing]#_adjective# #_activity#" - "using [_art:mismatched basics,a playset #randomRealCard.s# with mismatched art]#_art#" - not appreciating the value of friendship - telling sweet little lies - "leaving #their# turn signal on for far too long" - "[_what:recording,videotaping,liveblogging,borrowing tournament materials,selling magazine subscriptions,getting up to use the restroom]#_what# without the express written permission of [_organization:the NFL,the DCI,#officialEntity#,#their# #personRelationalUnique#,the tournament organizer]#_organization#" - "releasing #animalGroup.a# into the tournament venue" - "tapping #their# cards [_how:counterclockwise,360 degrees,with a pair of chopsticks,using only #their# #bodyPart#,along the wrong axis]#_how#" - "[_mocking:mocking,ridiculing,making fun of,making light of]#_mocking# the magic storyline" - "throwing [_what:cards,#their# deck,#their# sideboard,#gameAccessory.a#, unsleeved copies of #randomRealCard#]#_what# across the table and shouting at [_who:#their# opponents,#person#]#_who#" - ugly sleeves - "using [_sleeveType:anime,Ultra PRO,penny,holographic,blatantly mismatched]#_sleeveType# sleeves" - "continuing to play as if #they# #are# town" - "offering to determine the match outcome via [_method:arm wrestling,thumb wrestling,a riddling contest,a staring contest,a hands-against-a-hard-body contest]#_method#" - trying to make fetch happen - not waiting for Floral Spuzzem to decide which artifact to destroy - attempting to draw the game with Fatespinner - attempting to file for compensation - improperly handling silverware - "blatant product placement[_when:, during a feature match, on #their# deck registration sheet]#_when#" - "attempting to convince #hijinksTarget# to [_what:“deck swap”,give #them# a piggyback ride,add copies of #randomRealCard# to #their# card pool#s#,drop from the tournament]#_what#" - "banishing [_who:players,#pro#]#_who# to the Shadow Realm" - "flipping the table after every [_what:win,win,loss,loss,mulligan,round,deck check,judge call]#_what#" - "[_act:mocking,teasing,badgering,harassing,conspiring with,swapping decks with,soliciting strategy advice from][_who:a small child,#pro#'s #personRelationalUnique#,#mood.a# #animal#]#_act# #_who#" - "[_how:flagrantly,aggressively,eagerly,thirstily][_verb:chugging,shotgunning,guzzling][_what:PBRs,Mountain Dew,decaf coffee,La Croix,kombucha,Red Bull and zinfandel,motor oil,Easy Cheese,health juice,off-brand cola,Cool Whip,fancy mustards,barbeque sauce,cologne testers,#massNoun#]#_how# #_verb# #_what# between rounds" - "[_emoting:enthusiastically pantomiming,physically acting out,creatively narrating]#_emoting# each of #their# spells" - "playing #count# Explores" - "fancy play" - "#crime#" - "#crime#" hijinksTarget: - "#their# opponents#pluralPronouns#[s:s]" - "#person#[s:]" teamDisqualifyingAction: - '[_swapping:swapping,changing]#_swapping# outfits with each other between every round' - 'insisting on being [_called:called,referred to as,addressed as]#_called# "The #adj.capitalizeAll# #creatureTypeOrCharacterClass.capitalizeAll.s#"' - 'communicating through an elaborate system of clicks and whistles' - '[_singularNoun:#singularNoun#]wearing [_matching:matching,custom,hand-made]#_matching# t-shirts that say "#tshirtPhrase.capitalizeAll#"' - '[#pluralPronouns#]#disqualifyingAction#' - 'acutally being just [_what:one person in a very large costume,nine kids in three adult-sized suits,one person who kept changing hats]#_what#' - fighting over who gets the middle seat - "scouting [_what:opponents' decklists,opponents' sideboards,opponents' #gameAccessory.s#,potential dinner dates,for their new modeling agency,for their farm league team,the judge's amazon wishlists]#_what#" - sitting on each other's laps - continuing to play as if they are town - insisting that they're playing emperor - forming a Super PAC - attempting to regrow heads for R apiece - using fake moustaches to register twice and get better pairings tshirtPhrase: - "#singularNoun# #noun#" - "[_noun1:#singularNoun#][_noun2:#singularNoun#,#singularNoun#,#singularNoun#,#playerCategory#]#_noun1# #_noun2#" - "Not My #creatureTypeOrCharacterClass#" - "Show Me The #pluralNounOrMassNoun#" - I'm drafting [_what:#deckLimitedArchetype#,#basicColors#,#mtgColors#,#cardCategory.s#,#cardCategoryClassTerm#]#_what# - "[_personality:#historicalFigure#,#pro#,#character#]Free #_personality#" - "[_personality:#historicalFigure#,#pro#,#character#]I ❤ #_personality#" - "[_noun:#abstractNoun#,#singularNoun#,#emotion#]#_noun# #nounVagueConcept#" - "I'm drafting #cardCategoryClassTerm#" - "[_personality:#historicalFigure#,#character#]I'm with #_personality#" dumbScenario: "[_their:#their#][_them:#them#][_they:#they#]#_dumbScenario#" _dumbScenario: - "[_lobby:push #officialEntity# to,ask #officialEntity# to,plead with #officialEntity# to,try to,attempt to]#_lobby# [_goal:bring back damage on the stack,bring back mana burn,make mana weaving legal again,bring back the planeswalker redirection rule,return to the inclusion real-world references in flavor text,bring back mana burn]#_goal#" - 'join the development team of #_their# fantasy [_game:CCG,TCG,roleplaying game,miniatures game,tabletop game] [_gameName:"#creatureTypes# #placeNoun#","Zoxelorn #count#","#abstractMassOrPluralNounOrEmotion# #_fantasyCharacterClass#","#itemNoun# #_scenarioNoun#","#characterClass# #groupNoun##colon# #tabletopGameSuffix#","#creatureTypes# #_scenarioNoun##colon# the #abstractNoun#", "#characterClass.s# of #locationRealOrFantasy#"]#_game# #_gameName.capitalizeAll#' - "[_join:join,donate to,participate in,help launch][_initiative:initiative,campaign,drive,effort,project,raffle,fundraiser]#_join# #_their# \"#charity.capitalizeAll#\" #_initiative#" - participate in their [_magicType:Two-Headed Giant,Pauper EDH,Vintage Singleton,No LD/No Counters/No Burn]#_magicType# invitational tournament - "participate in #_their# #format# invitational tournament" - "covertly collect information on #pro# in order to [_rule:learn #their# shuffling routine,learn what #they# look#s# like naked,know what hate cards to board in against #their# #deck# deck,destroy their reputation,understand why #they# think#s# #gameConcept# #_is# so important]#_rule#" - "[_infiltrate:infiltrate,travel to,break into,sneak into,stage a rally at]#_infiltrate# WOTC headquarters and [_topic:#informalRule#,the NWO,the #constructedFormat# banlist,declining print quality,the judge program,the Arena economy][_act:destroy the reserved list,trash MaRo's desk,pee in the Mana Pool,steal the Shivan Dragon statue,fall asleep in The Pit,petition for the construction of #character.a# statue,confront #officialEntityPerson# about #_topic#,steal the #teaserCardSet# godbook]#_act#" - "teach #_them# how to win the #deck# matchup" - "[_what:fix MTGO so that it works properly,fix the shuffler,fix the launch problems with MTG Arena,fix the #constructedFormat# banlist,address the #mtgQuestionablePractice# problem in #popularFormat#]#_what#" - "help #_them# [_cardOrSet:#randomAnyCard#,#randomCardSet#][_playset:#realBadCard# playset,playset of #_cardOrSet#,#cardCategory# collection][_forEvent:, for #event#][_prepare:prepare,playtest][_goal:complete #_their# #_playset#,tune #_their# #deckArch# decklist#_forEvent#,#_prepare# for #event#]#_goal#" - "[_join:join,join up with,come aboard,defect to,abandon,become a mole for,dump]#_join# Team #team#" - "[_quit:quit,give up][_activity:go #nounActivity# together,#_quit# Magic for #nounActivity#,take up #nounActivity#,run a #nounActivity# scam]#_activity#" - "[_ventureDesc:illegal,underground,illict,secret,shady][_shop:LGS,game store][_venture:open #_ventureDesc.a# #_shop#,build #_ventureDesc.a# #placeNoun#,start #_ventureDesc.a# trading site]#_venture# [_where:together,together in #city#,in #city#,in #city#]#_where#" - "design [_desc:flashy,playable,#cardQuality#,new][_card:#rarity#,#cardCategoryTerm#,legendary #creatureTypes#,#cardTypes#]#_desc.a# #_card# for #teaserCardSet#" - "[_throw:throw,fix,go down in][_rnd:quarterfinal,semifinal,final][_roundOf:#_rnd# round of,#_rnd.s# at]#_throw# the #_roundOf# #tournament#" - "[_item:playtesting results,#constructedFormat# decklists,match result data,#gameAccessory.s#,#descriptiveCard#,#clothingOrAccessory.aIfNeeded#][_who:#pro#,Team #team#]steal #_item# from #_who#" _fantasyCharacterClass: - "#fantasyCharacterClass#" - "#fantasyCharacterPluralClass#" fantasyCharacterClass: - mage - warrior - fighter - knight - baron locationRealOrFantasy: - "#nonPlaneStoryLocation#" - "#city#" fantasyCharacterPluralClass: - lords - tribes - farmers - summoners - kings - heroes groupNoun: - squad - batallion - crew - division - cult - brigade - party - force - patrol - bros. _scenarioNoun: - "#collectiveActionOrRealm#" - "#_scenarioNoun#" scenarioNoun: - heist - attack - war - battle - throwdown - smackdown - showdown - quest - legacy - age - race - assault - alert - clash - legacy - party - corps - rally - encounter - brawl fateSuffix: - cide tabletopGameSuffix: - legacy - the game - "[_gameType:the board,the card,the adventure card,the living card,a #placeNoun# game]#_gameType# game" - "#creatureTypeOrCharacterClass.s# vs. #creatureTypeOrCharacterClass.s#"
68.297436
502
0.772939
17fe1e6d9fc850a322794473ba686ca188f2bcee
296
yaml
YAML
src/utils/config_loader_generator/presto_configs/connectors/bigquery.yaml
mpolatcan/presto-docker
191f35498c2c060d0a8e29ecf3450414abaa6ba4
[ "Apache-2.0" ]
1
2018-07-21T17:50:53.000Z
2018-07-21T17:50:53.000Z
src/utils/config_loader_generator/presto_configs/connectors/bigquery.yaml
mpolatcan/presto-docker
191f35498c2c060d0a8e29ecf3450414abaa6ba4
[ "Apache-2.0" ]
null
null
null
src/utils/config_loader_generator/presto_configs/connectors/bigquery.yaml
mpolatcan/presto-docker
191f35498c2c060d0a8e29ecf3450414abaa6ba4
[ "Apache-2.0" ]
null
null
null
connector.name: "=bigquery" bigquery: project-id: "NULL" parent-project-id: "NULL" parallelism: "NULL" views-enabled: "NULL" view-materialization-project: "NULL" view-materialization-dataset: "NULL" max-read-rows-retries: "NULL" credentials-key: "NULL" credentials-file: "NULL"
24.666667
38
0.712838
423cf0037c613ff72a0622e729b29b21f371e489
2,667
yaml
YAML
packages/pi/pipes-text.yaml
commercialhaskell/all-cabal-metadata
902ff2131e450cb4653ba7a420d465c9a6735057
[ "MIT" ]
10
2016-01-04T00:09:51.000Z
2021-02-01T02:20:05.000Z
packages/pi/pipes-text.yaml
commercialhaskell/all-cabal-metadata
902ff2131e450cb4653ba7a420d465c9a6735057
[ "MIT" ]
1
2018-08-27T20:11:55.000Z
2018-08-27T20:11:55.000Z
packages/pi/pipes-text.yaml
commercialhaskell/all-cabal-metadata
902ff2131e450cb4653ba7a420d465c9a6735057
[ "MIT" ]
12
2016-04-21T04:17:05.000Z
2022-03-27T09:36:12.000Z
homepage: https://github.com/pjones/pipes-text changelog-type: markdown hash: 0e5201cd499edbcbfb32bec59279938039a094b246c41d2c49c27288509a3e28 test-bench-deps: {} maintainer: Peter Jones <pjones@devalot.com> synopsis: properly streaming text changelog: | # Version 1.0.0.0 * New maintainer: Peter Jones * Widen version bounds for dependencies. * The `noio` flag is deprecated and will be removed in the next major release. # Version 0.0.0.12 * Opposing lenses for `lines` and `unlines` and `words` and `unwords`. Brought closer in line with `pipes-bytestring` again. Removed `count`, which was wrong. Scrapped `Iso` and the `profunctors` dependency. # Version 0.0.0.11 * Updated to use streaming-commons in place of text-stream-decoding. # Version 0.0.0.10 * Documentation changes. # Version 0.0.0.9 * Documentation changes. # Version 0.0.0.7 * Used the new text-stream-decoding package * Separated IO and Encoding modules adding flag -fnoio # Version 0.0.0.5 * Rearranged internal modules # Version 0.0.0.4 * Altered bad haddock markup # Version 0.0.0.3 * Actually added changelog # Version 0.0.0.2 * Omit `stdinLn` as likely to be dangerous through misunderstanding. # Version 0.0.0.1 * Rearrange order of 'Internal' materials. basic-deps: streaming-commons: '>=0.1 && <0.3' bytestring: '>=0.9.2.1 && <0.12' base: '>=4 && <5' pipes-bytestring: '>=1.0 && <2.2' pipes-group: ^>=1.0.0 text: '>=0.11.3 && <1.3' pipes-parse: ^>=3.0.0 pipes: '>=4.0 && <4.4' transformers: '>=0.2.0.0 && <0.6' pipes-safe: '>=2.1 && <2.4' all-versions: - 0.0.0.0 - 0.0.0.1 - 0.0.0.2 - 0.0.0.3 - 0.0.0.4 - 0.0.0.5 - 0.0.0.6 - 0.0.0.7 - 0.0.0.8 - 0.0.0.9 - 0.0.0.10 - 0.0.0.11 - 0.0.0.12 - 0.0.0.13 - 0.0.0.14 - 0.0.0.15 - 0.0.0.16 - 0.0.0.17 - 0.0.1.0 - 0.0.2.0 - 0.0.2.1 - 0.0.2.2 - 0.0.2.3 - 0.0.2.4 - 0.0.2.5 - 1.0.0 author: Michael Thompson latest: 1.0.0 description-type: markdown description: | # pipes-text [![tests](https://github.com/pjones/pipes-text/workflows/tests/badge.svg)](https://github.com/pjones/pipes-text/actions) [![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/pjones/pipes-text?label=release)](https://github.com/pjones/pipes-text/releases) [![Hackage](https://img.shields.io/hackage/v/pipes-text)](https://hackage.haskell.org/package/pipes-text) This package follows the rule: pipes-text : pipes-bytestring :: text : bytestring The division of three modules, `Pipes.Text` , `Pipes.Text.Encoding` and `Pipes.Text.IO` has more or less the significance it has in the `text` library. license-name: BSD-3-Clause
22.794872
153
0.661417
6cb9bc0b356e287a9f6721287bd9b46e6e72e798
266
yaml
YAML
content/trees/navigation/footer.yaml
simonhamp/dotme
972d82ce3eeef5e2a0bba5d6038354ddfea38adf
[ "MIT" ]
null
null
null
content/trees/navigation/footer.yaml
simonhamp/dotme
972d82ce3eeef5e2a0bba5d6038354ddfea38adf
[ "MIT" ]
4
2021-08-07T14:12:44.000Z
2022-02-27T15:07:37.000Z
content/trees/navigation/footer.yaml
simonhamp/dotme
972d82ce3eeef5e2a0bba5d6038354ddfea38adf
[ "MIT" ]
null
null
null
tree: - title: GitHub url: 'https://github.com/simonhamp/' - title: Twitter url: 'https://twitter.com/simonhamp' - title: Keybase url: 'https://keybase.io/simonhamp' - title: LinkedIn url: 'https://linkedin.com/in/simonhamp/'
19
45
0.605263
496f2f71a8a7b96bdf36408364dc8d39c2f23a99
550
yaml
YAML
pipeline/simulation/test_configs/config.multi.yaml
liangyy/mixqtl-pipeline
556c983a2e5bb3feaf21a88a72c4a77c98df179d
[ "MIT" ]
2
2021-07-13T22:19:33.000Z
2022-01-27T22:53:00.000Z
pipeline/simulation/test_configs/config.multi.yaml
liangyy/mixqtl-pipeline
556c983a2e5bb3feaf21a88a72c4a77c98df179d
[ "MIT" ]
null
null
null
pipeline/simulation/test_configs/config.multi.yaml
liangyy/mixqtl-pipeline
556c983a2e5bb3feaf21a88a72c4a77c98df179d
[ "MIT" ]
null
null
null
genotype: # name: 'testlist' path: '/scratch/t.cri.yliang/mixqtl-pipeline-results/gen_geno_for_multi_snp_simulation/genotype.{gene}.gz' indiv-list: '/scratch/t.cri.yliang/mixqtl-pipeline-results/gen_geno_for_multi_snp_simulation/EUR.sample_list_in_phase3.txt' Nsample: 100 M: 2 gene-list: name: 'testlist' path: '/scratch/t.cri.yliang/mixqtl-pipeline-results/gen_geno_for_multi_snp_simulation/selected_genes.txt' col: 4 # index of column that contains the gene id parameter_file: name: 'test' path: 'test_configs/param_multi.yaml'
36.666667
125
0.783636
b3b7a1a3e9f96be9e2f6a7b298a834484036e966
1,804
yml
YAML
packer/playbooks/playbook.yml
mccanney/cs807
030a78cbc0f0400daa93cf2903a108965d71f25b
[ "MIT" ]
null
null
null
packer/playbooks/playbook.yml
mccanney/cs807
030a78cbc0f0400daa93cf2903a108965d71f25b
[ "MIT" ]
null
null
null
packer/playbooks/playbook.yml
mccanney/cs807
030a78cbc0f0400daa93cf2903a108965d71f25b
[ "MIT" ]
null
null
null
--- - name: Basic image software installation & configuration hosts: all become: yes vars: base_packages: - "linux-headers-{{ ansible_kernel }}" - build-essential - linux-image-extra-virtual - p7zip-full tasks: - name: Upgrade apt cache and upgrade all packages ansible.builtin.apt: update_cache: yes upgrade: dist - name: Install required base packages ansible.builtin.apt: name: "{{ base_packages }}" state: present update_cache: yes - name: Disable Nouveau Driver ansible.builtin.template: dest: /etc/modprobe.d/blacklist-nvidia-nouveau.conf force: yes group: root mode: "0644" newline_sequence: \n owner: root src: ../files/blacklist-nvidia-nouveau.conf.j2 - name: Download NVIDIA Drivers ansible.builtin.get_url: dest: /home/ubuntu/NVIDIA-Linux-x86_64-460.73.01.run url: https://uk.download.nvidia.com/tesla/460.73.01/NVIDIA-Linux-x86_64-460.73.01.run - name: Download Hashcat ansible.builtin.get_url: dest: /home/ubuntu/hashcat-6.2.1.7z url: https://hashcat.net/files/hashcat-6.2.1.7z - name: Get the rules list ansible.builtin.git: repo: https://github.com/NotSoSecure/password_cracking_rules.git dest: /home/ubuntu/rules - name: Get the RockYou wordlist ansible.builtin.git: repo: https://github.com/danielmiessler/SecLists.git dest: /home/ubuntu/wordlist - name: Copy the password hash file ansible.builtin.template: dest: /home/ubuntu/password.hash force: yes group: ubuntu mode: "0644" newline_sequence: \n owner: ubuntu src: ../../files/password.hash
28.1875
93
0.625277
282bce2e92159b3e4538c054de5419d6dccec22a
3,977
yml
YAML
preview/docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.yml
azure-sdk/azure-docs-sdk-java
66cc376be8bb1e1246731b879cc1f8fba76ea946
[ "CC-BY-4.0", "MIT" ]
5
2021-08-20T15:24:19.000Z
2022-02-20T17:06:14.000Z
docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.yml
azure-sdk/azure-docs-sdk-java
66cc376be8bb1e1246731b879cc1f8fba76ea946
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.yml
azure-sdk/azure-docs-sdk-java
66cc376be8bb1e1246731b879cc1f8fba76ea946
[ "CC-BY-4.0", "MIT" ]
1
2021-08-20T15:24:21.000Z
2021-08-20T15:24:21.000Z
### YamlMime:JavaType uid: "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties" fullName: "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties" name: "ClusterCreateProperties" nameWithType: "ClusterCreateProperties" summary: "The cluster create parameters." inheritances: - "<xref href=\"java.lang.Object\" data-throw-if-not-resolved=\"False\" />" inheritedMembers: - "java.lang.Object.clone()" - "java.lang.Object.equals(java.lang.Object)" - "java.lang.Object.finalize()" - "java.lang.Object.getClass()" - "java.lang.Object.hashCode()" - "java.lang.Object.notify()" - "java.lang.Object.notifyAll()" - "java.lang.Object.toString()" - "java.lang.Object.wait()" - "java.lang.Object.wait(long)" - "java.lang.Object.wait(long,int)" syntax: "public class ClusterCreateProperties" constructors: - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.ClusterCreateProperties()" methods: - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.clusterDefinition()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.clusterVersion()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.computeProfile()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.diskEncryptionProperties()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.kafkaRestProperties()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.minSupportedTlsVersion()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.osType()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.securityProfile()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.storageProfile()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.tier()" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withClusterDefinition(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterDefinition)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withClusterVersion(java.lang.String)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withComputeProfile(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ComputeProfile)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withDiskEncryptionProperties(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.DiskEncryptionProperties)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withKafkaRestProperties(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.KafkaRestProperties)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withMinSupportedTlsVersion(java.lang.String)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withOsType(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.OSType)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withSecurityProfile(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.SecurityProfile)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withStorageProfile(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.StorageProfile)" - "com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ClusterCreateProperties.withTier(com.microsoft.azure.management.hdinsight.v2018_06_01_preview.Tier)" type: "class" metadata: {} package: "com.microsoft.azure.management.hdinsight.v2018_06_01_preview" artifact: com.microsoft.azure.hdinsight.v2018_06_01_preview:azure-mgmt-hdinsight:1.3.2
81.163265
204
0.85391
df48667c768c6129554c49ad2bd4040a78a6f711
347
yml
YAML
.gitpod.yml
debuglevel/greeting-microservice-python
58ab2546eca4bee8099cb208c1a4291ef857c2a0
[ "Unlicense" ]
1
2022-03-24T20:28:43.000Z
2022-03-24T20:28:43.000Z
.gitpod.yml
debuglevel/greeting-microservice-python
58ab2546eca4bee8099cb208c1a4291ef857c2a0
[ "Unlicense" ]
3
2021-03-28T22:28:22.000Z
2021-03-28T22:30:57.000Z
.gitpod.yml
debuglevel/greeting-microservice-python
58ab2546eca4bee8099cb208c1a4291ef857c2a0
[ "Unlicense" ]
null
null
null
image: file: .gitpod.Dockerfile tasks: - init: pip install -r requirements-dev.txt command: uvicorn app.rest.main:fastapi --port=8080 --reload --log-config=app/logging-config.yaml name: Application Server ports: - port: 8080 #onOpen: open-preview # do not open preview, because there is nothing served on / #vscode: # extensions:
24.785714
100
0.720461
f503fc91234ad8bc08f8538629948d2751d5e6a5
2,254
yml
YAML
app/config/routing.yml
abmed-benmoussa/versus
6a9bafda3ba9d87054c682976da1749df3d8a18c
[ "MIT" ]
null
null
null
app/config/routing.yml
abmed-benmoussa/versus
6a9bafda3ba9d87054c682976da1749df3d8a18c
[ "MIT" ]
null
null
null
app/config/routing.yml
abmed-benmoussa/versus
6a9bafda3ba9d87054c682976da1749df3d8a18c
[ "MIT" ]
null
null
null
app_tournament: resource: "@AppBundle/Controller/TournamentController.php" type: annotation app_equipos: resource: "@AppBundle/Controller/TeamController.php" type: annotation app_api: resource: "@AppBundle/Controller/ApiController.php" type: annotation app_player: resource: "@AppBundle/Controller/PlayerController.php" type: annotation app: #resource: '@AppBundle/Controller/' #type: annotation resource: '@AppBundle/Resources/config/routing.yml' prefix: / #backend: # resource: "@BackendBundle/Resources/config/routing.yml" # prefix: / easy_admin_bundle: resource: "@EasyAdminBundle/Controller/" type: annotation prefix: /admin #fos_user: # resource: "@FOSUserBundle/Resources/config/routing/all.xml" #hwi_oauth_redirect: # resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml" # prefix: /login/connect #facebook_login: # path: /login/login_facebook fos_user_security: resource: "@FOSUserBundle/Resources/config/routing/security.xml" fos_user_profile: resource: "@FOSUserBundle/Resources/config/routing/profile.xml" prefix: /profile fos_user_register: resource: "@FOSUserBundle/Resources/config/routing/registration.xml" prefix: /register fos_user_resetting: resource: "@FOSUserBundle/Resources/config/routing/resetting.xml" prefix: /resetting fos_user_change_password: resource: "@FOSUserBundle/Resources/config/routing/change_password.xml" prefix: /profile #HWIOAuthBundle routes hwi_oauth_security: resource: "@HWIOAuthBundle/Resources/config/routing/login.xml" prefix: /login hwi_oauth_connect: resource: "@HWIOAuthBundle/Resources/config/routing/connect.xml" prefix: /login hwi_oauth_redirect: resource: "@HWIOAuthBundle/Resources/config/routing/redirect.xml" prefix: /login facebook_login: path: /login/check-facebook #path: /login/facebook google_login: path: /login/check-google fos_js_routing: resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml" adesigns_calendar: resource: "@ADesignsCalendarBundle/Resources/config/routing.xml"
27.487805
76
0.716948
46f7a3a3efd3d9ddbf00a025739a99b60be13da2
678
yml
YAML
releases/git-multibranch-resource/git-multibranch-resource-1.yml
starkandwayne/git-multibranch-resource-boshrelease
81bd00e0ec25cf5a0131f8e99738119a57c677d5
[ "Apache-2.0" ]
null
null
null
releases/git-multibranch-resource/git-multibranch-resource-1.yml
starkandwayne/git-multibranch-resource-boshrelease
81bd00e0ec25cf5a0131f8e99738119a57c677d5
[ "Apache-2.0" ]
null
null
null
releases/git-multibranch-resource/git-multibranch-resource-1.yml
starkandwayne/git-multibranch-resource-boshrelease
81bd00e0ec25cf5a0131f8e99738119a57c677d5
[ "Apache-2.0" ]
null
null
null
--- packages: - name: git-multibranch-resource version: 376c495342f7b6218439e2272910df50e5ec4548 fingerprint: 376c495342f7b6218439e2272910df50e5ec4548 sha1: a0d5888b0598bfc7a8177b1d864e37c9f53ad1e3 dependencies: [] jobs: - name: git-multibranch-resource version: e4fda57be2016b87e38068406b0e285c6ffb16e5 fingerprint: e4fda57be2016b87e38068406b0e285c6ffb16e5 sha1: cb8dad2a8408d24e55c08e32693d8c4816489b2d license: version: 4c5a2fc47efe32c2efa9bbdab52c95c7f9221682 fingerprint: 4c5a2fc47efe32c2efa9bbdab52c95c7f9221682 sha1: 8911a53415511c2bc7ca71efff904ea05c02074b commit_hash: 75891d3e uncommitted_changes: false name: git-multibranch-resource version: '1'
32.285714
55
0.864307
aa5c2cb7e52f52c675dcd7b7c19a692520ff258b
2,089
yml
YAML
discordplus/emotes/travel.yml
Ashenguard/DiscordPlus
94d2226c4e12cb2f4215cd956f19c7adf4420e9a
[ "MIT" ]
null
null
null
discordplus/emotes/travel.yml
Ashenguard/DiscordPlus
94d2226c4e12cb2f4215cd956f19c7adf4420e9a
[ "MIT" ]
null
null
null
discordplus/emotes/travel.yml
Ashenguard/DiscordPlus
94d2226c4e12cb2f4215cd956f19c7adf4420e9a
[ "MIT" ]
null
null
null
red_car: "🚗" taxi: "🚕" blue_car: "🚙" pickup_truck: "🛻" bus: "🚌" trolleybus: "🚎" race_car: "🏎️" police_car: "🚓" ambulance: "🚑" scooter: "🛴" motorized_wheelchair: "🦼" manual_wheelchair: "🦽" probing_cane: "🦯" tractor: "🚜" articulated_lorry: "🚛" truck: "🚚" minibus: "🚐" fire_engine: "🚒" bike: "🚲" motor_scooter: "🛵" motorcycle: "🏍️" auto_rickshaw: "🛺" rotating_light: "🚨" oncoming_police_car: "🚔" oncoming_bus: "🚍" oncoming_automobile: "🚘" oncoming_taxi: "🚖" bullettrain_front: "🚅" bullettrain_side: "🚄" monorail: "🚝" mountain_railway: "🚞" train: "🚋" railway_car: "🚃" suspension_railway: "🚟" mountain_cableway: "🚠" aerial_tramway: "🚡" light_rail: "🚈" steam_locomotive: "🚂" train2: "🚆" metro: "🚇" tram: "🚊" station: "🚉" airplane: "✈️" airplane_departure: "🛫" airplane_arriving: "🛬" speedboat: "🚤" sailboat: "⛵" canoe: "🛶" helicopter: "🚁" flying_saucer: "🛸" rocket: "🚀" satellite_orbital: "🛰️" seat: "💺" airplane_small: "🛩️" motorboat: "🛥️" cruise_ship: "🛳️" ferry: "⛴️" ship: "🚢" anchor: "⚓" fuelpump: "⛽" construction: "🚧" vertical_traffic_light: "🚦" traffic_light: "🚥" ferris_wheel: "🎡" stadium: "🏟️" japanese_castle: "🏯" european_castle: "🏰" tokyo_tower: "🗼" statue_of_liberty: "🗽" moyai: "🗿" map: "🗺️" busstop: "🚏" roller_coaster: "🎢" carousel_horse: "🎠" fountain: "⛲" beach_umbrella: "⛱️" beach: "🏖️" island: "🏝️" desert: "🏜️" volcano: "🌋" mountain: "⛰️" hut: "🛖" house_abandoned: "🏚️" homes: "🏘️" house_with_garden: "🏡" house: "🏠" tent: "⛺" camping: "🏕️" mount_fuji: "🗻" mountain_snow: "🏔️" construction_site: "🏗️" factory: "🏭" office: "🏢" department_store: "🏬" post_office: "🏣" european_post_office: "🏤" hospital: "🏥" bank: "🏦" hotel: "🏨" hindu_temple: "🛕" synagogue: "🕍" mosque: "🕌" church: "⛪" classical_building: "🏛️" wedding: "💒" love_hotel: "🏩" school: "🏫" convenience_store: "🏪" kaaba: "🕋" shinto_shrine: "⛩️" railway_track: "🛤️" motorway: "🛣️" japan: "🗾" rice_scene: "🎑" park: "🏞️" sunrise: "🌅" sunrise_over_mountains: "🌄" bridge_at_night: "🌉" milky_way: "🌌" night_with_stars: "🌃" cityscape: "🏙️" city_dusk: "🌆" city_sunset: "🌇" fireworks: "🎆" sparkler: "🎇" stars: "🌠" foggy: "🌁"
16.320313
27
0.622786
83b4e9b615762be29a012bb2da9525e6dbf884d9
82,538
yaml
YAML
pygluu/kubernetes/templates/helm/gluu/charts/config/templates/upgrade-ldap-101-jans.yaml
danilosoarescardoso/cloud-native-edition
b8aa66119dc4440b1ca3741a4065c9ae7feb42fb
[ "Apache-2.0" ]
1
2021-04-04T04:25:49.000Z
2021-04-04T04:25:49.000Z
pygluu/kubernetes/templates/helm/gluu/charts/config/templates/upgrade-ldap-101-jans.yaml
danilosoarescardoso/cloud-native-edition
b8aa66119dc4440b1ca3741a4065c9ae7feb42fb
[ "Apache-2.0" ]
null
null
null
pygluu/kubernetes/templates/helm/gluu/charts/config/templates/upgrade-ldap-101-jans.yaml
danilosoarescardoso/cloud-native-edition
b8aa66119dc4440b1ca3741a4065c9ae7feb42fb
[ "Apache-2.0" ]
null
null
null
{{- if .Values.global.upgrade.enabled }} {{- if or (eq .Values.global.cnPersistenceType "ldap") (eq .Values.global.cnPersistenceType "hybrid") }} # License terms and conditions for Gluu Cloud Native Edition: # https://www.apache.org/licenses/LICENSE-2.0 apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-oxjans namespace: {{ .Release.Namespace }} labels: {{ include "config.labels" . | indent 4 }} {{- if .Values.additionalLabels }} {{ toYaml .Values.additionalLabels | indent 4 }} {{- end }} annotations: "helm.sh/hook": pre-upgrade "helm.sh/hook-weight": "0" "helm.sh/hook-delete-policy": before-hook-creation {{- if .Values.additionalAnnotations }} {{ toYaml .Values.additionalAnnotations | indent 4 }} {{- end }} data: 101-jans.ldif: |+ dn: cn=schema objectClass: top objectClass: ldapSubentry objectClass: subschema cn: schema attributeTypes: ( 1.3.6.1.4.1.48710.1.3.1 NAME 'jansAssociatedClnt' DESC 'Associate the dn of an OAuth2 client with a person or UMA Resource Set.' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.2 NAME 'county' DESC 'ISO 3166-1 Alpha-2 Country Code' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.3 NAME 'creationDate' DESC 'Creation Date used for password reset requests' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.4 NAME 'jansDefScope' DESC 'Track the default scope for an custom OAuth2 Scope.' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.5 NAME 'jansAttrViewTyp' DESC 'Specify in exclude who can view an attribute, admin or user' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.6 NAME 'jansAttrEditTyp' DESC 'Specify in exclude who can update an attribute, admin or user' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.7 NAME 'jansAttrName' DESC 'Specify an identifier for an attribute. May be multi-value where an attribute has two names, like givenName and first-name.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.8 NAME 'jansAttrOrigin' DESC 'Specify the person objectclass associated with the attribute, used for display purposes in exclude.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.9 NAME 'jansAttrSystemEditTyp' DESC 'TODO - still required?' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.10 NAME 'jansAttrTyp' DESC 'Data type of attribute. Values can be string, photo, numeric, date' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.11 NAME 'jansAttrUsgTyp' DESC 'TODO - Usg? Value can be OpenID' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.12 NAME 'jansCustomMessage' DESC 'exclude custom welcome message' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.13 NAME 'jansFaviconImage' DESC 'TODO - Stores URL of favicon' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.14 NAME 'jansHostname' DESC 'The hostname of the Jans Server instance' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.15 NAME 'jansIpAddr' DESC 'IP address of the Jans Server instance' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.16 NAME 'jansLastUpd' DESC 'Monitors last time the server was able to connect to the monitoring system.' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.17 NAME 'jansLogoImage' DESC 'Logo used by exclude for default look and feel.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.18 NAME 'jansManagedOrganizations' DESC 'Used to track with which organizations a person is associated' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.19 NAME 'jansManager' DESC 'Used to specify if a person has the manager role' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.20 NAME 'jansManagerGrp' DESC 'Used in organizatoin entry to specifies the dn of the group that has admin priviledges in exclude.' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.21 NAME 'jansOptOuts' DESC 'White pages attributes restricted by person in exclude profile management' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.22 NAME 'jansOrgProfileMgt' DESC 'enable or disable profile management feature in exclude' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.23 NAME 'jansOrgShortName' DESC 'Short description, as few letters as possible, no spaces.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.24 NAME 'jansSAML1URI' DESC 'SAML 1 uri of attribute' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.25 NAME 'jansSAML2URI' DESC 'SAML 2 uri of attribute' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.26 NAME 'jansScimEnabled' DESC 'exclude SCIM feature - enabled or disabled' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.27 NAME 'jansSslExpiry' DESC 'SAML Trust Relationship configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.28 NAME 'jansStatus' DESC 'Status of the entry, used by many objectclasses' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.29 NAME 'jansThemeColor' DESC 'exclude login page configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.30 NAME 'jansUrl' DESC 'Jans instance URL' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.31 NAME 'inum' DESC 'XRI i-number' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.32 NAME 'memberOf' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.33 NAME 'jansAmHost' DESC 'am host' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.34 NAME 'jansClaimName' DESC 'Used by jans in conjunction with jansttributeName to map claims to attributes in LDAP.' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.35 NAME 'jansAppTyp' DESC 'jans App Typ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.36 NAME 'authnTime' DESC 'jans Authn Time' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.37 NAME 'authzCode' DESC 'jans authorization code' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.38 NAME 'jansClaim' DESC 'jans Attr Claim' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.39 NAME 'jansGrpClaims' DESC 'jans Grp Attr Claims (true or false)' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.40 NAME 'jansClntId' DESC 'jans Clnt id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.41 NAME 'clnId' DESC 'jans Clnt id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.42 NAME 'jansClntIdIssuedAt' DESC 'jans Clnt Issued At' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.43 NAME 'jansClntSecret' DESC 'jans Clnt Secret' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.44 NAME 'jansClntSecretExpAt' DESC 'Date client expires' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.45 NAME 'jansClntURI' DESC 'jans Clnt URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.46 NAME 'jansConfDyn' DESC 'jans Dyn Conf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.47 NAME 'jansConfErrors' DESC 'jans Errors Conf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.48 NAME 'jansConfStatic' DESC 'jans Static Conf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.49 NAME 'jansConfWebKeys' DESC 'jans Web Keys Conf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.50 NAME 'jansContact' DESC 'jans Contact' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.51 NAME 'iat' DESC 'jans Creation' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.52 NAME 'jansDefAcrValues' DESC 'jans Def Acr Values' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.53 NAME 'jansDefMaxAge' DESC 'jans Def Max Age' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.54 NAME 'exp' DESC 'jans Exp' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.55 NAME 'grtId' DESC 'jans grant id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.56 NAME 'jansGrantTyp' DESC 'jans Grant Typ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.57 NAME 'grtTyp' DESC 'jans Grant Typ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.58 NAME 'jansIdTknEncRespAlg' DESC 'jans ID Tkn Enc Resp Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.59 NAME 'jansIdTknEncRespEnc' DESC 'jans ID Tkn Enc Resp Enc' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.60 NAME 'jansIdTknSignedRespAlg' DESC 'jans ID Tkn Signed Resp Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.61 NAME 'jansInitiateLoginURI' DESC 'jans Initiate Login URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.62 NAME 'jansJwksURI' DESC 'jans JWKs URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.63 NAME 'jansJwks' DESC 'jans JWKs' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.64 NAME 'jwtReq' DESC 'jans JWT Req' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.65 NAME 'jansLogoURI' DESC 'jans Logo URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.66 NAME 'nnc' DESC 'jans nonce' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.67 NAME 'jansSessState' DESC 'jans Sess State' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.68 NAME 'jansPermissionGrantedMap' DESC 'jans Permission Granted Map' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.69 NAME 'jansPersistentJWT' DESC 'jans Persistent JWT' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.70 NAME 'jansPolicyURI' DESC 'jans Policy URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.71 NAME 'jansLogoutURI' DESC 'jans Policy URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.72 NAME 'jansLogoutSessRequired' DESC 'jans Policy URI' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.73 NAME 'jansPostLogoutRedirectURI' DESC 'jans Post Logout Redirect URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.74 NAME 'jansRedirectURI' DESC 'jans Redirect URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.75 NAME 'jansRegistrationAccessTkn' DESC 'jans Registration Access Tkn' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.76 NAME 'jansReleasedScope' DESC 'jans released scope attribute' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.77 NAME 'jansReqObjSigAlg' DESC 'jans Req Obj Sig Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.78 NAME 'jansReqObjEncAlg' DESC 'jans Req Obj Enc Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.79 NAME 'jansReqObjEncEnc' DESC 'jans Req Obj Enc Enc' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.80 NAME 'jansReqURI' DESC 'jans Req URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.81 NAME 'jansRequireAuthTime' DESC 'jans Require Authn Time' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.82 NAME 'jansRespTyp' DESC 'jans Resp Typ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.83 NAME 'jansScope' DESC 'jans Attr Scope' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.84 NAME 'scp' DESC 'jans Attr Scope' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.85 NAME 'jansScopeTyp' DESC 'OX Attr Scope type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.86 NAME 'jansSectorIdentifierURI' DESC 'jans Sector Identifier URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.87 NAME 'jansSignedRespAlg' DESC 'jans Signed Resp Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.88 NAME 'jansSkipAuthz' DESC 'jans skip authorization attribute' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.89 NAME 'jansSubjectTyp' DESC 'jans Subject Typ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.90 NAME 'tknCde' DESC 'jans Tkn Code' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.91 NAME 'jansTknEndpointAuthMethod' DESC 'jans Tkn Endpoint Auth Method' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.92 NAME 'jansTknEndpointAuthSigAlg' DESC 'jans Tkn Endpoint Auth Sig Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.93 NAME 'tknTyp' DESC 'jans Tkn Typ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.94 NAME 'jansTosURI' DESC 'jans TOS URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.95 NAME 'jansTrustedClnt' DESC 'jans Trusted Clnt' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.96 NAME 'jansUmaScope' DESC 'URI reference of scope descriptor' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.97 NAME 'jansUsrDN' DESC 'jans Usr DN' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.98 NAME ( 'jansUsrId' 'usrId' ) DESC 'jans user id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.99 NAME 'jansUsrInfEncRespAlg' DESC 'jans Usr Inf Enc Resp Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.100 NAME 'jansUsrInfEncRespEnc' DESC 'jans Usr Inf Enc Resp Enc' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.101 NAME 'jansExtraConf' DESC 'jans additional configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.102 NAME 'jansAuthMode' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.103 NAME 'acr' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.104 NAME 'jansConfCode' DESC 'jans configuration code' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.105 NAME 'jansCreationTimestamp' DESC 'Registration time' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.106 NAME 'jansExtUid' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.107 NAME 'jansOTPCache' DESC 'Stores a used OTP to prevent a hacker from using it again. Complementary to jansExtUid attribute' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.108 NAME 'jansGrp' DESC 'Usr group' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.109 NAME 'jansGuid' DESC 'A random string to mark temporary tokens' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.110 NAME 'uuid' DESC 'Unique identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.111 NAME 'jansHost' DESC 'jans host' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.112 NAME 'jansDbAuth' DESC 'Custom IDP authentication configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.113 NAME 'jansIconUrl' DESC 'jans icon url' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.114 NAME 'jansId' DESC 'Identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.115 NAME 'sid' DESC 'Sess Identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.116 NAME 'jansAsJwt' DESC 'Boolean field to indicate whether object is used as JWT' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.117 NAME 'jansJwt' DESC 'JWT representation of the object or otherwise jwt associated with the object' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.118 NAME 'jansInvolvedClnts' DESC 'Involved clients' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.119 NAME 'jansLastAccessTime' DESC 'Last access time' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.120 NAME 'jansLastLogonTime' DESC 'Last logon time' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.121 NAME 'jansLogViewerConfig' DESC 'Log viewer configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.122 NAME 'jansMultivaluedAttr' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.123 NAME 'jansName' DESC 'Name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.124 NAME 'jansNameIdTyp' DESC 'NameId Typ' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.125 NAME 'jansPolicyRule' DESC 'Policy Rule' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.126 NAME 'jansUmaPolicyScrDn' DESC 'OX policy script Dn' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.127 NAME 'jansState' DESC 'jansState' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.128 NAME 'jansCounter' DESC 'jansCounter' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.129 NAME 'jansApp' DESC 'jansApp' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.130 NAME 'jansDeviceRegistrationConf' DESC 'jansDeviceRegistrationConf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.131 NAME 'jansDeviceKeyHandle' DESC 'jansDeviceKeyHandle' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.132 NAME 'jansDeviceHashCode' DESC 'jansDeviceHashCode' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.133 NAME 'jansReq' DESC 'jansReq' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.134 NAME 'jansReqId' DESC 'jansReqId' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.135 NAME 'jansDeviceData' DESC 'jansDeviceData' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.136 NAME 'jansEnrollmentCode' DESC 'jansEnrollmentCode' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.137 NAME 'jansPushApp' DESC 'jansPush application DN' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.138 NAME 'jansPushAppConf' DESC 'jansPush application configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.139 NAME 'jansPushDeviceConf' DESC 'jansPush device configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.140 NAME 'jansRegistrationConf' DESC 'Registration Conf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.141 NAME 'jansResource' DESC 'Host path' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.142 NAME 'jansResourceSetId' DESC 'jans resource set id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.143 NAME 'jansRevision' DESC 'Revision' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.144 NAME 'jansLevel' DESC 'Level' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.145 NAME 'jansScimCustomAttr' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.146 NAME 'jansScr' DESC 'Attr that contains script (python, java script)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.147 NAME 'jansScrDn' DESC 'Script object DN' EQUALITY distinguishedNameMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 X-ORIGIN 'Gluu created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.148 NAME 'jansScrTyp' DESC 'Attr that contains script type (e.g. python, java script)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.149 NAME 'jansScrError' DESC 'Attr that contains first error which application get during it execution' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.150 NAME 'jansSmtpConf' DESC 'SMTP configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.151 NAME 'jansSourceAttr' DESC 'Source Attr for this Attr' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.152 NAME 'jansTicket' DESC 'jans ticket' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.153 NAME 'jansActive' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.154 NAME 'jansAddres' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.155 NAME 'jansConfApp' DESC 'jans App Conf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.156 NAME 'jansEmail' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.157 NAME 'jansEntitlements' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.158 NAME 'jansExtId' EQUALITY caseExactMatch SUBSTR caseExactSubStringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.159 NAME 'jansImsValue' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.160 NAME 'jansMetaCreated' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.161 NAME 'jansMetaLastMod' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.162 NAME 'jansMetaLocation' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.163 NAME 'jansMetaVer' EQUALITY caseExactMatch SUBSTR caseExactSubStringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.164 NAME 'jansNameFormatted' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.165 NAME 'jansPhoneValue' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.166 NAME 'jansPhotos' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.167 NAME 'jansProfileURL' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.168 NAME 'jansRole' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.169 NAME 'jansTitle' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.170 NAME 'jansUsrTyp' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.171 NAME 'jansHonorificPrefix' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.172 NAME 'jansHonorificSuffix' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.173 NAME 'jans509Certificate' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.174 NAME 'jansTyp' DESC 'jans type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.175 NAME 'jansUmaPermission' DESC 'jans uma permission' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.176 NAME 'persistentId' DESC 'PersistentId' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Persistent ID reserved for SAML' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.177 NAME 'personInum' DESC 'Inum of a person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.178 NAME 'jansProgLng' DESC 'programming language' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.179 NAME 'registrationDate' DESC 'Registration date' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.180 NAME 'role' DESC 'Role' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.181 NAME 'secretAnswer' DESC 'Secret Answer' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.182 NAME 'secretQuestion' DESC 'Secret Question' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.183 NAME 'jansSoftVer' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.184 NAME 'transientId' DESC 'TransientId' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.185 NAME 'url' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.186 NAME 'urn' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.187 NAME ( 'middleName' 'excludeMiddleName' ) DESC 'Middle name(s)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.188 NAME ( 'nickname' 'excludenickname' ) DESC 'Casual name of the End-Usr' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.189 NAME 'jansPrefUsrName' DESC 'Shorthand Name' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.190 NAME 'profile' DESC 'Profile page URL of the person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.191 NAME ( 'picture' 'photo1' ) DESC 'Profile picture URL of the person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.192 NAME 'website' DESC 'Web page or blog URL of the person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.193 NAME 'emailVerified' DESC 'True if the e-mail address of the person has been verified; otherwise false' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.194 NAME 'gender' DESC 'Gender of the person either female or male' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.195 NAME 'birthdate' DESC 'Birthday of the person, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.196 NAME ( 'zoneinfo' 'timezone' ) DESC 'Time zone database representing the End-Usrs time zone. For example, Europe/Paris or America/Los_Angeles' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.197 NAME ( 'locale' 'excludeLocale' ) DESC 'Locale of the person, represented as a BCP47 [RFC5646] language tag' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.198 NAME 'phoneNumberVerified' DESC 'True if the phone number of the person has been verified, otherwise false' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.199 NAME 'address' DESC 'OpenID Connect formatted JSON object representing the address of the person' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.200 NAME 'updatedAt' DESC 'Time the information of the person was last updated. Seconds from 1970-01-01T0:0:0Z' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.201 NAME 'jansRegExp' DESC 'Regular expression used to validate attribute data' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.202 NAME 'jansTooltip' DESC 'Custom tooltip to be shown on the UI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'OpenID Connect 1.0 Standard Claim' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.203 NAME 'jansModuleProperty' DESC 'Module property' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.204 NAME 'jansConfProperty' DESC 'Conf property' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.205 NAME 'jansSessAttr' DESC 'jansSessAttr' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.206 NAME 'jansStartDate' DESC 'Start date' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.207 NAME 'jansEndDate' DESC 'End date' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.208 NAME 'jansMetricTyp' DESC 'Metric type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.209 NAME 'jansData' DESC 'OX data' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.210 NAME 'dat' DESC 'OX data' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.211 NAME 'jansCodeChallenge' DESC 'OX PKCE code challenge' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.212 NAME 'chlng' DESC 'OX PKCE code challenge' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.213 NAME 'chlngMth' DESC 'OX PKCE code challenge method' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.214 NAME 'jansSectorIdentifier' DESC 'jans Sector Identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.215 NAME 'jansPersistClntAuthzs' DESC 'jans Persist Clnt Authzs' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.216 NAME 'jansSessStateId' DESC 'jansSessStateId' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.217 NAME 'ssnId' DESC 'jans Sess DN' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.218 NAME 'jansPassExpDate' DESC 'Pass Exp date, represented as an ISO 8601 (YYYY-MM-DD) format' EQUALITY generalizedTimeMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 ORDERING generalizedTimeOrderingMatch X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.219 NAME 'jansCountInvalidLogin' DESC 'Invalid login attempts count' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.220 NAME 'jansIMAPData' DESC 'This data has information about your imap connection' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.221 NAME 'jansValidation' DESC 'This data has information about attribute Validation' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.222 NAME 'jansPPID' DESC 'Persistent Pairwise ID for OpenID Connect' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.223 NAME 'jansSessId' DESC 'jans Sess Id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.224 NAME 'jansCacheConf' DESC 'Cache configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.225 NAME 'jansLogConfigLocation' DESC 'Path to external log4j2.xml' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.226 NAME 'jansInclClaimsInIdTkn' DESC 'jans Incl Claims In Id Tkn' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.227 NAME 'jansClaimValues' DESC 'Claim Values' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.228 NAME 'jansClaimRedirectURI' DESC 'Claim Redirect URI' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.229 NAME 'jansAttrs' DESC 'Attrs' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.230 NAME 'attr' DESC 'Attrs' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.231 NAME 'jansRefreshTknLife' DESC 'Life of refresh token' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.232 NAME 'jansPermissionGranted' DESC 'jans Permission Granted' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.233 NAME 'jansNickName' DESC 'jansNickName' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.234 NAME 'jansDeviceNotificationConf' DESC 'Extended push notification configuration' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.235 NAME 'clms' DESC 'jans Claims' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.236 NAME 'jansDisabled' DESC 'Status of client' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.237 NAME 'jansWebKeysSettings' DESC 'jans Web Keys Conf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.238 NAME 'jansScopeExpression' DESC 'Scope expression' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.239 NAME 'jansPreferredMethod' DESC 'Jans Casa - jansPref method to use for user authentication' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.240 NAME 'jansOTPDevices' DESC 'Jans Casa - Json representation of OTP devices. Complementary to jansExtUid attribute' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.241 NAME 'jansMobileDevices' DESC 'Jans Casa - Json representation of mobile devices. Complementary to mobile attribute' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.242 NAME 'jansdId' DESC 'jansd Id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.243 NAME 'jansAuthorizedOrigins' DESC 'jans Authorized Origins' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.244 NAME 'jansStrongAuthPolicy' DESC 'Jans Casa - 2FA Enforcement Policy for Usr' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.245 NAME 'tknBndCnf' DESC 'jansauth - Tkn Binding Id Hash' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.246 NAME 'jansUnlinkedExternalUids' DESC 'Jans Casa - List of unlinked social accounts (ie disabled jansExtUids)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.247 NAME 'jansAccessTknAsJwt' DESC 'jansauth - indicator whether to return access token as JWT' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.248 NAME 'jansAccessTknSigAlg' DESC 'jansauth - access token signing algorithm' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.249 NAME 'jansRegistrationData' DESC 'jansRegistrationData' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.250 NAME 'jansAuthData' DESC 'jansAuthData' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.251 NAME 'jansPublicKeyId' DESC 'jansPublicKeyId' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.252 NAME 'jansAccessTknLife' DESC 'Life of access token' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.253 NAME 'jansSoftId' DESC 'Soft Identifier' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.254 NAME 'jansSoftStatement' DESC 'Soft Statement' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.255 NAME 'jansRptAsJwt' DESC 'jansRptAsJwt' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.256 NAME 'jansCodeChallengeHash' DESC 'OX code challenge hash' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.257 NAME 'del' DESC 'del' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.258 NAME 'jansEnabled' DESC 'Status of the entry, used by many objectclasses' EQUALITY booleanMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.259 NAME 'jansAlias' DESC 'jansAlias' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.260 NAME 'jansLogoPath' DESC 'jansLogoPath' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.261 NAME 'jansFaviconPath' DESC 'jansFaviconPath' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.262 NAME 'jansBackchannelTknDeliveryMode' DESC 'jans Backchannel Tkn Delivery Mode' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.263 NAME 'jansBackchannelClntNotificationEndpoint' DESC 'jans Backchannel Clnt Notification Endpoint' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.264 NAME 'jansBackchannelAuthnReqSigAlg' DESC 'jans Backchannel Authn Req Sig Alg' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.265 NAME 'jansBackchannelUsrCodeParameter' DESC 'jans Backchannel Usr Code Parameter' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.266 NAME 'jansBackchannelDeviceRegistrationTkn' DESC 'jans Backchannel Device Registration Tkn' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.267 NAME 'jansBackchannelUsrCode' DESC 'jans Backchannel Usr Code' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.268 NAME 'jansDocStoreConf' DESC 'jansDocStoreConf' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) attributeTypes: ( 1.3.6.1.4.1.48710.1.3.269 NAME 'authReqId' DESC 'Authn request id' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'Jans created attribute' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.1 NAME 'jansPairwiseIdentifier' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ jansSectorIdentifier $ jansClntId $ jansUsrId ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.2 NAME 'jansPerson' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansAssociatedClnt $ c $ displayName $ givenName $ jansManagedOrganizations $ jansOptOuts $ jansStatus $ inum $ mail $ memberOf $ o $ jansPersistentJWT $ jansCreationTimestamp $ jansExtUid $ jansOTPCache $ jansLastLogonTime $ jansActive $ jansAddres $ jansEmail $ jansEntitlements $ jansExtId $ jansImsValue $ jansMetaCreated $ jansMetaLastMod $ jansMetaLocation $ jansMetaVer $ jansNameFormatted $ jansPhoneValue $ jansPhotos $ jansProfileURL $ jansRole $ jansTitle $ jansUsrTyp $ jansHonorificPrefix $ jansHonorificSuffix $ jans509Certificate $ jansPassExpDate $ persistentId $ middleName $ nickname $ jansPrefUsrName $ profile $ picture $ website $ emailVerified $ gender $ birthdate $ zoneinfo $ locale $ phoneNumberVerified $ address $ updatedAt $ preferredLanguage $ role $ secretAnswer $ secretQuestion $ seeAlso $ sn $ cn $ transientId $ uid $ userPassword $ st $ street $ l $ jansCountInvalidLogin $ jansEnrollmentCode $ jansIMAPData $ jansPPID $ jansGuid $ jansPreferredMethod $ userCertificate $ jansOTPDevices $ jansMobileDevices $ jansStrongAuthPolicy $ jansUnlinkedExternalUids $ jansBackchannelDeviceRegistrationTkn $ jansBackchannelUsrCode ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.3 NAME 'jansGrp' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( c $ description $ displayName $ jansStatus $ inum $ member $ o $ owner $ seeAlso $ jansMetaCreated $ jansMetaLastMod $ jansMetaLocation $ jansMetaVer ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.4 NAME 'jansOrganization' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( c $ county $ description $ displayName $ jansCustomMessage $ jansFaviconImage $ jansLogoImage $ jansManager $ jansManagerGrp $ jansOrgShortName $ jansThemeColor $ inum $ l $ mail $ memberOf $ o $ jansCreationTimestamp $ jansRegistrationConf $ postalCode $ st $ street $ telephoneNumber $ title $ uid $ jansLogoPath $ jansFaviconPath ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.5 NAME 'jansAppConf' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( c $ ou $ description $ displayName $ jansHostname $ jansLastUpd $ jansManager $ jansOrgProfileMgt $ jansScimEnabled $ jansEmail $ jansSmtpConf $ jansSslExpiry $ jansStatus $ jansUrl $ inum $ o $ jansAuthMode $ jansDbAuth $ jansLogViewerConfig $ jansLogConfigLocation $ jansCacheConf $ jansDocStoreConf $ jansSoftVer $ userPassword $ jansConfDyn $ jansConfErrors $ jansConfStatic $ jansConfWebKeys $ jansWebKeysSettings $ jansConfApp $ jansRevision ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.6 NAME 'jansAttr' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( description $ displayName $ jansAttrEditTyp $ jansAttrName $ jansAttrOrigin $ jansAttrSystemEditTyp $ jansAttrTyp $ jansClaimName $ jansAttrUsgTyp $ jansAttrViewTyp $ jansSAML1URI $ jansSAML2URI $ jansStatus $ inum $ jansMultivaluedAttr $ jansNameIdTyp $ jansScimCustomAttr $ jansSourceAttr $ seeAlso $ urn $ jansRegExp $ jansTooltip $ jansValidation ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.7 NAME 'jansPassResetReq' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( creationDate $ jansGuid $ personInum ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.8 NAME 'jansEntry' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( displayName $ inum ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.9 NAME 'jansClnt' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( displayName $ description $ inum $ jansAppTyp $ jansClntIdIssuedAt $ jansClntSecret $ jansClntSecretExpAt $ exp $ del $ jansClntURI $ jansContact $ jansDefAcrValues $ jansDefMaxAge $ jansGrantTyp $ jansIdTknEncRespAlg $ jansIdTknEncRespEnc $ jansIdTknSignedRespAlg $ jansInitiateLoginURI $ jansJwksURI $ jansJwks $ jansLogoURI $ jansPolicyURI $ jansPostLogoutRedirectURI $ jansRedirectURI $ jansRegistrationAccessTkn $ jansReqObjSigAlg $ jansReqObjEncAlg $ jansReqObjEncEnc $ jansReqURI $ jansRequireAuthTime $ jansRespTyp $ jansScope $ jansClaim $ jansSectorIdentifierURI $ jansSignedRespAlg $ jansSubjectTyp $ jansTknEndpointAuthMethod $ jansTknEndpointAuthSigAlg $ jansTosURI $ jansTrustedClnt $ jansUsrInfEncRespAlg $ jansUsrInfEncRespEnc $ jansExtraConf $ jansClaimRedirectURI $ jansLastAccessTime $ jansLastLogonTime $ jansPersistClntAuthzs $ jansInclClaimsInIdTkn $ jansRefreshTknLife $ jansDisabled $ jansLogoutURI $ jansLogoutSessRequired $ jansdId $ jansAuthorizedOrigins $ tknBndCnf $ jansAccessTknAsJwt $ jansAccessTknSigAlg $ jansAccessTknLife $ jansSoftId $ jansSoftVer $ jansSoftStatement $ jansRptAsJwt $ jansAttrs $ jansBackchannelTknDeliveryMode $ jansBackchannelClntNotificationEndpoint $ jansBackchannelAuthnReqSigAlg $ jansBackchannelUsrCodeParameter ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.10 NAME 'jansScope' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansDefScope $ description $ displayName $ inum $ jansScopeTyp $ jansClaim $ jansScrDn $ jansGrpClaims $ jansId $ jansIconUrl $ jansUmaPolicyScrDn $ jansAttrs $ exp $ del ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.11 NAME 'jansSessId' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ sid $ creationDate $ exp $ del $ jansLastAccessTime $ jansUsrDN $ authnTime $ jansState $ jansSessState $ jansPermissionGranted $ jansAsJwt $ jansJwt $ jansPermissionGrantedMap $ jansInvolvedClnts $ jansSessAttr ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.12 NAME 'jansUmaResource' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( displayName $ inum $ owner $ jansAssociatedClnt $ jansUmaScope $ jansFaviconImage $ jansGrp $ jansId $ jansResource $ jansRevision $ jansTyp $ jansScopeExpression $ iat $ exp $ del $ description ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.13 NAME 'jansUmaResourcePermission' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( exp $ del $ jansUmaScope $ jansConfCode $ jansResourceSetId $ jansAttrs $ jansTicket $ jansStatus ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.14 NAME 'jansGrant' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( grtId $ iat ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.15 NAME 'jansToken' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( authnTime $ authzCode $ iat $ exp $ del $ grtId $ grtTyp $ jwtReq $ nnc $ scp $ tknCde $ tknTyp $ usrId $ clnId $ acr $ uuid $ chlng $ chlngMth $ clms $ ssnId $ attr $ tknBndCnf ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.16 NAME 'jansUmaRPT' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( authnTime $ clnId $ iat $ exp $ del $ tknCde $ usrId $ jansUmaPermission $ uuid ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.17 NAME 'jansScr' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( inum $ jansScr $ jansScrTyp ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.18 NAME 'jansPushApp' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( displayName $ jansId $ jansName $ jansPushAppConf ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.19 NAME 'jansPushDevice' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansUsrId $ jansId $ jansPushApp $ jansPushDeviceConf $ jansTyp ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.20 NAME 'jansCustomScr' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( inum $ displayName $ description $ jansScr $ jansScrTyp $ jansProgLng $ jansModuleProperty $ jansConfProperty $ jansLevel $ jansRevision $ jansEnabled $ jansScrError $ jansAlias ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.21 NAME 'jansDeviceRegistration' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ displayName $ description $ jansDeviceKeyHandle $ jansDeviceHashCode $ jansApp $ jansDeviceRegistrationConf $ jansDeviceNotificationConf $ jansNickName $ jansDeviceData $ jansCounter $ jansStatus $ del $ exp $ personInum $ creationDate $ jansLastAccessTime $ jansMetaLastMod $ jansMetaLocation $ jansMetaVer ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.22 NAME 'jansU2fReq' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ jansReqId $ jansReq $ jansSessStateId $ del $ exp $ personInum $ creationDate ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.23 NAME 'jansMetric' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( uniqueIdentifier $ jansStartDate $ jansEndDate $ jansAppTyp $ jansMetricTyp $ creationDate $ del $ exp $ jansData $ jansHost ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.24 NAME 'jansClntAuthz' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ jansClntId $ jansUsrId $ exp $ del $ jansScope ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.25 NAME 'jansSectorIdentifier' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ description $ jansRedirectURI $ jansClntId ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.26 NAME 'jansUmaPCT' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( clnId $ iat $ exp $ del $ tknCde $ jansClaimValues ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.27 NAME 'jansCache' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( uuid $ iat $ exp $ del $ dat ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.28 NAME 'jansFido2AuthnEntry' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ creationDate $ jansSessStateId $ jansCodeChallenge $ personInum $ jansAuthData $ jansStatus ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.29 NAME 'jansFido2RegistrationEntry' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ creationDate $ displayName $ jansSessStateId $ jansCodeChallenge $ jansCodeChallengeHash $ jansPublicKeyId $ personInum $ jansRegistrationData $ jansDeviceNotificationConf $ jansCounter $ jansStatus ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.30 NAME 'jansExpiredObj' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ dat $ iat $ exp $ jansTyp ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.31 NAME 'jansRp' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ dat ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.32 NAME 'jansCibaReq' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( authReqId $ clnId $ usrId $ creationDate $ exp $ jansStatus ) X-ORIGIN 'Jans created objectclass' ) objectClasses: ( 1.3.6.1.4.1.48710.1.4.33 NAME 'jansStatEntry' SUP ( top ) STRUCTURAL MUST ( objectclass ) MAY ( jansId $ dat $ attr ) X-ORIGIN 'Gluu created objectclass' ) {{- end }} {{- end }}
46.421822
1,285
0.679542
f0e88cc45f9814446b8c98c094c923def4f7a9df
1,685
yml
YAML
roles/ocp4.install/tasks/vmware_create_template.yml
ekrunch/ocp4-installer
4aaa6cd9317ebeef3ea887aa66613a6d3392f214
[ "MIT" ]
null
null
null
roles/ocp4.install/tasks/vmware_create_template.yml
ekrunch/ocp4-installer
4aaa6cd9317ebeef3ea887aa66613a6d3392f214
[ "MIT" ]
null
null
null
roles/ocp4.install/tasks/vmware_create_template.yml
ekrunch/ocp4-installer
4aaa6cd9317ebeef3ea887aa66613a6d3392f214
[ "MIT" ]
null
null
null
- name: Create VMware Folder (if it doesn't exist) vcenter_folder: hostname: '{{ vsphere_server }}' username: '{{ vsphere_username }}' password: '{{ vsphere_password }}' datacenter_name: '{{ vsphere_datacenter }}' folder_name: '{{ ocp_cluster_folder }}' folder_type: vm validate_certs: False state: present delegate_to: localhost - name: Remove existing RHCOS template (if it exists) vmware_guest: hostname: '{{ vsphere_server }}' username: '{{ vsphere_username }}' password: '{{ vsphere_password }}' datacenter: '{{ vsphere_datacenter }}' datastore: '{{ datastore }}' name: '{{ rhcos_template_name }}' folder: '{{ ocp_cluster_folder }}' validate_certs: False state: absent delegate_to: localhost - name: Deploy RHCOS template from OVA vmware_deploy_ovf: hostname: '{{ vsphere_server }}' username: '{{ vsphere_username }}' password: '{{ vsphere_password }}' datacenter: '{{ vsphere_datacenter }}' datastore: '{{ datastore }}' cluster: '{{ vsphere_cluster }}' name: '{{ rhcos_template_name }}' folder: '/{{ vsphere_datacenter }}/vm/{{ ocp_cluster_folder }}' networks: "VM Network": '{{ rhcos_template_vm_network }}' validate_certs: False power_on: False ovf: '{{ rhcos_ova_file_fullname }}' #disk_provisioning: "{{ disk_provisioning }}" properties: guestinfo.ignition.config.data: "" guestinfo.ignition.config.data.encoding: "base64" delegate_to: localhost
36.630435
71
0.591691
0bc07361973fb21e513d4d299e08dd8f46b13814
456
yml
YAML
roles/nvidia-dgx-firmware/tasks/get-health.yml
kuangllbnu/deepops
d73c05a8f352de5cf0578d944c3107c1e7171a7b
[ "BSD-3-Clause" ]
748
2018-06-27T18:52:04.000Z
2022-03-30T18:50:01.000Z
roles/nvidia-dgx-firmware/tasks/get-health.yml
kuangllbnu/deepops
d73c05a8f352de5cf0578d944c3107c1e7171a7b
[ "BSD-3-Clause" ]
615
2018-06-27T20:51:53.000Z
2022-03-31T19:58:47.000Z
roles/nvidia-dgx-firmware/tasks/get-health.yml
kuangllbnu/deepops
d73c05a8f352de5cf0578d944c3107c1e7171a7b
[ "BSD-3-Clause" ]
273
2018-07-01T10:01:07.000Z
2022-03-29T02:19:29.000Z
--- - name: Run NVSM human-readable health show shell: "nvsm show health > {{ fw_dir }}/nvsm-show-health.log" become: yes - name: Run NVSM dump health shell: "nvsm dump health" become: yes when: nvsm_dump_health - name: Run quick DCGM diagnostic shell: "dcgmi diag -r 1 > {{ fw_dir }}/dcgm_diag_1.log" become: yes - name: Run full DCGM diagnostic shell: "dcgmi diag -r 3 > {{ fw_dir }}/dcgm_diag_3.log" become: yes when: dcgm_stress
24
63
0.679825
1c767fd7a37bca0f1ac7689e0387553003af9d92
4,128
yml
YAML
.github/workflows/pipeline.yml
ronny/slacknotifier
cdff855001939caa076d93cbac9c983542765c2c
[ "Apache-2.0" ]
null
null
null
.github/workflows/pipeline.yml
ronny/slacknotifier
cdff855001939caa076d93cbac9c983542765c2c
[ "Apache-2.0" ]
null
null
null
.github/workflows/pipeline.yml
ronny/slacknotifier
cdff855001939caa076d93cbac9c983542765c2c
[ "Apache-2.0" ]
null
null
null
name: Pipeline on: push: pull_request: branches: - 'main' jobs: tests: strategy: matrix: go-version: [1.16.x] os: - ubuntu-latest # - macos-latest # - windows-latest runs-on: ${{ matrix.os }} steps: - name: Install Go uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - name: Install staticcheck run: go install honnef.co/go/tools/cmd/staticcheck@latest - name: Checkout repository uses: actions/checkout@v2 - uses: actions/cache@v2 with: # In order: # * Module download cache # * Build cache (Linux) # * Build cache (Mac) # * Build cache (Windows) path: | ~/go/pkg/mod ~/.cache/go-build ~/Library/Caches/go-build %LocalAppData%\go-build key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - name: Run tests run: make test - name: Build binaries run: make binaries docker-build-push: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') needs: [tests] steps: - name: Checkout repository uses: actions/checkout@v2 - name: Docker metadata id: meta uses: docker/metadata-action@v3 with: images: ronny/slacknotifier tags: | type=ref,event=branch type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} type=sha - id: start-timestamp run: | echo "::set-output name=timestamp::$(date)" - name: Notify Slack (start) uses: ronny/slacknotifier@main id: notify-start with: slack-token: ${{ secrets.SLACK_TOKEN }} bot-name: slacknotifier bot-icon-emoji: ":mega:" channel-id: ${{ secrets.CHANNEL_ID }} message: "Building docker images for `${{ github.repository }}`... :thinking_face:" message-context: | *Commit*: `${{ github.sha }}` *Action*: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} *Tags*: ${{ join(steps.meta.outputs.tags) }} *Start*: ${{ steps.start-timestamp.outputs.timestamp }} - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Login to Docker Hub if: ${{ github.event_name != 'pull_request' }} uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Docker build && push uses: docker/build-push-action@v2 with: context: . platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - id: finish-timestamp run: | echo "::set-output name=timestamp::$(date)" - name: Notify Slack (finish) uses: ronny/slacknotifier@main with: slack-token: ${{ secrets.SLACK_TOKEN }} bot-name: slacknotifier bot-icon-emoji: ":mega:" replace-timestamp: ${{ steps.notify-start.outputs.timestamp }} channel-id: ${{ secrets.CHANNEL_ID }} message: "Finished building docker images for `${{ github.repository }}` :tada:" message-context: | *Commit*: `${{ github.sha }}` *Action*: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }} *Tags*: ${{ join(steps.meta.outputs.tags) }} *Start*: ${{ steps.start-timestamp.outputs.timestamp }} *Finish*: ${{ steps.finish-timestamp.outputs.timestamp }}"
30.80597
99
0.536822
1c8575fe47da3f00d0ec06b058589759eb214762
72,192
yml
YAML
DocFX/api/ESAPIX.Facade.API.StructureSet.yml
isachpaz/ESAPIX
913041098a57160d8a52a8babc343fcb74a7a71b
[ "MIT" ]
36
2016-07-23T18:30:55.000Z
2022-03-11T17:29:59.000Z
DocFX/api/ESAPIX.Facade.API.StructureSet.yml
avalgoma/ESAPIX
6d973ea635f72a5172bd11956f1e48641fb5c727
[ "MIT" ]
12
2017-05-10T13:47:12.000Z
2021-12-01T20:30:22.000Z
DocFX/api/ESAPIX.Facade.API.StructureSet.yml
avalgoma/ESAPIX
6d973ea635f72a5172bd11956f1e48641fb5c727
[ "MIT" ]
34
2016-10-19T19:52:33.000Z
2021-12-01T20:28:01.000Z
### YamlMime:ManagedReference items: - uid: ESAPIX.Facade.API.StructureSet commentId: T:ESAPIX.Facade.API.StructureSet id: StructureSet parent: ESAPIX.Facade.API children: - ESAPIX.Facade.API.StructureSet.#ctor - ESAPIX.Facade.API.StructureSet.#ctor - ESAPIX.Facade.API.StructureSet.#ctor - ESAPIX.Facade.API.StructureSet.#ctor - ESAPIX.Facade.API.StructureSet.#ctor - ESAPIX.Facade.API.StructureSet.#ctor - ESAPIX.Facade.API.StructureSet.#ctor(System.Object) - ESAPIX.Facade.API.StructureSet.#ctor(System.Object) - ESAPIX.Facade.API.StructureSet.#ctor(System.Object) - ESAPIX.Facade.API.StructureSet.#ctor(System.Object) - ESAPIX.Facade.API.StructureSet.#ctor(System.Object) - ESAPIX.Facade.API.StructureSet.#ctor(System.Object) - ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs - ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs - ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs - ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) - ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.Copy - ESAPIX.Facade.API.StructureSet.CreateAndSearchBody(ESAPIX.Facade.API.SearchBodyParameters) - ESAPIX.Facade.API.StructureSet.Delete - ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters - ESAPIX.Facade.API.StructureSet.Id - ESAPIX.Facade.API.StructureSet.Image - ESAPIX.Facade.API.StructureSet.Image - ESAPIX.Facade.API.StructureSet.Image - ESAPIX.Facade.API.StructureSet.Image - ESAPIX.Facade.API.StructureSet.Image - ESAPIX.Facade.API.StructureSet.Image - ESAPIX.Facade.API.StructureSet.Patient - ESAPIX.Facade.API.StructureSet.Patient - ESAPIX.Facade.API.StructureSet.Patient - ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) - ESAPIX.Facade.API.StructureSet.Structures - ESAPIX.Facade.API.StructureSet.Structures - ESAPIX.Facade.API.StructureSet.Structures - ESAPIX.Facade.API.StructureSet.Structures - ESAPIX.Facade.API.StructureSet.Structures - ESAPIX.Facade.API.StructureSet.Structures - ESAPIX.Facade.API.StructureSet.UID - ESAPIX.Facade.API.StructureSet.UID - ESAPIX.Facade.API.StructureSet.UID - ESAPIX.Facade.API.StructureSet.UID - ESAPIX.Facade.API.StructureSet.UID - ESAPIX.Facade.API.StructureSet.UID langs: - csharp - vb name: StructureSet nameWithType: StructureSet fullName: ESAPIX.Facade.API.StructureSet type: Class source: id: StructureSet path: '' startLine: 160447 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: 'public class StructureSet : ApiDataObject, Xml.Serialization.IXmlSerializable' content.vb: >- Public Class StructureSet Inherits ApiDataObject Implements Xml.Serialization.IXmlSerializable inheritance: - System.Object - ESAPIX.Facade.API.SerializableObject - ESAPIX.Facade.API.ApiDataObject implements: - System.Xml.Serialization.IXmlSerializable inheritedMembers: - ESAPIX.Facade.API.ApiDataObject.Name - ESAPIX.Facade.API.ApiDataObject.Comment - ESAPIX.Facade.API.ApiDataObject.HistoryUserName - ESAPIX.Facade.API.ApiDataObject.HistoryDateTime - ESAPIX.Facade.API.ApiDataObject.HistoryUserDisplayName - ESAPIX.Facade.API.SerializableObject.IsLive - ESAPIX.Facade.API.SerializableObject.GetSchema - ESAPIX.Facade.API.SerializableObject.ReadXml(System.Xml.XmlReader) - ESAPIX.Facade.API.SerializableObject.WriteXml(System.Xml.XmlWriter) - ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory modifiers.csharp: - public - class modifiers.vb: - Public - Class - uid: ESAPIX.Facade.API.StructureSet.UID commentId: P:ESAPIX.Facade.API.StructureSet.UID id: UID parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: UID nameWithType: StructureSet.UID fullName: ESAPIX.Facade.API.StructureSet.UID type: Property source: id: UID path: '' startLine: 15549 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public string UID { get; set; } parameters: [] return: type: System.String content.vb: Public Property UID As String overload: ESAPIX.Facade.API.StructureSet.UID* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Image commentId: P:ESAPIX.Facade.API.StructureSet.Image id: Image parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Image nameWithType: StructureSet.Image fullName: ESAPIX.Facade.API.StructureSet.Image type: Property source: id: Image path: '' startLine: 15591 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Image Image { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Image content.vb: Public Property Image As Image overload: ESAPIX.Facade.API.StructureSet.Image* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Structures commentId: P:ESAPIX.Facade.API.StructureSet.Structures id: Structures parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Structures nameWithType: StructureSet.Structures fullName: ESAPIX.Facade.API.StructureSet.Structures type: Property source: id: Structures path: '' startLine: 15640 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<Structure> Structures { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.Structure} content.vb: Public Property Structures As IEnumerable(Of Structure) overload: ESAPIX.Facade.API.StructureSet.Structures* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor commentId: M:ESAPIX.Facade.API.StructureSet.#ctor id: '#ctor' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet() nameWithType: StructureSet.StructureSet() fullName: ESAPIX.Facade.API.StructureSet.StructureSet() type: Constructor source: id: .ctor path: '' startLine: 15696 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet() content.vb: Public Sub New overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor(System.Object) commentId: M:ESAPIX.Facade.API.StructureSet.#ctor(System.Object) id: '#ctor(System.Object)' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet(Object) nameWithType: StructureSet.StructureSet(Object) fullName: ESAPIX.Facade.API.StructureSet.StructureSet(System.Object) type: Constructor source: id: .ctor path: '' startLine: 15701 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet(dynamic client) parameters: - id: client type: System.Object content.vb: Public Sub New(client As Object) overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Structures commentId: P:ESAPIX.Facade.API.StructureSet.Structures id: Structures parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Structures nameWithType: StructureSet.Structures fullName: ESAPIX.Facade.API.StructureSet.Structures type: Property source: id: Structures path: '' startLine: 38305 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<Structure> Structures { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.Structure} content.vb: Public Property Structures As IEnumerable(Of Structure) overload: ESAPIX.Facade.API.StructureSet.Structures* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Image commentId: P:ESAPIX.Facade.API.StructureSet.Image id: Image parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Image nameWithType: StructureSet.Image fullName: ESAPIX.Facade.API.StructureSet.Image type: Property source: id: Image path: '' startLine: 38361 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Image Image { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Image content.vb: Public Property Image As Image overload: ESAPIX.Facade.API.StructureSet.Image* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.UID commentId: P:ESAPIX.Facade.API.StructureSet.UID id: UID parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: UID nameWithType: StructureSet.UID fullName: ESAPIX.Facade.API.StructureSet.UID type: Property source: id: UID path: '' startLine: 38410 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public string UID { get; set; } parameters: [] return: type: System.String content.vb: Public Property UID As String overload: ESAPIX.Facade.API.StructureSet.UID* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) id: AddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: AddStructure(String, String) nameWithType: StructureSet.AddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.AddStructure(System.String, System.String) type: Method source: id: AddStructure path: '' startLine: 38452 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Structure AddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: ESAPIX.Facade.API.Structure content.vb: 'Public Function AddStructure(dicomType As String, id As String) As ' overload: ESAPIX.Facade.API.StructureSet.AddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) id: CanAddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanAddStructure(String, String) nameWithType: StructureSet.CanAddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String, System.String) type: Method source: id: CanAddStructure path: '' startLine: 38476 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanAddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: System.Boolean content.vb: Public Function CanAddStructure(dicomType As String, id As String) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanAddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) id: CanRemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanRemoveStructure(Structure) nameWithType: StructureSet.CanRemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: CanRemoveStructure path: '' startLine: 38500 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanRemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure return: type: System.Boolean content.vb: Public Function CanRemoveStructure(structure As Structure) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanRemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) id: RemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: RemoveStructure(Structure) nameWithType: StructureSet.RemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: RemoveStructure path: '' startLine: 38524 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public void RemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure content.vb: Public Sub RemoveStructure(structure As Structure) overload: ESAPIX.Facade.API.StructureSet.RemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor commentId: M:ESAPIX.Facade.API.StructureSet.#ctor id: '#ctor' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet() nameWithType: StructureSet.StructureSet() fullName: ESAPIX.Facade.API.StructureSet.StructureSet() type: Constructor source: id: .ctor path: '' startLine: 38541 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet() content.vb: Public Sub New overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor(System.Object) commentId: M:ESAPIX.Facade.API.StructureSet.#ctor(System.Object) id: '#ctor(System.Object)' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet(Object) nameWithType: StructureSet.StructureSet(Object) fullName: ESAPIX.Facade.API.StructureSet.StructureSet(System.Object) type: Constructor source: id: .ctor path: '' startLine: 38546 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet(dynamic client) parameters: - id: client type: System.Object content.vb: Public Sub New(client As Object) overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Structures commentId: P:ESAPIX.Facade.API.StructureSet.Structures id: Structures parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Structures nameWithType: StructureSet.Structures fullName: ESAPIX.Facade.API.StructureSet.Structures type: Property source: id: Structures path: '' startLine: 66020 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<Structure> Structures { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.Structure} content.vb: Public Property Structures As IEnumerable(Of Structure) overload: ESAPIX.Facade.API.StructureSet.Structures* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Image commentId: P:ESAPIX.Facade.API.StructureSet.Image id: Image parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Image nameWithType: StructureSet.Image fullName: ESAPIX.Facade.API.StructureSet.Image type: Property source: id: Image path: '' startLine: 66076 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Image Image { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Image content.vb: Public Property Image As Image overload: ESAPIX.Facade.API.StructureSet.Image* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.UID commentId: P:ESAPIX.Facade.API.StructureSet.UID id: UID parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: UID nameWithType: StructureSet.UID fullName: ESAPIX.Facade.API.StructureSet.UID type: Property source: id: UID path: '' startLine: 66125 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public string UID { get; set; } parameters: [] return: type: System.String content.vb: Public Property UID As String overload: ESAPIX.Facade.API.StructureSet.UID* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) id: AddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: AddStructure(String, String) nameWithType: StructureSet.AddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.AddStructure(System.String, System.String) type: Method source: id: AddStructure path: '' startLine: 66167 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Structure AddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: ESAPIX.Facade.API.Structure content.vb: 'Public Function AddStructure(dicomType As String, id As String) As ' overload: ESAPIX.Facade.API.StructureSet.AddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) id: CanAddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanAddStructure(String, String) nameWithType: StructureSet.CanAddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String, System.String) type: Method source: id: CanAddStructure path: '' startLine: 66191 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanAddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: System.Boolean content.vb: Public Function CanAddStructure(dicomType As String, id As String) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanAddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) id: CanRemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanRemoveStructure(Structure) nameWithType: StructureSet.CanRemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: CanRemoveStructure path: '' startLine: 66215 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanRemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure return: type: System.Boolean content.vb: Public Function CanRemoveStructure(structure As Structure) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanRemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) id: RemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: RemoveStructure(Structure) nameWithType: StructureSet.RemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: RemoveStructure path: '' startLine: 66239 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public void RemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure content.vb: Public Sub RemoveStructure(structure As Structure) overload: ESAPIX.Facade.API.StructureSet.RemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor commentId: M:ESAPIX.Facade.API.StructureSet.#ctor id: '#ctor' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet() nameWithType: StructureSet.StructureSet() fullName: ESAPIX.Facade.API.StructureSet.StructureSet() type: Constructor source: id: .ctor path: '' startLine: 66256 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet() content.vb: Public Sub New overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor(System.Object) commentId: M:ESAPIX.Facade.API.StructureSet.#ctor(System.Object) id: '#ctor(System.Object)' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet(Object) nameWithType: StructureSet.StructureSet(Object) fullName: ESAPIX.Facade.API.StructureSet.StructureSet(System.Object) type: Constructor source: id: .ctor path: '' startLine: 66261 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet(dynamic client) parameters: - id: client type: System.Object content.vb: Public Sub New(client As Object) overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Structures commentId: P:ESAPIX.Facade.API.StructureSet.Structures id: Structures parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Structures nameWithType: StructureSet.Structures fullName: ESAPIX.Facade.API.StructureSet.Structures type: Property source: id: Structures path: '' startLine: 94685 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<Structure> Structures { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.Structure} content.vb: Public Property Structures As IEnumerable(Of Structure) overload: ESAPIX.Facade.API.StructureSet.Structures* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs commentId: P:ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs id: ApplicationScriptLogs parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: ApplicationScriptLogs nameWithType: StructureSet.ApplicationScriptLogs fullName: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs type: Property source: id: ApplicationScriptLogs path: '' startLine: 94741 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<ApplicationScriptLog> ApplicationScriptLogs { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.ApplicationScriptLog} content.vb: Public Property ApplicationScriptLogs As IEnumerable(Of ApplicationScriptLog) overload: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Image commentId: P:ESAPIX.Facade.API.StructureSet.Image id: Image parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Image nameWithType: StructureSet.Image fullName: ESAPIX.Facade.API.StructureSet.Image type: Property source: id: Image path: '' startLine: 94797 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Image Image { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Image content.vb: Public Property Image As Image overload: ESAPIX.Facade.API.StructureSet.Image* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Patient commentId: P:ESAPIX.Facade.API.StructureSet.Patient id: Patient parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Patient nameWithType: StructureSet.Patient fullName: ESAPIX.Facade.API.StructureSet.Patient type: Property source: id: Patient path: '' startLine: 94846 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Patient Patient { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Patient content.vb: Public Property Patient As Patient overload: ESAPIX.Facade.API.StructureSet.Patient* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.UID commentId: P:ESAPIX.Facade.API.StructureSet.UID id: UID parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: UID nameWithType: StructureSet.UID fullName: ESAPIX.Facade.API.StructureSet.UID type: Property source: id: UID path: '' startLine: 94895 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public string UID { get; set; } parameters: [] return: type: System.String content.vb: Public Property UID As String overload: ESAPIX.Facade.API.StructureSet.UID* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) id: AddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: AddStructure(String, String) nameWithType: StructureSet.AddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.AddStructure(System.String, System.String) type: Method source: id: AddStructure path: '' startLine: 94937 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Structure AddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: ESAPIX.Facade.API.Structure content.vb: 'Public Function AddStructure(dicomType As String, id As String) As ' overload: ESAPIX.Facade.API.StructureSet.AddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) id: CanAddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanAddStructure(String, String) nameWithType: StructureSet.CanAddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String, System.String) type: Method source: id: CanAddStructure path: '' startLine: 94961 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanAddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: System.Boolean content.vb: Public Function CanAddStructure(dicomType As String, id As String) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanAddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) id: CanRemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanRemoveStructure(Structure) nameWithType: StructureSet.CanRemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: CanRemoveStructure path: '' startLine: 94985 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanRemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure return: type: System.Boolean content.vb: Public Function CanRemoveStructure(structure As Structure) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanRemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) id: RemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: RemoveStructure(Structure) nameWithType: StructureSet.RemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: RemoveStructure path: '' startLine: 95009 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public void RemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure content.vb: Public Sub RemoveStructure(structure As Structure) overload: ESAPIX.Facade.API.StructureSet.RemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor commentId: M:ESAPIX.Facade.API.StructureSet.#ctor id: '#ctor' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet() nameWithType: StructureSet.StructureSet() fullName: ESAPIX.Facade.API.StructureSet.StructureSet() type: Constructor source: id: .ctor path: '' startLine: 95026 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet() content.vb: Public Sub New overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor(System.Object) commentId: M:ESAPIX.Facade.API.StructureSet.#ctor(System.Object) id: '#ctor(System.Object)' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet(Object) nameWithType: StructureSet.StructureSet(Object) fullName: ESAPIX.Facade.API.StructureSet.StructureSet(System.Object) type: Constructor source: id: .ctor path: '' startLine: 95031 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet(dynamic client) parameters: - id: client type: System.Object content.vb: Public Sub New(client As Object) overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Structures commentId: P:ESAPIX.Facade.API.StructureSet.Structures id: Structures parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Structures nameWithType: StructureSet.Structures fullName: ESAPIX.Facade.API.StructureSet.Structures type: Property source: id: Structures path: '' startLine: 126332 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<Structure> Structures { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.Structure} content.vb: Public Property Structures As IEnumerable(Of Structure) overload: ESAPIX.Facade.API.StructureSet.Structures* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs commentId: P:ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs id: ApplicationScriptLogs parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: ApplicationScriptLogs nameWithType: StructureSet.ApplicationScriptLogs fullName: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs type: Property source: id: ApplicationScriptLogs path: '' startLine: 126388 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<ApplicationScriptLog> ApplicationScriptLogs { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.ApplicationScriptLog} content.vb: Public Property ApplicationScriptLogs As IEnumerable(Of ApplicationScriptLog) overload: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Image commentId: P:ESAPIX.Facade.API.StructureSet.Image id: Image parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Image nameWithType: StructureSet.Image fullName: ESAPIX.Facade.API.StructureSet.Image type: Property source: id: Image path: '' startLine: 126444 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Image Image { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Image content.vb: Public Property Image As Image overload: ESAPIX.Facade.API.StructureSet.Image* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Patient commentId: P:ESAPIX.Facade.API.StructureSet.Patient id: Patient parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Patient nameWithType: StructureSet.Patient fullName: ESAPIX.Facade.API.StructureSet.Patient type: Property source: id: Patient path: '' startLine: 126493 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Patient Patient { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Patient content.vb: Public Property Patient As Patient overload: ESAPIX.Facade.API.StructureSet.Patient* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.UID commentId: P:ESAPIX.Facade.API.StructureSet.UID id: UID parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: UID nameWithType: StructureSet.UID fullName: ESAPIX.Facade.API.StructureSet.UID type: Property source: id: UID path: '' startLine: 126542 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public string UID { get; set; } parameters: [] return: type: System.String content.vb: Public Property UID As String overload: ESAPIX.Facade.API.StructureSet.UID* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) id: AddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: AddStructure(String, String) nameWithType: StructureSet.AddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.AddStructure(System.String, System.String) type: Method source: id: AddStructure path: '' startLine: 126584 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Structure AddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: ESAPIX.Facade.API.Structure content.vb: 'Public Function AddStructure(dicomType As String, id As String) As ' overload: ESAPIX.Facade.API.StructureSet.AddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) id: CanAddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanAddStructure(String, String) nameWithType: StructureSet.CanAddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String, System.String) type: Method source: id: CanAddStructure path: '' startLine: 126608 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanAddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: System.Boolean content.vb: Public Function CanAddStructure(dicomType As String, id As String) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanAddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) id: CanRemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanRemoveStructure(Structure) nameWithType: StructureSet.CanRemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: CanRemoveStructure path: '' startLine: 126632 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanRemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure return: type: System.Boolean content.vb: Public Function CanRemoveStructure(structure As Structure) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanRemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) id: RemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: RemoveStructure(Structure) nameWithType: StructureSet.RemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: RemoveStructure path: '' startLine: 126656 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public void RemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure content.vb: Public Sub RemoveStructure(structure As Structure) overload: ESAPIX.Facade.API.StructureSet.RemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor commentId: M:ESAPIX.Facade.API.StructureSet.#ctor id: '#ctor' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet() nameWithType: StructureSet.StructureSet() fullName: ESAPIX.Facade.API.StructureSet.StructureSet() type: Constructor source: id: .ctor path: '' startLine: 126673 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet() content.vb: Public Sub New overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor(System.Object) commentId: M:ESAPIX.Facade.API.StructureSet.#ctor(System.Object) id: '#ctor(System.Object)' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet(Object) nameWithType: StructureSet.StructureSet(Object) fullName: ESAPIX.Facade.API.StructureSet.StructureSet(System.Object) type: Constructor source: id: .ctor path: '' startLine: 126678 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet(dynamic client) parameters: - id: client type: System.Object content.vb: Public Sub New(client As Object) overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Structures commentId: P:ESAPIX.Facade.API.StructureSet.Structures id: Structures parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Structures nameWithType: StructureSet.Structures fullName: ESAPIX.Facade.API.StructureSet.Structures type: Property source: id: Structures path: '' startLine: 160449 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<Structure> Structures { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.Structure} content.vb: Public Property Structures As IEnumerable(Of Structure) overload: ESAPIX.Facade.API.StructureSet.Structures* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Id commentId: P:ESAPIX.Facade.API.StructureSet.Id id: Id parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Id nameWithType: StructureSet.Id fullName: ESAPIX.Facade.API.StructureSet.Id type: Property source: id: Id path: '' startLine: 160505 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public string Id { get; set; } parameters: [] return: type: System.String content.vb: Public Property Id As String overload: ESAPIX.Facade.API.StructureSet.Id* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs commentId: P:ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs id: ApplicationScriptLogs parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: ApplicationScriptLogs nameWithType: StructureSet.ApplicationScriptLogs fullName: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs type: Property source: id: ApplicationScriptLogs path: '' startLine: 160547 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public IEnumerable<ApplicationScriptLog> ApplicationScriptLogs { get; set; } parameters: [] return: type: IEnumerable{ESAPIX.Facade.API.ApplicationScriptLog} content.vb: Public Property ApplicationScriptLogs As IEnumerable(Of ApplicationScriptLog) overload: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Image commentId: P:ESAPIX.Facade.API.StructureSet.Image id: Image parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Image nameWithType: StructureSet.Image fullName: ESAPIX.Facade.API.StructureSet.Image type: Property source: id: Image path: '' startLine: 160603 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Image Image { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Image content.vb: Public Property Image As Image overload: ESAPIX.Facade.API.StructureSet.Image* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Patient commentId: P:ESAPIX.Facade.API.StructureSet.Patient id: Patient parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Patient nameWithType: StructureSet.Patient fullName: ESAPIX.Facade.API.StructureSet.Patient type: Property source: id: Patient path: '' startLine: 160652 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Patient Patient { get; set; } parameters: [] return: type: ESAPIX.Facade.API.Patient content.vb: Public Property Patient As Patient overload: ESAPIX.Facade.API.StructureSet.Patient* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.UID commentId: P:ESAPIX.Facade.API.StructureSet.UID id: UID parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: UID nameWithType: StructureSet.UID fullName: ESAPIX.Facade.API.StructureSet.UID type: Property source: id: UID path: '' startLine: 160701 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public string UID { get; set; } parameters: [] return: type: System.String content.vb: Public Property UID As String overload: ESAPIX.Facade.API.StructureSet.UID* modifiers.csharp: - public - get - set modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.AddStructure(System.String,System.String) id: AddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: AddStructure(String, String) nameWithType: StructureSet.AddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.AddStructure(System.String, System.String) type: Method source: id: AddStructure path: '' startLine: 160743 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Structure AddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: ESAPIX.Facade.API.Structure content.vb: 'Public Function AddStructure(dicomType As String, id As String) As ' overload: ESAPIX.Facade.API.StructureSet.AddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) commentId: M:ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String,System.String) id: CanAddStructure(System.String,System.String) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanAddStructure(String, String) nameWithType: StructureSet.CanAddStructure(String, String) fullName: ESAPIX.Facade.API.StructureSet.CanAddStructure(System.String, System.String) type: Method source: id: CanAddStructure path: '' startLine: 160767 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanAddStructure(string dicomType, string id) parameters: - id: dicomType type: System.String - id: id type: System.String return: type: System.Boolean content.vb: Public Function CanAddStructure(dicomType As String, id As String) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanAddStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) id: CanRemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CanRemoveStructure(Structure) nameWithType: StructureSet.CanRemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.CanRemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: CanRemoveStructure path: '' startLine: 160791 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public bool CanRemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure return: type: System.Boolean content.vb: Public Function CanRemoveStructure(structure As Structure) As Boolean overload: ESAPIX.Facade.API.StructureSet.CanRemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Copy commentId: M:ESAPIX.Facade.API.StructureSet.Copy id: Copy parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Copy() nameWithType: StructureSet.Copy() fullName: ESAPIX.Facade.API.StructureSet.Copy() type: Method source: id: Copy path: '' startLine: 160815 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet Copy() return: type: ESAPIX.Facade.API.StructureSet content.vb: Public Function Copy As StructureSet overload: ESAPIX.Facade.API.StructureSet.Copy* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.CreateAndSearchBody(ESAPIX.Facade.API.SearchBodyParameters) commentId: M:ESAPIX.Facade.API.StructureSet.CreateAndSearchBody(ESAPIX.Facade.API.SearchBodyParameters) id: CreateAndSearchBody(ESAPIX.Facade.API.SearchBodyParameters) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: CreateAndSearchBody(SearchBodyParameters) nameWithType: StructureSet.CreateAndSearchBody(SearchBodyParameters) fullName: ESAPIX.Facade.API.StructureSet.CreateAndSearchBody(ESAPIX.Facade.API.SearchBodyParameters) type: Method source: id: CreateAndSearchBody path: '' startLine: 160839 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public Structure CreateAndSearchBody(SearchBodyParameters parameters) parameters: - id: parameters type: ESAPIX.Facade.API.SearchBodyParameters return: type: ESAPIX.Facade.API.Structure content.vb: 'Public Function CreateAndSearchBody(parameters As SearchBodyParameters) As ' overload: ESAPIX.Facade.API.StructureSet.CreateAndSearchBody* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.Delete commentId: M:ESAPIX.Facade.API.StructureSet.Delete id: Delete parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: Delete() nameWithType: StructureSet.Delete() fullName: ESAPIX.Facade.API.StructureSet.Delete() type: Method source: id: Delete path: '' startLine: 160863 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public void Delete() content.vb: Public Sub Delete overload: ESAPIX.Facade.API.StructureSet.Delete* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters commentId: M:ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters id: GetDefaultSearchBodyParameters parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: GetDefaultSearchBodyParameters() nameWithType: StructureSet.GetDefaultSearchBodyParameters() fullName: ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters() type: Method source: id: GetDefaultSearchBodyParameters path: '' startLine: 160880 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public SearchBodyParameters GetDefaultSearchBodyParameters() return: type: ESAPIX.Facade.API.SearchBodyParameters content.vb: Public Function GetDefaultSearchBodyParameters As SearchBodyParameters overload: ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) commentId: M:ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) id: RemoveStructure(ESAPIX.Facade.API.Structure) parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: RemoveStructure(Structure) nameWithType: StructureSet.RemoveStructure(Structure) fullName: ESAPIX.Facade.API.StructureSet.RemoveStructure(ESAPIX.Facade.API.Structure) type: Method source: id: RemoveStructure path: '' startLine: 160904 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public void RemoveStructure(Structure structure) parameters: - id: structure type: ESAPIX.Facade.API.Structure content.vb: Public Sub RemoveStructure(structure As Structure) overload: ESAPIX.Facade.API.StructureSet.RemoveStructure* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor commentId: M:ESAPIX.Facade.API.StructureSet.#ctor id: '#ctor' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet() nameWithType: StructureSet.StructureSet() fullName: ESAPIX.Facade.API.StructureSet.StructureSet() type: Constructor source: id: .ctor path: '' startLine: 160921 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet() content.vb: Public Sub New overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public - uid: ESAPIX.Facade.API.StructureSet.#ctor(System.Object) commentId: M:ESAPIX.Facade.API.StructureSet.#ctor(System.Object) id: '#ctor(System.Object)' parent: ESAPIX.Facade.API.StructureSet langs: - csharp - vb name: StructureSet(Object) nameWithType: StructureSet.StructureSet(Object) fullName: ESAPIX.Facade.API.StructureSet.StructureSet(System.Object) type: Constructor source: id: .ctor path: '' startLine: 160926 assemblies: - cs.temp.dll namespace: ESAPIX.Facade.API syntax: content: public StructureSet(dynamic client) parameters: - id: client type: System.Object content.vb: Public Sub New(client As Object) overload: ESAPIX.Facade.API.StructureSet.#ctor* modifiers.csharp: - public modifiers.vb: - Public references: - uid: ESAPIX.Facade.API commentId: N:ESAPIX.Facade.API isExternal: false name: ESAPIX.Facade.API nameWithType: ESAPIX.Facade.API fullName: ESAPIX.Facade.API - uid: System.Object commentId: T:System.Object parent: System isExternal: true name: Object nameWithType: Object fullName: System.Object - uid: ESAPIX.Facade.API.SerializableObject commentId: T:ESAPIX.Facade.API.SerializableObject parent: ESAPIX.Facade.API isExternal: false name: SerializableObject nameWithType: SerializableObject fullName: ESAPIX.Facade.API.SerializableObject - uid: ESAPIX.Facade.API.ApiDataObject commentId: T:ESAPIX.Facade.API.ApiDataObject parent: ESAPIX.Facade.API isExternal: false name: ApiDataObject nameWithType: ApiDataObject fullName: ESAPIX.Facade.API.ApiDataObject - uid: System.Xml.Serialization.IXmlSerializable isExternal: true name: Xml.Serialization.IXmlSerializable nameWithType: Xml.Serialization.IXmlSerializable fullName: System.Xml.Serialization.IXmlSerializable - uid: ESAPIX.Facade.API.ApiDataObject.Name commentId: P:ESAPIX.Facade.API.ApiDataObject.Name parent: ESAPIX.Facade.API.ApiDataObject isExternal: false name: Name nameWithType: ApiDataObject.Name fullName: ESAPIX.Facade.API.ApiDataObject.Name - uid: ESAPIX.Facade.API.ApiDataObject.Comment commentId: P:ESAPIX.Facade.API.ApiDataObject.Comment parent: ESAPIX.Facade.API.ApiDataObject isExternal: false name: Comment nameWithType: ApiDataObject.Comment fullName: ESAPIX.Facade.API.ApiDataObject.Comment - uid: ESAPIX.Facade.API.ApiDataObject.HistoryUserName commentId: P:ESAPIX.Facade.API.ApiDataObject.HistoryUserName parent: ESAPIX.Facade.API.ApiDataObject isExternal: false name: HistoryUserName nameWithType: ApiDataObject.HistoryUserName fullName: ESAPIX.Facade.API.ApiDataObject.HistoryUserName - uid: ESAPIX.Facade.API.ApiDataObject.HistoryDateTime commentId: P:ESAPIX.Facade.API.ApiDataObject.HistoryDateTime parent: ESAPIX.Facade.API.ApiDataObject isExternal: false name: HistoryDateTime nameWithType: ApiDataObject.HistoryDateTime fullName: ESAPIX.Facade.API.ApiDataObject.HistoryDateTime - uid: ESAPIX.Facade.API.ApiDataObject.HistoryUserDisplayName commentId: P:ESAPIX.Facade.API.ApiDataObject.HistoryUserDisplayName parent: ESAPIX.Facade.API.ApiDataObject isExternal: false name: HistoryUserDisplayName nameWithType: ApiDataObject.HistoryUserDisplayName fullName: ESAPIX.Facade.API.ApiDataObject.HistoryUserDisplayName - uid: ESAPIX.Facade.API.SerializableObject.IsLive commentId: P:ESAPIX.Facade.API.SerializableObject.IsLive parent: ESAPIX.Facade.API.SerializableObject isExternal: false name: IsLive nameWithType: SerializableObject.IsLive fullName: ESAPIX.Facade.API.SerializableObject.IsLive - uid: ESAPIX.Facade.API.SerializableObject.GetSchema commentId: M:ESAPIX.Facade.API.SerializableObject.GetSchema parent: ESAPIX.Facade.API.SerializableObject isExternal: false name: GetSchema() nameWithType: SerializableObject.GetSchema() fullName: ESAPIX.Facade.API.SerializableObject.GetSchema() spec.csharp: - uid: ESAPIX.Facade.API.SerializableObject.GetSchema name: GetSchema nameWithType: SerializableObject.GetSchema fullName: ESAPIX.Facade.API.SerializableObject.GetSchema - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: ESAPIX.Facade.API.SerializableObject.GetSchema name: GetSchema nameWithType: SerializableObject.GetSchema fullName: ESAPIX.Facade.API.SerializableObject.GetSchema - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: ESAPIX.Facade.API.SerializableObject.ReadXml(System.Xml.XmlReader) commentId: M:ESAPIX.Facade.API.SerializableObject.ReadXml(System.Xml.XmlReader) parent: ESAPIX.Facade.API.SerializableObject isExternal: true name: ReadXml(Xml.XmlReader) nameWithType: SerializableObject.ReadXml(Xml.XmlReader) fullName: ESAPIX.Facade.API.SerializableObject.ReadXml(System.Xml.XmlReader) spec.csharp: - uid: ESAPIX.Facade.API.SerializableObject.ReadXml(System.Xml.XmlReader) name: ReadXml nameWithType: SerializableObject.ReadXml fullName: ESAPIX.Facade.API.SerializableObject.ReadXml - name: ( nameWithType: ( fullName: ( - uid: System.Xml.XmlReader name: Xml.XmlReader nameWithType: Xml.XmlReader fullName: System.Xml.XmlReader isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: ESAPIX.Facade.API.SerializableObject.ReadXml(System.Xml.XmlReader) name: ReadXml nameWithType: SerializableObject.ReadXml fullName: ESAPIX.Facade.API.SerializableObject.ReadXml - name: ( nameWithType: ( fullName: ( - uid: System.Xml.XmlReader name: Xml.XmlReader nameWithType: Xml.XmlReader fullName: System.Xml.XmlReader isExternal: true - name: ) nameWithType: ) fullName: ) - uid: ESAPIX.Facade.API.SerializableObject.WriteXml(System.Xml.XmlWriter) commentId: M:ESAPIX.Facade.API.SerializableObject.WriteXml(System.Xml.XmlWriter) parent: ESAPIX.Facade.API.SerializableObject isExternal: true name: WriteXml(Xml.XmlWriter) nameWithType: SerializableObject.WriteXml(Xml.XmlWriter) fullName: ESAPIX.Facade.API.SerializableObject.WriteXml(System.Xml.XmlWriter) spec.csharp: - uid: ESAPIX.Facade.API.SerializableObject.WriteXml(System.Xml.XmlWriter) name: WriteXml nameWithType: SerializableObject.WriteXml fullName: ESAPIX.Facade.API.SerializableObject.WriteXml - name: ( nameWithType: ( fullName: ( - uid: System.Xml.XmlWriter name: Xml.XmlWriter nameWithType: Xml.XmlWriter fullName: System.Xml.XmlWriter isExternal: true - name: ) nameWithType: ) fullName: ) spec.vb: - uid: ESAPIX.Facade.API.SerializableObject.WriteXml(System.Xml.XmlWriter) name: WriteXml nameWithType: SerializableObject.WriteXml fullName: ESAPIX.Facade.API.SerializableObject.WriteXml - name: ( nameWithType: ( fullName: ( - uid: System.Xml.XmlWriter name: Xml.XmlWriter nameWithType: Xml.XmlWriter fullName: System.Xml.XmlWriter isExternal: true - name: ) nameWithType: ) fullName: ) - uid: ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory commentId: M:ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory parent: ESAPIX.Facade.API.SerializableObject isExternal: false name: ClearSerializationHistory() nameWithType: SerializableObject.ClearSerializationHistory() fullName: ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory() spec.csharp: - uid: ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory name: ClearSerializationHistory nameWithType: SerializableObject.ClearSerializationHistory fullName: ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) spec.vb: - uid: ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory name: ClearSerializationHistory nameWithType: SerializableObject.ClearSerializationHistory fullName: ESAPIX.Facade.API.SerializableObject.ClearSerializationHistory - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) - uid: System commentId: N:System isExternal: false name: System nameWithType: System fullName: System - uid: ESAPIX.Facade.API.StructureSet.UID* commentId: Overload:ESAPIX.Facade.API.StructureSet.UID isExternal: false name: UID nameWithType: StructureSet.UID fullName: ESAPIX.Facade.API.StructureSet.UID - uid: System.String commentId: T:System.String parent: System isExternal: true name: String nameWithType: String fullName: System.String - uid: ESAPIX.Facade.API.StructureSet.Image* commentId: Overload:ESAPIX.Facade.API.StructureSet.Image isExternal: false name: Image nameWithType: StructureSet.Image fullName: ESAPIX.Facade.API.StructureSet.Image - uid: ESAPIX.Facade.API.Image commentId: T:ESAPIX.Facade.API.Image parent: ESAPIX.Facade.API isExternal: false name: Image nameWithType: Image fullName: ESAPIX.Facade.API.Image - uid: ESAPIX.Facade.API.StructureSet.Structures* commentId: Overload:ESAPIX.Facade.API.StructureSet.Structures isExternal: false name: Structures nameWithType: StructureSet.Structures fullName: ESAPIX.Facade.API.StructureSet.Structures - uid: IEnumerable{ESAPIX.Facade.API.Structure} commentId: '!:IEnumerable{ESAPIX.Facade.API.Structure}' definition: IEnumerable`1 name: IEnumerable<Structure> nameWithType: IEnumerable<Structure> fullName: IEnumerable<ESAPIX.Facade.API.Structure> nameWithType.vb: IEnumerable(Of Structure) fullName.vb: IEnumerable(Of ESAPIX.Facade.API.Structure) name.vb: IEnumerable(Of Structure) spec.csharp: - uid: IEnumerable`1 name: IEnumerable nameWithType: IEnumerable fullName: IEnumerable isExternal: true - name: < nameWithType: < fullName: < - uid: ESAPIX.Facade.API.Structure name: Structure nameWithType: Structure fullName: ESAPIX.Facade.API.Structure - name: '>' nameWithType: '>' fullName: '>' spec.vb: - uid: IEnumerable`1 name: IEnumerable nameWithType: IEnumerable fullName: IEnumerable isExternal: true - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - uid: ESAPIX.Facade.API.Structure name: Structure nameWithType: Structure fullName: ESAPIX.Facade.API.Structure - name: ) nameWithType: ) fullName: ) - uid: IEnumerable`1 isExternal: true name: IEnumerable<> nameWithType: IEnumerable<> fullName: IEnumerable<> nameWithType.vb: IEnumerable(Of ) fullName.vb: IEnumerable(Of ) name.vb: IEnumerable(Of ) spec.csharp: - uid: IEnumerable`1 name: IEnumerable nameWithType: IEnumerable fullName: IEnumerable isExternal: true - name: < nameWithType: < fullName: < - name: '' nameWithType: '' fullName: '' - name: '>' nameWithType: '>' fullName: '>' spec.vb: - uid: IEnumerable`1 name: IEnumerable nameWithType: IEnumerable fullName: IEnumerable isExternal: true - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - name: '' nameWithType: '' fullName: '' - name: ) nameWithType: ) fullName: ) - uid: ESAPIX.Facade.API.StructureSet.#ctor* commentId: Overload:ESAPIX.Facade.API.StructureSet.#ctor isExternal: false name: StructureSet nameWithType: StructureSet.StructureSet fullName: ESAPIX.Facade.API.StructureSet.StructureSet - uid: ESAPIX.Facade.API.StructureSet.AddStructure* commentId: Overload:ESAPIX.Facade.API.StructureSet.AddStructure isExternal: false name: AddStructure nameWithType: StructureSet.AddStructure fullName: ESAPIX.Facade.API.StructureSet.AddStructure - uid: ESAPIX.Facade.API.Structure commentId: T:ESAPIX.Facade.API.Structure parent: ESAPIX.Facade.API isExternal: false name: Structure nameWithType: Structure fullName: ESAPIX.Facade.API.Structure - uid: ESAPIX.Facade.API.StructureSet.CanAddStructure* commentId: Overload:ESAPIX.Facade.API.StructureSet.CanAddStructure isExternal: false name: CanAddStructure nameWithType: StructureSet.CanAddStructure fullName: ESAPIX.Facade.API.StructureSet.CanAddStructure - uid: System.Boolean commentId: T:System.Boolean parent: System isExternal: true name: Boolean nameWithType: Boolean fullName: System.Boolean - uid: ESAPIX.Facade.API.StructureSet.CanRemoveStructure* commentId: Overload:ESAPIX.Facade.API.StructureSet.CanRemoveStructure isExternal: false name: CanRemoveStructure nameWithType: StructureSet.CanRemoveStructure fullName: ESAPIX.Facade.API.StructureSet.CanRemoveStructure - uid: ESAPIX.Facade.API.StructureSet.RemoveStructure* commentId: Overload:ESAPIX.Facade.API.StructureSet.RemoveStructure isExternal: false name: RemoveStructure nameWithType: StructureSet.RemoveStructure fullName: ESAPIX.Facade.API.StructureSet.RemoveStructure - uid: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs* commentId: Overload:ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs isExternal: false name: ApplicationScriptLogs nameWithType: StructureSet.ApplicationScriptLogs fullName: ESAPIX.Facade.API.StructureSet.ApplicationScriptLogs - uid: IEnumerable{ESAPIX.Facade.API.ApplicationScriptLog} commentId: '!:IEnumerable{ESAPIX.Facade.API.ApplicationScriptLog}' definition: IEnumerable`1 name: IEnumerable<ApplicationScriptLog> nameWithType: IEnumerable<ApplicationScriptLog> fullName: IEnumerable<ESAPIX.Facade.API.ApplicationScriptLog> nameWithType.vb: IEnumerable(Of ApplicationScriptLog) fullName.vb: IEnumerable(Of ESAPIX.Facade.API.ApplicationScriptLog) name.vb: IEnumerable(Of ApplicationScriptLog) spec.csharp: - uid: IEnumerable`1 name: IEnumerable nameWithType: IEnumerable fullName: IEnumerable isExternal: true - name: < nameWithType: < fullName: < - uid: ESAPIX.Facade.API.ApplicationScriptLog name: ApplicationScriptLog nameWithType: ApplicationScriptLog fullName: ESAPIX.Facade.API.ApplicationScriptLog - name: '>' nameWithType: '>' fullName: '>' spec.vb: - uid: IEnumerable`1 name: IEnumerable nameWithType: IEnumerable fullName: IEnumerable isExternal: true - name: '(Of ' nameWithType: '(Of ' fullName: '(Of ' - uid: ESAPIX.Facade.API.ApplicationScriptLog name: ApplicationScriptLog nameWithType: ApplicationScriptLog fullName: ESAPIX.Facade.API.ApplicationScriptLog - name: ) nameWithType: ) fullName: ) - uid: ESAPIX.Facade.API.StructureSet.Patient* commentId: Overload:ESAPIX.Facade.API.StructureSet.Patient isExternal: false name: Patient nameWithType: StructureSet.Patient fullName: ESAPIX.Facade.API.StructureSet.Patient - uid: ESAPIX.Facade.API.Patient commentId: T:ESAPIX.Facade.API.Patient parent: ESAPIX.Facade.API isExternal: false name: Patient nameWithType: Patient fullName: ESAPIX.Facade.API.Patient - uid: ESAPIX.Facade.API.StructureSet.Id* commentId: Overload:ESAPIX.Facade.API.StructureSet.Id isExternal: false name: Id nameWithType: StructureSet.Id fullName: ESAPIX.Facade.API.StructureSet.Id - uid: ESAPIX.Facade.API.StructureSet.Copy* commentId: Overload:ESAPIX.Facade.API.StructureSet.Copy isExternal: false name: Copy nameWithType: StructureSet.Copy fullName: ESAPIX.Facade.API.StructureSet.Copy - uid: ESAPIX.Facade.API.StructureSet commentId: T:ESAPIX.Facade.API.StructureSet parent: ESAPIX.Facade.API isExternal: false name: StructureSet nameWithType: StructureSet fullName: ESAPIX.Facade.API.StructureSet - uid: ESAPIX.Facade.API.StructureSet.CreateAndSearchBody* commentId: Overload:ESAPIX.Facade.API.StructureSet.CreateAndSearchBody isExternal: false name: CreateAndSearchBody nameWithType: StructureSet.CreateAndSearchBody fullName: ESAPIX.Facade.API.StructureSet.CreateAndSearchBody - uid: ESAPIX.Facade.API.SearchBodyParameters commentId: T:ESAPIX.Facade.API.SearchBodyParameters parent: ESAPIX.Facade.API isExternal: false name: SearchBodyParameters nameWithType: SearchBodyParameters fullName: ESAPIX.Facade.API.SearchBodyParameters - uid: ESAPIX.Facade.API.StructureSet.Delete* commentId: Overload:ESAPIX.Facade.API.StructureSet.Delete isExternal: false name: Delete nameWithType: StructureSet.Delete fullName: ESAPIX.Facade.API.StructureSet.Delete - uid: ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters* commentId: Overload:ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters isExternal: false name: GetDefaultSearchBodyParameters nameWithType: StructureSet.GetDefaultSearchBodyParameters fullName: ESAPIX.Facade.API.StructureSet.GetDefaultSearchBodyParameters
29.635468
105
0.742617
03923fa63fd7279225bfec1d8b6fe9911b757790
10,390
yml
YAML
windows/hub/windows-10-landing.yml
przlplx/windows-itpro-docs
d3e5fa3eba99ab7cd5e5a41df817742f379b91bf
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows/hub/windows-10-landing.yml
przlplx/windows-itpro-docs
d3e5fa3eba99ab7cd5e5a41df817742f379b91bf
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows/hub/windows-10-landing.yml
przlplx/windows-itpro-docs
d3e5fa3eba99ab7cd5e5a41df817742f379b91bf
[ "CC-BY-4.0", "MIT" ]
null
null
null
### YamlMime:YamlDocument documentType: LandingData title: Windows 10 metadata: document_id: title: Windows 10 description: Find tools, step-by-step guides, and other resources to help you deploy and support Windows 10 in your organization. keywords: Windows 10, issues, fixes, announcements, Windows Server, advisories ms.localizationpriority: medium author: lizap ms.author: elizapo manager: dougkim ms.topic: article ms.devlang: na sections: - items: - type: markdown text: " Find tools, step-by-step guides, and other resources to help you deploy and support Windows 10 in your organization. " - title: Explore - items: - type: markdown text: " Get started with Windows 10. Evaluate free for 90 days, and set up virtual labs to test a proof of concept.<br> <table><tr><td><img src='images/explore1.png' width='192' height='192'><br>**Download a free 90-day evaluation**<br>Try the latest features. Test your apps, hardware, and deployment strategies.<br><a href='https://www.microsoft.com/evalcenter/evaluate-windows-10-enterprise'>Start evaluation</a></td><td><img src='images/explore2.png' width='192' height='192'><br>**Get started with virtual labs**<br>Try setup, deployment, and management scenarios in a virtual environment, with no additional software or setup required.<br><a href='https://www.microsoft.com/en-us/itpro/windows-10/virtual-labs'>See Windows 10 labs</a></td><td><img src='images/explore3.png' width='192' height='192'><br>**Conduct a proof of concept**<br>Download a lab environment with MDT, Configuration Manager, Windows 10, and more.<br><a href='https://go.microsoft.com/fwlink/p/?linkid=861441'>Get deployment kit</a></td></tr> </table> " - title: What's new - items: - type: markdown text: " Learn about the latest releases and servicing options.<br> <table><tr><td><img src='images/land-new.png' width='384' height='384'></td><td><a href='https://docs.microsoft.com/en-us/windows/whats-new/whats-new-windows-10-version-1809'>What's new in Windows 10, version 1809</a><br><a href='https://docs.microsoft.com/windows/whats-new/whats-new-windows-10-version-1803'>What's new in Windows 10, version 1803</a><br><a href='https://docs.microsoft.com/windows/whats-new/whats-new-windows-10-version-1709'>What's new in Windows 10, version 1709</a><br><a href='https://docs.microsoft.com/windows/windows-10/release-information'>Windows 10 release information</a><br><a href='https://support.microsoft.com/help/12387/windows-10-update-history'>Windows 10 update history</a><br><a href='https://go.microsoft.com/fwlink/p/?linkid=861443'>Windows 10 roadmap</a></td></tr> </table> " - title: Frequently asked questions - items: - type: markdown text: " Get answers to commom questions, or get help with a specific problem.<br> <table><tr><td><a href='https://docs.microsoft.com/windows/deployment/planning/windows-10-enterprise-faq-itpro'>Windows 10 FAQ for IT Pros</a><br><a href='https://go.microsoft.com/fwlink/p/?linkid=861444'>Windows 10 forums</a><br><a href='https://techcommunity.microsoft.com/t5/Windows-10/bd-p/Windows10space'>Windows 10 TechCommunity</a><br><a href='https://go.microsoft.com/fwlink/p/?linkid=861445'>Which edition is right for your organization?</a><br><a href='https://docs.microsoft.com/windows/deployment/planning/windows-10-infrastructure-requirements'>Infrastructure requirements</a><br><a href='https://www.microsoft.com/itpro/windows-10/windows-as-a-service'>What's Windows as a service?</a><br><a href='https://docs.microsoft.com/en-us/windows/client-management/windows-10-mobile-and-mdm'>Windows 10 Mobile deployment and management guide</a></td><td><img src='images/faq.png' width='384' height='384'></td></tr> </table> " - title: Plan - items: - type: markdown text: " Prepare to deploy Windows 10 in your organization. Explore deployment methods, compatibility tools, and servicing options. <br> <table><tr><td><img src='images/plan1.png' width='192' height='192'><br>**Application compatibility**<br>Get best practices and tools to help you address compatibility issues prior to deployment.<br><a href='https://www.readyforwindows.com/'>Find apps that are ready for Windows 10.</a><br><a href='https://docs.microsoft.com/windows/deployment/upgrade/manage-windows-upgrades-with-upgrade-readiness'>Identify and prioritize apps with Upgrade Readiness</a><br><a href='https://technet.microsoft.com/microsoft-edge/mt612809.aspx'>Test, validate, and implement with the Web Application Compatibility Lab Kit</a></td><td><img src='images/plan2.png' width='192' height='192'><br>**Upgrade options**<br>Learn about the options available for upgrading Windows 7, Windows 8, or Windows 8.1 PCs and devices to Windows 10.<br><a href='https://docs.microsoft.com/windows/deployment/upgrade/use-upgrade-readiness-to-manage-windows-upgrades'>Manage Windows upgrades with Upgrade Readiness</a><br><a href='https://docs.microsoft.com/windows/deployment/upgrade/windows-10-upgrade-paths'>Windows 10 upgrade paths</a><br><a href='https://docs.microsoft.com/windows/deployment/upgrade/windows-10-edition-upgrades'>Windows 10 edition upgrades</a></td><td><img src='images/plan3.png' width='192' height='192'><br>**Windows as a service**<br>Windows as a service provides ongoing new capabilities and updates while maintaining a high level of hardware and software compatibility.<br><a href='https://docs.microsoft.com/windows/deployment/update/windows-as-a-service'>Explore</a></td></tr> </table> " - title: Deploy - items: - type: markdown text: " Download recommended tools and get step-by-step guidance for in-place upgrades, dynamic provisioning, or traditional deployments.<br> <table><tr><td><img src='images/deploy1.png' width='192' height='192'><br>**In-place upgrade**<br>The simplest way to upgrade PCs that are currently running Windows 7, Windows 8, or Windows 8.1 is to do an in-place upgrade.<br><a href='https://docs.microsoft.com/windows/deployment/upgrade/upgrade-to-windows-10-with-system-center-configuraton-manager'>Upgrade to Windows 10 with Configuration Manager</a><br><a href='https://docs.microsoft.com/windows/deployment/upgrade/upgrade-to-windows-10-with-the-microsoft-deployment-toolkit'>Upgrade to Windows 10 with MDT</a></td><td><img src='images/deploy2.png' width='192' height='192'><br>**Traditional deployment**<br>Some organizations may still need to opt for an image-based deployment of Windows 10.<br><a href='https://docs.microsoft.com/en-us/sccm/osd/deploy-use/scenarios-to-deploy-enterprise-operating-systems'>Deploy Windows 10 with Configuration Manager</a><br><a href='https://docs.microsoft.com/windows/deployment/deploy-windows-mdt/deploy-windows-10-with-the-microsoft-deployment-toolkit'>Deploy Windows 10 with MDT</a></td></tr><tr><td><img src='images/deploy3.png' width='192' height='192'><br>**Dynamic provisioning**<br>With Windows 10 you can create provisioning packages that let you quickly configure a device without having to install a new image.<br><a href='https://docs.microsoft.com/windows/configuration/provisioning-packages/provisioning-packages'>Provisioning packages for Windows 10</a><br><a href='https://docs.microsoft.com/windows/configuration/provisioning-packages/provisioning-create-package'>Build and apply a provisioning package</a><br><a href='https://docs.microsoft.com/windows/configuration/customize-windows-10-start-screens-by-using-provisioning-packages-and-icd'>Customize Windows 10 start and the taskbar</a></td><td><img src='images/deploy4.png'><br>**Other deployment scenarios**<br>Get guidance on how to deploy Windows 10 for students, faculty, and guest users - and how to deploy line-of-business apps.<br><a href='https://docs.microsoft.com/education/windows/'>Windows deployment for education environments</a><br><a href='https://docs.microsoft.com/windows/configuration/set-up-shared-or-guest-pc'>Set up a shared or guest PC with Windows 10</a><br><a href='https://docs.microsoft.com/windows/application-management/sideload-apps-in-windows-10'>Sideload apps in Windows 10</a></td></tr> </table> " - title: Management and security - items: - type: markdown text: " Learn how to manage Windows 10 clients and apps, secure company data, and manage risk.<br> <table><tr><td><img src='images/manage1.png' width='288' height='288'><br>**Manage Windows 10 updates**<br>Get best practices and tools to help you manage clients and apps.<br><a href='https://docs.microsoft.com/en-us/windows/client-management/'>Manage clients in Windows 10</a><br><a href='https://docs.microsoft.com/en-us/windows/application-management/'>Manage apps and features in Windows 10</a></td><td><img src='images/manage2.png' width='288' height='288'><br>**Security**<br>Intelligent security, powered by the cloud. Out-of-the-box protection, advanced security features, and intelligent management to respond to advanced threats.<br><a href='https://docs.microsoft.com/windows/security/index'>Windows 10 enterprise security</a><br><a href='https://docs.microsoft.com/windows/security/threat-protection'>Threat protection</a><br><a href='https://docs.microsoft.com/windows/access-protection'>Identity protection</a><br><a href='https://docs.microsoft.com/windows/security/information-protection'>Information protection</a></td></tr> </table> " - title: Stay informed - items: - type: markdown text: " <table><tr><td><img src='images/insider.png' width='192' height='192'><br>**Sign up for the Windows IT Pro Insider**<br>Find out about new resources and get expert tips and tricks on deployment, management, security, and more.<br><a href='https://aka.ms/windows-it-pro-insider'>Learn more</a></td><td><img src='images/twitter.png' width='192' height='192'><br>**Follow us on Twitter**<br>Keep up with the latest desktop and device trends, Windows news, and events for IT pros.<br><a href='https://twitter.com/MSWindowsITPro'>Visit Twitter</a></td><td><img src='images/wip4biz.png' width='192' height='192'><br>**Join the Windows Insider Program for Business**<br>Get early access to new builds and provide feedback on the latest features and functionalities.<br><a href='https://insider.windows.com/ForBusiness'>Get started</a></td></tr> </table> "
133.205128
2,391
0.743503
f79b5e37035d59499f047ea889012371b6f11f3e
783
yml
YAML
docs-ref-autogen/azure-mgmt-containerservice/azure.mgmt.containerservice.v2021_10_01.models.AgentPoolMode.yml
mbrightcpacket/azure-docs-sdk-python
27c698dbc13d8aa0971a9c68aeb92dbceb56ad44
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs-ref-autogen/azure-mgmt-containerservice/azure.mgmt.containerservice.v2021_10_01.models.AgentPoolMode.yml
mbrightcpacket/azure-docs-sdk-python
27c698dbc13d8aa0971a9c68aeb92dbceb56ad44
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs-ref-autogen/azure-mgmt-containerservice/azure.mgmt.containerservice.v2021_10_01.models.AgentPoolMode.yml
mbrightcpacket/azure-docs-sdk-python
27c698dbc13d8aa0971a9c68aeb92dbceb56ad44
[ "CC-BY-4.0", "MIT" ]
null
null
null
### YamlMime:PythonEnum uid: azure.mgmt.containerservice.v2021_10_01.models.AgentPoolMode name: AgentPoolMode fullName: azure.mgmt.containerservice.v2021_10_01.models.AgentPoolMode summary: 'A cluster must have at least one ''System'' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: [https://docs.microsoft.com/azure/aks/use-system-pools](https://docs.microsoft.com/azure/aks/use-system-pools)' module: azure.mgmt.containerservice.v2021_10_01.models constructor: syntax: AgentPoolMode(value) inheritances: - builtins.str - enum.Enum fields: - name: SYSTEM uid: azure.mgmt.containerservice.v2021_10_01.models.AgentPoolMode.SYSTEM - name: USER uid: azure.mgmt.containerservice.v2021_10_01.models.AgentPoolMode.USER
35.590909
113
0.804598
f7cadef66728e2522abd5fb0f33e9b41579f3030
189
yaml
YAML
charts/bulk-scan-sample-app/values.preview.template.yaml
uk-gov-mirror/hmcts.bulk-scan-ccd-event-handler-sample-app
57d99019b2ecf0959b7a06ede1e970c2e816d412
[ "MIT" ]
1
2019-11-06T12:08:41.000Z
2019-11-06T12:08:41.000Z
charts/bulk-scan-sample-app/values.preview.template.yaml
uk-gov-mirror/hmcts.bulk-scan-ccd-event-handler-sample-app
57d99019b2ecf0959b7a06ede1e970c2e816d412
[ "MIT" ]
124
2019-06-17T10:21:46.000Z
2022-03-29T07:21:52.000Z
charts/bulk-scan-sample-app/values.preview.template.yaml
uk-gov-mirror/hmcts.bulk-scan-ccd-event-handler-sample-app
57d99019b2ecf0959b7a06ede1e970c2e816d412
[ "MIT" ]
4
2020-10-20T08:15:36.000Z
2022-02-22T15:32:00.000Z
java: environment: S2S_URL: "http://rpe-service-auth-provider-aat.service.core-compute-aat.internal" # Don't modify below here image: ${IMAGE_NAME} ingressHost: ${SERVICE_FQDN}
27
85
0.724868
438cbacee8dceec3ffa6de88488619173f4751d9
11,828
yml
YAML
contrib/kubespray/example/openpai.yml
prafullkotecha/pai
71e3e5e90d29a3b266006b1bf33b7fdbc59388f5
[ "MIT" ]
1
2021-09-22T09:09:13.000Z
2021-09-22T09:09:13.000Z
contrib/kubespray/example/openpai.yml
prafullkotecha/pai
71e3e5e90d29a3b266006b1bf33b7fdbc59388f5
[ "MIT" ]
null
null
null
contrib/kubespray/example/openpai.yml
prafullkotecha/pai
71e3e5e90d29a3b266006b1bf33b7fdbc59388f5
[ "MIT" ]
null
null
null
############## etcd configuration ############## # etcd_deployment_type: docker # etcd_version: v3.3.10 ## Set level of detail for etcd exported metrics, specify 'extensive' to include histogram metrics. # etcd_metrics: basic ## Etcd is restricted by default to 512M on systems under 4GB RAM, 512MB is not enough for much more than testing. ## Set this if your etcd nodes have less than 4GB but you want more RAM for etcd. Set to 0 for unrestricted RAM. etcd_memory_limit: "0" ## Etcd has a default of 2G for its space quota. If you put a value in etcd_memory_limit which is less than ## etcd_quota_backend_bytes, you may encounter out of memory terminations of the etcd cluster. Please check ## etcd documentation for more information. ## https://etcd.io/docs/v3.4.0/op-guide/configuration/ etcd_quota_backend_bytes: "8589934592" ############## nginx configuration ############## # Requests for load balancer app loadbalancer_apiserver_memory_requests: 500M loadbalancer_apiserver_cpu_requests: 500m loadbalancer_apiserver_keepalive_timeout: 15m ## Internal loadbalancers for apiservers # loadbalancer_apiserver_localhost: true ## valid options are "nginx" or "haproxy" loadbalancer_apiserver_type: "nginx" ## applied if only external loadbalancer_apiserver is defined, otherwise ignored # apiserver_loadbalancer_domain_name: "lb-apiserver.kubernetes.local" ## Local loadbalancer should use this port ## And must be set port 6443 # loadbalancer_apiserver_port: 6443 ## If loadbalancer_apiserver_healthcheck_port variable defined, enables proxy liveness check for nginx. # loadbalancer_apiserver_healthcheck_port: 8081 ############## DNS configuration ############## ## Kubernetes cluster name, also will be used as DNS domain # cluster_name: cluster.local ## Subdomains of DNS domain to be resolved via /etc/resolv.conf for hostnet pods # ndots: 2 ## Can be coredns, coredns_dual, manual or none # dns_mode: coredns ## Set manual server if using a custom cluster DNS server ## manual_dns_server: 10.x.x.x ## Enable nodelocal dns cache enable_nodelocaldns: false # nodelocaldns_ip: 169.254.25.10 # nodelocaldns_health_port: 9254 ## Enable k8s_external plugin for CoreDNS # enable_coredns_k8s_external: false # coredns_k8s_external_zone: k8s_external.local ## Enable endpoint_pod_names option for kubernetes plugin # enable_coredns_k8s_endpoint_pod_names: false ## Can be docker_dns, host_resolvconf or none # resolvconf_mode: docker_dns ## Ip address of the kubernetes skydns service # skydns_server: "{{ kube_service_addresses|ipaddr('net')|ipaddr(3)|ipaddr('address') }}" # skydns_server_secondary: "{{ kube_service_addresses|ipaddr('net')|ipaddr(4)|ipaddr('address') }}" # dns_domain: "{{ cluster_name }}" # Limits for coredns dns_memory_limit: 1000Mi dns_cpu_requests: 1000m dns_memory_requests: 500Mi dns_min_replicas: 1 # dns_nodes_per_replica: 16 # dns_cores_per_replica: 256 # dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas|int > 1 else 'false' }}" # coredns_ordinal_suffix: "" # nodelocaldns # nodelocaldns_cpu_requests: 100m # nodelocaldns_memory_limit: 170Mi # nodelocaldnsdns_memory_requests: 70Mi # Netchecker ## Deploy netchecker app to verify DNS resolve as an HTTP service deploy_netchecker: false # netchecker_port: 31081 # agent_report_interval: 15 # netcheck_namespace: default # Limits for netchecker apps # netchecker_agent_cpu_limit: 30m # netchecker_agent_memory_limit: 100M # netchecker_agent_cpu_requests: 15m # netchecker_agent_memory_requests: 64M # netchecker_server_cpu_limit: 100m # netchecker_server_memory_limit: 256M # netchecker_server_cpu_requests: 50m # netchecker_server_memory_requests: 64M # SecurityContext when PodSecurityPolicy is enabled # netchecker_agent_user: 1000 # netchecker_server_user: 1000 # netchecker_agent_group: 1000 # netchecker_server_group: 1000 ############## kubernetes configuration ############## ## Change this to use another Kubernetes version, e.g. a current beta release # kube_version: v1.15.3 ## kubernetes image repo define # kube_image_repo: "gcr.io/google-containers" ## Cluster Loglevel configuration kube_log_level: 2 #kube_token_auth: true #kube_basic_auth: true ## Make a copy of kubeconfig on the host that runs Ansible in {{ inventory_dir }}/artifacts kubeconfig_localhost: true ## Download kubectl onto the host that runs Ansible in {{ bin_dir }} kubectl_localhost: true # kubelet_status_update_frequency: 10s ## For some things, kubelet needs to load kernel modules. For example, ## dynamic kernel services are needed for mounting persistent volumes into containers. These may not be ## loaded by preinstall kubernetes processes. For example, ceph and rbd backed volumes. Set this variable to ## true to let kubelet load kernel modules. # kubelet_load_modules: false ## Configure the amount of pods able to run on single node ## default is equal to application default # kubelet_max_pods: 110 ## Support custom flags to be passed to kubelet kubelet_custom_flags: - "--image-pull-progress-deadline=10m" # kube_feature_gates: [] ## Support custom flags to be passed to kubelet only on nodes, not masters kubelet_node_custom_flags: - "--node-labels=pai-worker=true" k8s_image_pull_policy: Always ## extra runtime config # kube_api_runtime_config: [] ##### networking # Choose network plugin (cilium, calico, contiv, weave or flannel. Use cni for generic cni plugin) # Can also be set to 'cloud', which lets the cloud provider setup appropriate routing kube_network_plugin: calico # Setting multi_networking to true will install Multus: https://github.com/intel/multus-cni # kube_network_plugin_multus: false ## Scale: 4096 nodes, 100 pods per node ## Kubernetes internal network for services, unused block of space. kube_service_addresses: 10.192.0.0/13 ## internal network. When used, it will assign IP ## addresses from this range to individual pods. ## This network must be unused in your network infrastructure! kube_pods_subnet: 10.200.0.0/13 ## internal network node size allocation (optional). This is the size allocated ## to each node on your network. With these defaults you should have ## room for 64 nodes with 254 pods per node. ## Example: Up to 256 nodes, 100 pods per node (/16 network): ## - kube_service_addresses: 10.233.0.0/17 ## - kube_pods_subnet: 10.233.128.0/17 ## - kube_network_node_prefix: 25 ## Example: Up to 4096 nodes, 100 pods per node (/12 network): ## - kube_service_addresses: 10.192.0.0/13 ## - kube_pods_subnet: 10.200.0.0/13 ## - kube_network_node_prefix: 25 kube_network_node_prefix: 25 ##### api-server kube_kubeadm_apiserver_extra_args: cors-allowed-origins: ".*" storage-media-type: "application/json" max-requests-inflight: 1500 max-mutating-requests-inflight: 500 v: 2 ## Extra control plane host volume mounts ## Example: ## apiserver_extra_volumes: ## - name: name ## hostPath: /host/path ## mountPath: /mount/path ## readOnly: true # apiserver_extra_volumes: {} ## ETCD backend for k8s data # kube_apiserver_storage_backend: etcd3 ## change to 0.0.0.0 to enable insecure access from anywhere (not recommended) # kube_apiserver_insecure_bind_address: 127.0.0.1 ## By default the external API listens on all interfaces, this can be changed to ## listen on a specific address/interface. # kube_apiserver_bind_address: 0.0.0.0 ## A port range to reserve for services with NodePort visibility. ## Inclusive at both ends of the range. # kube_apiserver_node_port_range: "30000-32767" kube_apiserver_memory_limit: 20000M kube_apiserver_cpu_limit: 10000m kube_apiserver_memory_requests: 1024M kube_apiserver_cpu_requests: 1000m # kube_apiserver_request_timeout: "1m0s" # 1.9 and below Admission control plug-ins #kube_apiserver_admission_control: # - NamespaceLifecycle # - LimitRanger # - ServiceAccount # - DefaultStorageClass # - PersistentVolumeClaimResize # - MutatingAdmissionWebhook # - ValidatingAdmissionWebhook # - ResourceQuota # - DefaultTolerationSeconds # - DenyEscalatingExec ## 1.10+ admission plugins # kube_apiserver_enable_admission_plugins: [] ## 1.10+ list of disabled admission plugins # kube_apiserver_disable_admission_plugins: [] ##### controller kube_kubeadm_controller_extra_args: v: 2 kube-api-qps: 200 kube-api-burst: 300 concurrent-gc-syncs: 500 large-cluster-size-threshold: 0 secondary-node-eviction-rate: 0.05 # controller_manager_extra_volumes: {} # kube_controller_manager_bind_address: 0.0.0.0 kube_controller_memory_limit: 20000M kube_controller_cpu_limit: 10000m kube_controller_memory_requests: 1024M kube_controller_cpu_requests: 1000m # kube_controller_node_monitor_grace_period: 40s # kube_controller_node_monitor_period: 5s # kube_controller_pod_eviction_timeout: 5m0s # kube_controller_terminated_pod_gc_threshold: 12500 ##### scheduler kube_kubeadm_scheduler_extra_args: v: 2 # scheduler_extra_volumes: {} # kube_scheduler_bind_address: 0.0.0.0 kube_scheduler_memory_limit: 200000M kube_scheduler_cpu_limit: 10000m kube_scheduler_memory_requests: 1024M kube_scheduler_cpu_requests: 1000m ##### dashboard dashboard_enabled: false # dashboard_replicas: 1 # Limits for dashboard # dashboard_cpu_limit: 100m # dashboard_memory_limit: 256M # dashboard_cpu_requests: 50m # dashboard_memory_requests: 64M # Set dashboard_use_custom_certs to true if overriding dashboard_certs_secret_name with a secret that # contains dashboard_tls_key_file and dashboard_tls_cert_file instead of using the initContainer provisioned certs # dashboard_use_custom_certs: false # dashboard_certs_secret_name: kubernetes-dashboard-certs # dashboard_tls_key_file: dashboard.key # dashboard_tls_cert_file: dashboard.crt # dashboard_master_toleration: true # Override dashboard default settings # dashboard_token_ttl: 900 # dashboard_skip_login: false ############## other configuration ############## ## Optionally reserve resources for OS system daemons. # system_reserved: true ## Uncomment to override default values # system_memory_reserved: 3072M # system_cpu_reserved: 500m ## Reservation for master hosts # system_master_memory_reserved: 256M # system_master_cpu_reserved: 250m ############## addon configuration ############## # Helm deployment # helm_enabled: true # Cert manager deployment # cert_manager_enabled: true # cert_manager_namespace: "cert-manager" ############## docker configuration ############## # docker_version: latest docker_dns_servers_strict: false ## Used to set docker daemon iptables options to true docker_iptables_enabled: false docker_log_opts: "--log-opt max-size=2g --log-opt max-file=2 --log-driver=json-file" docker_daemon_graph: "/mnt/docker" docker_options: >- {%- if docker_insecure_registries is defined %} {{ docker_insecure_registries | map('regex_replace', '^(.*)$', '--insecure-registry=\1' ) | list | join(' ') }} {%- endif %} {% if docker_registry_mirrors is defined %} {{ docker_registry_mirrors | map('regex_replace', '^(.*)$', '--registry-mirror=\1' ) | list | join(' ') }} {%- endif %} {%- if docker_version != "latest" and docker_version is version('17.05', '<') %} --graph={{ docker_daemon_graph }} {% if ansible_os_family not in ["openSUSE Leap", "openSUSE Tumbleweed", "Suse"] %}{{ docker_log_opts }}{% endif %} {%- else %} --data-root={{ docker_daemon_graph }} {% if ansible_os_family not in ["openSUSE Leap", "openSUSE Tumbleweed", "Suse"] %}{{ docker_log_opts }}{% endif %} {%- endif %} {%- if ansible_architecture == "aarch64" and ansible_os_family == "RedHat" %} --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --signature-verification=false {%- endif -%}
32.674033
156
0.766317
d456986283d640b056e0246bfa713223e03d4acd
4,233
yaml
YAML
src/azure-pipelines.yaml
panoukos41/couchdb-net
20cb9f97c5d8d1eab740587e9a224777a45ff28d
[ "MIT" ]
null
null
null
src/azure-pipelines.yaml
panoukos41/couchdb-net
20cb9f97c5d8d1eab740587e9a224777a45ff28d
[ "MIT" ]
null
null
null
src/azure-pipelines.yaml
panoukos41/couchdb-net
20cb9f97c5d8d1eab740587e9a224777a45ff28d
[ "MIT" ]
null
null
null
variables: BuildConfiguration: Release PackageVersion: '3.0.1' trigger: branches: include: - master paths: exclude: - README.md - CHANGELOG.md - LATEST_CHANGE.md - azure-pipelines.yml pr: branches: include: - master paths: exclude: - README.md - CHANGELOG.md - LATEST_CHANGE.md - azure-pipelines.yml pool: vmImage: 'windows-latest' stages: - stage: generate_package displayName: Build Artifact jobs: - job: create_artifact displayName: Build Package steps: - task: NuGetToolInstaller@1 displayName: Install NuGet inputs: versionSpec: checkLatest: true - task: NuGetCommand@2 displayName: Restore Packages inputs: command: 'restore' restoreSolution: '**/*.sln' feedsToUse: 'select' - task: MSBuild@1 displayName: Build Solution inputs: solution: '**/*.sln' configuration: $(BuildConfiguration) - task: VSTest@2 displayName: Run Unit Tests inputs: testSelector: 'testAssemblies' testAssemblyVer2: | **\*UnitTests*.dll !**\*TestAdapter.dll !**\obj\** !**\xunit.runner.visualstudio.testadapter.dll !**\xunit.runner.visualstudio.dotnetcore.testadapter.dll searchFolder: '$(System.DefaultWorkingDirectory)' minimumExpectedTests: 1, failOnMinTestsNotRun: true - task: PublishTestResults@2 displayName: Publish Unit Tests inputs: testResultsFormat: 'XUnit' testResultsFiles: '*.trx' searchFolder: '$(Agent.TempDirectory)\TestResults' buildConfiguration: '$(BuildConfiguration)' - task: DotNetCoreCLI@2 displayName: Create Package inputs: command: 'pack' versioningScheme: 'byEnvVar' versionEnvVar: 'PackageVersion' packagesToPack: '**/*.csproj;!**/*Tests.csproj;!**/*Example.csproj' - task: CopyFiles@2 displayName: Copy Release Notes condition: ne(variables['Build.Reason'], 'PullRequest') inputs: SourceFolder: '$(Build.SourcesDirectory)' Contents: '**/LATEST_CHANGE.md' TargetFolder: '$(Build.ArtifactStagingDirectory)' - task: PublishBuildArtifacts@1 displayName: Push Artifact condition: ne(variables['Build.Reason'], 'PullRequest') inputs: PathtoPublish: '$(Build.ArtifactStagingDirectory)' ArtifactName: 'drop' publishLocation: 'Container' - stage: release_public_feed dependsOn: generate_package condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) displayName: Release jobs: - deployment: push displayName: Release Package environment: NuGet strategy: runOnce: deploy: steps: - task: NuGetCommand@2 displayName: Push to NuGet inputs: command: 'push' packagesToPush: '$(Pipeline.Workspace)/**/drop/*.nupkg' nuGetFeedType: 'external' publishFeedCredentials: 'Nuget - CouchDB' - task: GitHubRelease@1 displayName: GitHub Release Notes inputs: gitHubConnection: 'CouchDB - GitHub' repositoryName: '$(Build.Repository.Name)' action: 'create' target: '$(Build.SourceVersion)' tagSource: 'userSpecifiedTag' tag: 'v$(PackageVersion)' title: 'v$(PackageVersion)' releaseNotesFilePath: '$(Pipeline.Workspace)/**/drop/LATEST_CHANGE.md' assets: '$(Pipeline.Workspace)/**/drop/*.nupkg' changeLogCompareToRelease: 'lastFullRelease' changeLogType: 'issueBased' changeLogLabels: | [ { "label" : "feature", "displayName" : "Features", "state" : "closed" } { "label" : "enhancement", "displayName" : "Improvements", "state" : "closed" }, { "label" : "bug", "displayName" : "Bugs", "state" : "closed" }, ]
32.068182
98
0.578549
f9d7d1f6c5febfb0093c0c6c9939624173c8c695
130
yaml
YAML
examples/berlin_2018_map.yaml
MTDzi/f1tenth_gym
0202b154ff37ab94ecab1c21b2a770958461290e
[ "MIT" ]
null
null
null
examples/berlin_2018_map.yaml
MTDzi/f1tenth_gym
0202b154ff37ab94ecab1c21b2a770958461290e
[ "MIT" ]
1
2022-01-06T14:28:32.000Z
2022-01-06T14:28:32.000Z
examples/berlin_2018_map.yaml
MTDzi/f1tenth_gym
0202b154ff37ab94ecab1c21b2a770958461290e
[ "MIT" ]
null
null
null
free_thresh: 0.196 image: berlin_2018_map.png negate: 0 occupied_thresh: 0.45 origin: [-85.0, -62.5, 0.000000] resolution: 0.2534
18.571429
32
0.746154
d93fc4d4aa2d39e78a6c282597ac3a1cba0a8921
5,405
yml
YAML
articles/backup/backup-azure-dpm-azure-server-faq.yml
SRegue/azure-docs.es-es
d780bfb3509e4ca0c02995c7250d10603e1bd6fe
[ "CC-BY-4.0", "MIT" ]
66
2017-07-09T03:34:12.000Z
2022-03-05T21:27:20.000Z
articles/backup/backup-azure-dpm-azure-server-faq.yml
SRegue/azure-docs.es-es
d780bfb3509e4ca0c02995c7250d10603e1bd6fe
[ "CC-BY-4.0", "MIT" ]
671
2017-06-29T16:36:35.000Z
2021-12-03T16:34:03.000Z
articles/backup/backup-azure-dpm-azure-server-faq.yml
SRegue/azure-docs.es-es
d780bfb3509e4ca0c02995c7250d10603e1bd6fe
[ "CC-BY-4.0", "MIT" ]
171
2017-07-25T06:26:46.000Z
2022-03-23T09:07:10.000Z
### YamlMime:FAQ metadata: title: Preguntas frecuentes sobre Azure Backup Server y DPM description: En este artículo, encontrará respuestas a preguntas habituales sobre Microsoft Azure Backup Server (MABS) y DPM (Data Protection Manager). ms.reviewer: srinathv ms.topic: article ms.service: backup ms.date: 07/05/2019 ms.openlocfilehash: edd3ad16f6fc223ec08a99e4bf2a992cbd69c6e5 ms.sourcegitcommit: 05dd6452632e00645ec0716a5943c7ac6c9bec7c ms.translationtype: HT ms.contentlocale: es-ES ms.lasthandoff: 08/17/2021 ms.locfileid: "122252162" title: Preguntas frecuentes sobre Azure Backup Server y DPM summary: '' sections: - name: Preguntas generales questions: - question: > ¿Puedo usar Azure Backup Server para crear una copia de seguridad de reconstrucción completa (BMR) para un servidor físico? answer: > Sí. - question: > ¿Puedo registrar el servidor en varios almacenes? answer: > No. Un servidor DPM o de Azure Backup solo se puede registrar en un único almacén. - question: > ¿Puedo usar DPM para realizar copias de seguridad de aplicaciones en Azure Stack? answer: > No. Puede usar Azure Backup para proteger Azure Stack; Azure Backup no admite el uso de DPM para realizar copias de seguridad de aplicaciones en Azure Stack. - question: > Si he instalado el agente de Azure Backup para proteger archivos y carpetas, ¿puedo instalar System Center DPM para realizar copias de seguridad de las cargas de trabajo locales en Azure? answer: > Sí. Pero debe configurar DPM primero y después instalar el agente de Azure Backup. Instalar los componentes en este orden garantiza que el agente de Azure Backup funcione con DPM. No se recomienda o no se admite la instalación del agente antes que DPM. - question: > ¿Por qué no puedo agregar un servidor DPM externo después de instalar el paquete acumulativo de actualizaciones 7 y el agente de Azure Backup más reciente? answer: > En el caso de los servidores DPM con orígenes de datos protegidos en la nube (con un paquete acumulativo anterior al Paquete acumulativo de actualizaciones 7), debe esperar al menos un día después de instalar UR7 y el agente de Azure Backup más reciente para empezar a **agregar el servidor DPM externo**. Este período de un día es necesario para cargar los metadatos de los grupos de protección de DPM en Azure. Los metadatos del grupo de protección se cargan la primera vez a través de un trabajo nocturno. - question: > ¿Hay recomendaciones para configurar exclusiones para el software antivirus? answer: > Sí, se recomienda configurar la exclusión del antivirus. Para las exclusiones de DPM, consulte [Ejecución de software antivirus en el servidor DPM](/system-center/dpm/run-antivirus-server). Para las exclusiones de MABS, consulte [Configuración del antivirus para el servidor MABS](backup-azure-mabs-troubleshoot.md#configure-antivirus-for-mabs-server). - name: Copia de seguridad de Hyper-V y VMware questions: - question: > ¿Puedo hacer copias de seguridad de servidores de VMware vCenter en Azure? answer: > Sí. Se puede usar Azure Backup Server para realizar una copia de seguridad de los hosts de EsXi y VMware vCenter Server en Azure. - [Obtenga más información](backup-mabs-protection-matrix.md) sobre las versiones compatibles. - [Siga estos pasos](backup-azure-backup-server-vmware.md) para realizar una copia de seguridad de un servidor de VMware. - question: > ¿Necesito una licencia diferente para recuperar un clúster de Hyper-V o VMware local completo? answer: > No necesita licencias independientes para la protección de Hyper-V o VMware. - Si es cliente de System Center, utilice System Center Data Protection Manager (DPM) para proteger las máquinas virtuales de VMware. - Si no es un cliente de System Center, puede usar Azure Backup Server (pago por uso) para proteger las máquinas virtuales de VMware. - question: > Una copia de seguridad de una máquina virtual de Hyper-V o VMware almacenada en Azure, ¿la puedo restaurar en Azure como una máquina virtual de Azure? answer: > No, actualmente no es posible. Solo se puede restaurar en un host local. - name: SharePoint questions: - question: > ¿Puedo recuperar un elemento de SharePoint en la ubicación original si SharePoint está configurado con SQL AlwaysOn (con protección en disco)? answer: > Sí, se puede recuperar el elemento en el sitio de SharePoint original. - question: > ¿Puedo recuperar una base de datos de SharePoint en la ubicación original si SharePoint está configurada con SQL AlwaysOn? answer: > Dado que las bases de datos de SharePoint están configuradas en SQL AlwaysOn, no se pueden modificar a menos que se quite el grupo de disponibilidad. En consecuencia, DPM no puede restaurar la base de datos en la ubicación original. Puede recuperar una base de datos SQL Server en otra instancia de SQL Server. additionalContent: "\n## <a name=\"next-steps\"></a>Pasos siguientes\n\nLea las otras preguntas más frecuentes:\n\n- [Más información](backup-support-matrix-mabs-dpm.md) sobre la matriz de compatibilidad de Azure Backup Server y DPM.\n- [Más información](backup-azure-mabs-troubleshoot.md) sobre las guías de solución de problemas de Azure Backup Server y DPM."
68.417722
514
0.758742
6dccef0df9fe4d286b5043401b677199cf1ddfbd
194
yaml
YAML
system/kube-network-helpers/templates/serviceaccount.yaml
ofrendo/helm-charts
09a77f436aefd036b93df2dab208168987476fb8
[ "Apache-2.0" ]
null
null
null
system/kube-network-helpers/templates/serviceaccount.yaml
ofrendo/helm-charts
09a77f436aefd036b93df2dab208168987476fb8
[ "Apache-2.0" ]
null
null
null
system/kube-network-helpers/templates/serviceaccount.yaml
ofrendo/helm-charts
09a77f436aefd036b93df2dab208168987476fb8
[ "Apache-2.0" ]
null
null
null
{{ if .Values.enabled -}} apiVersion: v1 kind: ServiceAccount metadata: name: kube-network-helpers namespace: kube-system labels: addonmanager.kubernetes.io/mode: Reconcile {{- end }}
19.4
46
0.721649
45bcd9875551f26f987429689d57b91a3f0dea98
1,576
yang
YANG
build/config-base/tmaas/yangs/_3gpp-common-top.yang
Sam-chen2019/cmaas
8c2851eb88f7ba00b419841bb8d0bf2f3e93b649
[ "Apache-2.0" ]
2
2021-09-10T03:11:44.000Z
2022-03-04T08:32:32.000Z
build/config-base/tmaas/yangs/_3gpp-common-top.yang
Sam-chen2019/cmaas
8c2851eb88f7ba00b419841bb8d0bf2f3e93b649
[ "Apache-2.0" ]
2
2021-09-10T03:10:50.000Z
2021-09-10T03:18:48.000Z
build/config-base/tmaas/yangs/_3gpp-common-top.yang
Sam-chen2019/cmaas
8c2851eb88f7ba00b419841bb8d0bf2f3e93b649
[ "Apache-2.0" ]
4
2021-01-11T07:51:06.000Z
2021-09-29T06:21:35.000Z
module _3gpp-common-top { yang-version 1.1; namespace urn:3gpp:sa5:_3gpp-common-top; prefix top3gpp; organization "3gpp SA5"; description "The model defines a YANG mapping of the top level information classes used for management of 5G networks and network slicing. Copyright (c) 2019 3GPP. All rights reserved. Copyright 2021 Mavenir Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."; reference "3GPP TS 28.622 Generic Network Resource Model (NRM) Integration Reference Point (IRP); Information Service (IS) 3GPP TS 28.620 Umbrella Information Model (UIM)"; revision 2019-06-17 { description "Initial revision"; } grouping Top_Grp { description "Abstract class supplying a naming attribute"; reference "3GPP TS 28.620"; leaf id { type string; description "Key leaf (namingAttribute) for a class/list. Should be used as a key leaf for lists representing stage 2 classes."; reference "3GPP TS 32.300 Name convention for managed objects"; } } }
30.901961
76
0.706853
3a881ee73d6a50b183c3160282325098f3880da0
3,842
yang
YANG
agent/yang/o-ran-sc-ric-xapp-desc-v1.yang
o-ran-sc/ric-plt-o1
b1fabdeb006767f851c1379f2966cd6ae935a108
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
agent/yang/o-ran-sc-ric-xapp-desc-v1.yang
o-ran-sc/ric-plt-o1
b1fabdeb006767f851c1379f2966cd6ae935a108
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
agent/yang/o-ran-sc-ric-xapp-desc-v1.yang
o-ran-sc/ric-plt-o1
b1fabdeb006767f851c1379f2966cd6ae935a108
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
module o-ran-sc-ric-xapp-desc-v1 { yang-version 1.1; namespace "urn:o-ran:ric:xapp-desc:1.0"; prefix rxad; organization "O-RAN Software Community"; contact "www.o-ran.org"; description "This module defines a generic xApp descriptor used for xApp lifecycle management Copyright 2020 the O-RAN Alliance. Licensed under the Apache License, Version 2.0 (the 'License'); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License."; revision 2020-01-29 { description "initial revision"; reference "O-RAN-OAM-Interface-Specification (O1)"; } // LCM: Generic xApp descriptor passed to xApp Manager (or OCO) during xApp deployment/undeployment grouping xapp-descriptor { leaf name { type string; mandatory true; description "Name of the xApp in helm chart"; } leaf release-name { type string; description "Name of the xapp to be visible in Kubernetes"; } leaf version { type string; description "The exact xapp helm chart version to install"; } leaf namespace { type string; description "Name of the namespace to which xApp is deployed in Kubernetes"; } leaf override-file { type string; description "JSON string of override file for 'helm install' command"; } description "xApp descriptor"; } typedef health-status { type enumeration { enum unavailable { description "The health status not available"; } enum healthy { description "The xApp is healthy"; } enum unhealthy { description "The xApp is not healthy"; } } description "xApp health status"; } grouping xapp-status { leaf name { type string; description "Name of the xApp visible in Kubernetes"; } leaf status { type string; description "The status of the xApp pod: running, restarted, etc"; } leaf health { type health-status; description "The health status of xApp: healthy, not-healthy, unavailable"; } description "xApp health status"; } // Top-level (root) managed object container ric { container xapps { list xapp { key "name"; uses xapp-descriptor; description "xApp descriptor"; } description "List of xApps to be managed"; } container health { config false; list status { key "name"; uses xapp-status; description "The status of xApp"; } description "State data of the xApps"; } description "Root object for xApp management and status"; } }
29.328244
103
0.519001
2a7b2eac0d469fff7705ffecfd1660894461914d
10,035
yang
YANG
packages/prouter-ned/src/yang/Cisco-IOS-XR-ip-daps-oper-sub1.yang
pkrunals/nso-xr-segmentrouting
5ce41a1d3bc989ef4cfec75da0a7d054e2f3dbe5
[ "Apache-2.0" ]
null
null
null
packages/prouter-ned/src/yang/Cisco-IOS-XR-ip-daps-oper-sub1.yang
pkrunals/nso-xr-segmentrouting
5ce41a1d3bc989ef4cfec75da0a7d054e2f3dbe5
[ "Apache-2.0" ]
null
null
null
packages/prouter-ned/src/yang/Cisco-IOS-XR-ip-daps-oper-sub1.yang
pkrunals/nso-xr-segmentrouting
5ce41a1d3bc989ef4cfec75da0a7d054e2f3dbe5
[ "Apache-2.0" ]
null
null
null
submodule Cisco-IOS-XR-ip-daps-oper-sub1 { belongs-to Cisco-IOS-XR-ip-daps-oper { prefix Cisco-IOS-XR-ip-daps-oper; } /*** LINKAGE (IMPORTS / INCLUDES) ***/ import ietf-inet-types { prefix "inet"; } /*** META INFORMATION ***/ organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This submodule contains a collection of YANG definitions for Cisco IOS-XR ip-daps package operational data. Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved."; revision "2015-11-09" { description "IOS XR 6.0 revision."; } typedef Daps-serg-role { type enumeration { enum none { description "Role None"; } enum master { description "Role Master"; } enum slave { description "Role Slave"; } } description "DAPS SERG role"; } typedef Daps-client { type enumeration { enum none { value 0; description "Client type is None"; } enum ppp { value 1; description "Client type is PPP"; } enum dhcp { value 2; description "Client type is DHCP"; } enum dhcpv6 { value 4; description "Client type is DHCPv6"; } enum ipv6nd { value 5; description "Client type is IPv6ND"; } } description "DAPS client types"; } typedef Ipv6-addr { type inet:ipv6-address; description "Ipv6 addr"; } typedef Ip-addr { type enumeration { enum ipv4 { value 2; description "IPv4 address"; } enum ipv6 { value 26; description "IPv6 address"; } } description "Address type"; } grouping DAPS-VRF-POOL-INFO { description "VRF pool information"; leaf pool-name { type string { length "0..64"; } description "Pool name"; } leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } leaf total { type uint32; description "Total allocations"; } } grouping DAPS-VRF-ALLOCATION-SUMMARY { description "VRF allocation summary"; leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } leaf total { type uint32; description "Total allocations"; } leaf high-utilization-threshold { type uint8; units "percentage"; description "High utilization threshold in percentage"; } leaf low-utilization-threshold { type uint8; units "percentage"; description "Low utilization threshold in percentage"; } leaf utilization { type uint8; units "percentage"; description "Current utilization in percentage"; } } grouping DAPS-VRF-INFO { description " VRF information"; container allocation-summary { description "Allocation summary"; uses DAPS-VRF-ALLOCATION-SUMMARY; } list pools { description "Pools data"; uses DAPS-VRF-POOL-INFO; } } grouping IP-DAPS-SHOW-POOL-TOTAL-UTIL { description "IP DAPS pool total utilization"; leaf total-utilization-high-mark { type uint8; description "High utilization mark"; } leaf total-utilization-low-mark { type uint8; description "Low utilization mark"; } leaf current-total-utilization { type uint8; description "Current utilization"; } } grouping DAPS-POOL-SERG-INFO { description "SERG info"; leaf preferred-role { type Daps-serg-role; description "SERG PreferredRole"; } leaf peer-down { type boolean; description "Peer Down"; } leaf verify-pend { type boolean; description "Verify Pending"; } } grouping IP-DAPS-SHOW-POOL-CFG { description "IP DAPS pool configuration"; container serg-info { description "SERG Info"; uses DAPS-POOL-SERG-INFO; } leaf pool-name { type string { length "0..64"; } description "Pool name"; } leaf pool-id { type uint32; description "Pool ID for MIBS"; } leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf pool-scope { type string { length "0..64"; } description "Pool Scope"; } leaf pool-prefix-length { type uint32; description "Prefix length"; } leaf high-utilization-mark { type uint8; description "High utilization mark"; } leaf low-utilization-mark { type uint8; description "Low utilization mark"; } leaf current-utilization { type uint8; description "Current utilization"; } leaf utilization-high-count { type uint32; description "Number of times High utilization threshold was crossed"; } leaf utilization-low-count { type uint32; description "Number of times Low utilization threshold was crossed"; } } grouping DAPS-POOL-IN-USE-ADDRESS { description "In-use address data"; container address { description "Client address"; uses IP-ADDR-ST; } leaf client-type { type Daps-client; description "Client type"; } } grouping DAPS-POOL-RANGE { description "Pool address range data"; container start-address { description "Range start"; uses IP-ADDR-ST; } container end-address { description "Range end"; uses IP-ADDR-ST; } leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } } grouping DAPS-POOL-THRESHOLD { description "Pool threshold information"; leaf threshold { type uint32; units "percentage"; description "Threshold in percentage"; } leaf triggers { type uint32; description "Number of Triggers"; } leaf time-last-crossed { type string; description "Last time at which threshold crossed in DDD MMM DD HH:MM:SS YYYY format eg: Tue Apr 11 21:30:47 2011"; } } grouping DAPS-POOL-ALLOCATIONS { description "Pool allocations data"; container high-threshold { description "High threshold data"; uses DAPS-POOL-THRESHOLD; } container low-threshold { description "Low threshold data"; uses DAPS-POOL-THRESHOLD; } leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf used { type uint32; description "Used allocations"; } leaf excluded { type uint32; description "Excluded allocations"; } leaf free { type uint32; description "Free allocations"; } leaf total { type uint32; description "Total allocations"; } leaf utilization { type uint32; units "percentage"; description "Current utilization in percentage"; } } grouping DAPS-POOL-DETAIL { description "Pool data"; container pool-allocations { description "Pool allocations"; uses DAPS-POOL-ALLOCATIONS; } list address-range { description "Address ranges"; uses DAPS-POOL-RANGE; } list in-use-address { description "In-use addresses"; uses DAPS-POOL-IN-USE-ADDRESS; } } grouping IP-ADDR-UN { description "Daps Address"; leaf address-family { type Ip-addr; description "AddressFamily"; } leaf ipv4-address { when "../address-family = 'ipv4'" { description "../AddressFamily = 'IPv4'"; } type inet:ipv4-address; description "IPv4 address"; } leaf ipv6-address { when "../address-family = 'ipv6'" { description "../AddressFamily = 'IPv6'"; } type Ipv6-addr; description "IPv6 address"; } } grouping IP-ADDR-ST { description "IP address information"; container address { description "Address"; uses IP-ADDR-UN; } } grouping IP-DAPS-SHOW-POOL-BRIEF { description "IP DAPS pool parameters"; container start-address-xr { description "Range start"; uses IP-ADDR-ST; } container end-address { description "Range end"; uses IP-ADDR-ST; } container default-router { description "Default router"; uses IP-ADDR-ST; } leaf pool-name { type string { length "0..64"; } description "Pool name"; } leaf vrf-name { type string { length "0..64"; } description "VRF name"; } leaf pool-scope { type string { length "0..64"; } description "Pool scope"; } leaf allocated-addresses { type uint32; description "Number of addresses allocated"; } leaf free-addresses { type uint32; description "Number of addresses free"; } leaf excluded-addresses { type uint32; description "Number of addresses excluded"; } leaf network-blocked-status { type uint32; description "Is network blocked"; } leaf network-blocked-status-trp { type uint32; description "Is network blocked trap send"; } } }
21.170886
61
0.585451
718b86480b87eb70436525da93f76b9a675c53b0
6,288
yang
YANG
ydk/models/cisco_ios_xr/_yang/Cisco-IOS-XR-ipv6-acl-cfg.yang
ylil93/ydk-go
6b832dd76a2e19eee3e5dedd29840956ed0e0e7c
[ "Apache-2.0" ]
null
null
null
ydk/models/cisco_ios_xr/_yang/Cisco-IOS-XR-ipv6-acl-cfg.yang
ylil93/ydk-go
6b832dd76a2e19eee3e5dedd29840956ed0e0e7c
[ "Apache-2.0" ]
null
null
null
ydk/models/cisco_ios_xr/_yang/Cisco-IOS-XR-ipv6-acl-cfg.yang
ylil93/ydk-go
6b832dd76a2e19eee3e5dedd29840956ed0e0e7c
[ "Apache-2.0" ]
null
null
null
module Cisco-IOS-XR-ipv6-acl-cfg { /*** NAMESPACE / PREFIX DEFINITION ***/ namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-acl-cfg"; prefix "ipv6-acl-cfg"; /*** LINKAGE (IMPORTS / INCLUDES) ***/ import ietf-inet-types { prefix "inet"; } import Cisco-IOS-XR-types { prefix "xr"; } import Cisco-IOS-XR-common-acl-datatypes { prefix "dt1"; } import Cisco-IOS-XR-ipv6-acl-datatypes { prefix "dt2"; } include Cisco-IOS-XR-ipv6-ace-cfg { revision-date 2017-05-11; } /*** META INFORMATION ***/ organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR ipv6-acl package configuration. This module contains definitions for the following management objects: ipv6-acl-and-prefix-list: IPv6 ACL configuration data Copyright (c) 2013-2017 by Cisco Systems, Inc. All rights reserved."; revision "2017-05-11" { description "6.3.1 revision."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } container ipv6-acl-and-prefix-list { description "IPv6 ACL configuration data"; container prefixes { description "Table of prefix lists"; list prefix { key "name"; description "Name of a prefix list"; container prefix-list-entries { presence "Indicates a prefix-list-entries node is"+ " configured."; description "Sequence of entries forming a prefix list"; list prefix-list-entry { key "sequence-number"; description "A prefix list entry; either a description (remark) or a prefix to match against"; leaf sequence-number { type dt1:Acl-sequence-number-range; description "Sequence number of prefix list"; } leaf grant { type dt2:Ipv6-acl-grant-enum; description "Whether to forward or drop packets matching the prefix list"; } leaf ipv6-address-as-string { type string; description "The IPv6 address if entered with the ZoneMutually exclusive with Prefix and PrefixMask"; } leaf zone { type string; description "IPv6 Zone if entered with the IPV6AddressMutually exclusive with Prefix and PrefixMask"; } leaf prefix { type inet:ipv6-address-no-zone; description "IPv6 address prefix to match"; } leaf prefix-mask { type xr:Ipv6-prefix-length; description "MaskLength of IPv6 address prefix"; } leaf match-exact-length { type dt2:Ipv6-prefix-match-exact-length; description "Set to perform an exact prefix length match. Item is mutually exclusive with minimum and maximum length match items"; } leaf exact-prefix-length { type xr:Ipv6-prefix-length; description "If exact prefix length matching specified, set the length of prefix to be matched"; } leaf match-max-length { type dt2:Ipv6-prefix-match-max-length; description "Set to perform a maximum length prefix match . Item is mutually exclusive with exact length match item"; } leaf max-prefix-length { type xr:Ipv6-prefix-length; description "If maximum length prefix matching specified, set the maximum length of prefix to be matched"; } leaf match-min-length { type dt2:Ipv6-prefix-match-min-length; description "Set to perform a minimum length prefix match . Item is mutually exclusive with exact length match item"; } leaf min-prefix-length { type xr:Ipv6-prefix-length; description "If minimum length prefix matching specified, set the minimum length of prefix to be matched"; } leaf remark { type string; description "Comments or a description for the prefix list. Item is mutually exclusive with all others in the object"; } } } leaf name { type dt2:Ipv6-acl-prefix-list-name; description "Name of a prefix list"; } } } container log-update { description "Control access lists log updates"; leaf threshold { type dt2:Ipv6-acl-log-threshold-range; description "Log update threshold (number of hits)"; } leaf rate { type dt2:Ipv6-acl-log-rate-range; description "Log update rate (log messages per second)"; } } container accesses { description "Table of access lists"; list access { key "name"; description "An ACL"; container access-list-entries { description "ACL entry table; contains list of access list entries"; list access-list-entry { key "sequence-number"; description "An ACL entry; either a description (remark) or anAccess List Entry to match against"; leaf sequence-number { type dt2:Ipv6-acl-sequence-number-range; description "Sequence number of access list entry"; } uses IPV6-ACE; } } leaf name { type dt2:Ipv6-acl-prefix-list-name; description "Name of the access list"; } } } } }
29.383178
66
0.542462
6a5c0faee5f082963e15597b563b392d40e07edd
139
yang
YANG
tests/files/sub-mod.yang
johnbeckettn2e/sysrepo
252256610d158e317a39f8780f4adffc3c14f137
[ "Apache-2.0" ]
262
2016-01-04T09:47:46.000Z
2022-03-18T02:01:41.000Z
tests/files/sub-mod.yang
johnbeckettn2e/sysrepo
252256610d158e317a39f8780f4adffc3c14f137
[ "Apache-2.0" ]
2,500
2016-01-07T12:16:55.000Z
2022-03-31T21:13:24.000Z
tests/files/sub-mod.yang
johnbeckettn2e/sysrepo
252256610d158e317a39f8780f4adffc3c14f137
[ "Apache-2.0" ]
248
2015-12-14T15:41:47.000Z
2022-03-22T11:52:32.000Z
submodule sub-mod { belongs-to main-mod { prefix mm; } feature feat; leaf sub-leaf { type empty; } }
11.583333
25
0.503597
a89d544fe9a346bac969f016a7b854bb28227917
2,157
yang
YANG
network-router/8.21.0/atn-980b/huawei-l2vpn-vll-ext-deviations-ATN-980B.yang
lllyfeng/yang-1
f4d8ddf91fbbd1ba1bf8725136bff2428ff23470
[ "Apache-2.0" ]
42
2017-07-08T04:33:40.000Z
2022-02-11T01:49:07.000Z
network-router/8.21.0/atn-980b/huawei-l2vpn-vll-ext-deviations-ATN-980B.yang
lllyfeng/yang-1
f4d8ddf91fbbd1ba1bf8725136bff2428ff23470
[ "Apache-2.0" ]
2
2020-07-10T01:38:28.000Z
2021-05-20T00:41:49.000Z
network-router/8.21.0/atn-980b/huawei-l2vpn-vll-ext-deviations-ATN-980B.yang
lllyfeng/yang-1
f4d8ddf91fbbd1ba1bf8725136bff2428ff23470
[ "Apache-2.0" ]
25
2017-07-27T11:04:32.000Z
2021-12-25T02:15:30.000Z
/* Copyright (C) 2021 Huawei Technologies Co., Ltd. All rights reserved. */ module huawei-l2vpn-vll-ext-deviations-ATN-980B { namespace "urn:huawei:yang:huawei-l2vpn-vll-ext-deviations-ATN-980B"; prefix l2vpn-vll-ext-devs-ATN-980B; import huawei-l2vpn-vll-ext { prefix l2vpn-vll-ext; } import huawei-ifm { prefix ifm; } import huawei-qos { prefix qos; } organization "Huawei Technologies Co., Ltd."; contact "Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China Website: http://www.huawei.com Email: support@huawei.com"; description "This module defines deviation statements for huawei-l2vpn-vll-ext module."; revision 2021-05-07 { description "Initial revision."; reference "Huawei private."; } deviation "/ifm:ifm/ifm:interfaces/ifm:interface/qos:qos/l2vpn-vll-ext:qos-vll-pipe/l2vpn-vll-ext:color" { deviate not-supported; } deviation "/ifm:ifm/ifm:interfaces/ifm:interface/qos:qos/l2vpn-vll-ext:qos-vll-pipe/l2vpn-vll-ext:pipe-mode" { deviate delete { must "(../split-mode='false') and ((../pipe-mode='pipe' and (../service-class) and (../color)) or (../pipe-mode='shortPipe' and (../service-class) and (../color) and (../domain-name)) or (../pipe-mode='uniform'))"; } deviate add { must "(../split-mode='false') and ((../pipe-mode='pipe' and (../service-class)) or (../pipe-mode='shortPipe' and (../service-class) and (../domain-name)) or (../pipe-mode='uniform'))"; } } deviation "/ifm:ifm/ifm:interfaces/ifm:interface/qos:qos/l2vpn-vll-ext:qos-vll-pipe/l2vpn-vll-ext:ingress-pipe-mode" { deviate delete { must "((../split-mode='true') and (((../service-class) and (../color) and (../ingress-pipe-mode='shortPipe' or ../ingress-pipe-mode='pipe')) or (../ingress-pipe-mode='uniform' and ../egress-pipe-mode!='uniform')))"; } deviate add { must "((../split-mode='true') and (((../service-class) and (../ingress-pipe-mode='shortPipe' or ../ingress-pipe-mode='pipe')) or (../ingress-pipe-mode='uniform' and ../egress-pipe-mode!='uniform')))"; } } }
35.360656
221
0.644877
bddb1c9766cb5798b270f0672ade70b41acf4d84
1,458
yang
YANG
resources/examples/device-yang/dpu/ietf-ip-aug.yang
jbodarya/obbaa
91931c19158a2ea2bd7436e5689d103dd76bfbb4
[ "Apache-2.0" ]
16
2018-08-22T19:33:03.000Z
2022-03-24T06:08:24.000Z
resources/examples/device-yang/dpu/ietf-ip-aug.yang
jbodarya/obbaa
91931c19158a2ea2bd7436e5689d103dd76bfbb4
[ "Apache-2.0" ]
17
2019-08-05T12:24:35.000Z
2022-02-11T03:19:31.000Z
resources/examples/device-yang/dpu/ietf-ip-aug.yang
jbodarya/obbaa
91931c19158a2ea2bd7436e5689d103dd76bfbb4
[ "Apache-2.0" ]
8
2019-01-20T03:48:34.000Z
2022-03-04T06:29:41.000Z
module ietf-ip-aug{ namespace "urn:ietf:params:xml:ns:yang:ietf-ip-aug"; prefix mgntip; // prefix nokia-ipaug; import iana-if-type { prefix ianaift; } import ietf-interfaces { prefix if; } import ietf-ip { prefix ip; } /*import bbf-l2-port-types { prefix bbf-l2pt; }*/ /* * Configuration data nodes */ augment "/if:interfaces/if:interface/ip:ipv4" { when "../if:type = 'ianaift:ipForward'" { description "Port type is ipForward."; } container ipif-lower-layer { presence "This leaves provides the lower layer within the interface stack"; description "Link ip interface to a lower layer network-port sub-interface"; leaf sub-interface { type if:interface-ref; mandatory true; description "References the lower layer interface"; } // uses bbf-subif:sub-interface-ref; } } /* * Operational state data nodes */ augment "/if:interfaces-state/if:interface/ip:ipv4" { container ipif-lower-layer { presence "This leaves provides the lower layer within the interface stack"; description "Link ip interface to a lower layer network-port sub-interface"; leaf sub-interface { type if:interface-ref; mandatory true; description "References the lower layer interface"; } // uses bbf-subif:sub-interface-ref; } } }
19.702703
70
0.61797
5d96b7056cf753ecffbf87a7675d9fb33842a588
6,912
yang
YANG
yang/modules/cisco-ios-xr/711/Cisco-IOS-XR-tunnel-gre-cfg.yang
111pontes/xr-pl2
4ca619e384285f9e1788b9226aa77de9be63ab81
[ "Apache-2.0" ]
2
2018-07-17T22:15:10.000Z
2018-07-18T08:08:20.000Z
yang/modules/cisco-ios-xr/711/Cisco-IOS-XR-tunnel-gre-cfg.yang
111pontes/xr-pl2
4ca619e384285f9e1788b9226aa77de9be63ab81
[ "Apache-2.0" ]
null
null
null
yang/modules/cisco-ios-xr/711/Cisco-IOS-XR-tunnel-gre-cfg.yang
111pontes/xr-pl2
4ca619e384285f9e1788b9226aa77de9be63ab81
[ "Apache-2.0" ]
3
2018-10-02T00:11:55.000Z
2019-10-14T07:40:58.000Z
module Cisco-IOS-XR-tunnel-gre-cfg { namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-tunnel-gre-cfg"; prefix tunnel-gre-cfg; import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-ifmgr-cfg { prefix a1; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR tunnel-gre package configuration. This YANG module augments the Cisco-IOS-XR-ifmgr-cfg module with configuration data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision 2019-04-05 { description "Establish semantic version baseline."; semver:module-version "1.0.0"; } revision 2017-09-07 { description "Fixed type translation error."; } revision 2017-05-01 { description "Fixing backward compatibility error in module."; } revision 2016-05-25 { description "Initial version"; } revision 2015-11-09 { description "IOS XR 6.0 revision."; } typedef Tunnel-mode-direction { type enumeration { enum "decap" { value 1; description "Decap-only tunnel"; } enum "encap" { value 2; description "Encap-only tunnel"; } } description "Tunnel mode direction"; } augment "/a1:interface-configurations/a1:interface-configuration" { description "This augment extends the configuration data of 'Cisco-IOS-XR-ifmgr-cfg'"; container tunnel-ip { description "IP over GRE encapsulation"; container mode { description "Tunnel encapsulation method"; leaf value { type uint32; description "GRE IPV4 - 1, GRE IPV6 - 2, MGRE IPV4 - 3, MGRE IPV6 -4. IPV4 - 5, IPV6 - 6"; } leaf mode-direction { type Tunnel-mode-direction; description "Tunnel Mode Direction"; } } container source { description "Configure source of tunnel"; leaf type { type uint32; description "1 for Interface Name, 2 for IPv4 Address, 3 for IPv6 Address"; } leaf address { type inet:ipv4-address-no-zone; description "IPV4 address of the tunnel source"; } leaf interface-name { type xr:Interface-name; description "Name of tunnel source interface"; } leaf ipv6-address { type string; description "IPV6 address of the tunnel source"; } } container key { description "Configure the key value for packets sent over this tunnel"; leaf entropy { type empty; description "Always set to true"; } leaf value { type uint32 { range "0..4294967295"; } description "Enter the KEY value"; } } container keepalive { description "Enable keepalive packets on this tunnel"; leaf keep-alive-period { type uint32 { range "1..32767"; } description "Keepalive period in seconds (default 10 seconds)"; } leaf keep-alive-retries { type uint32 { range "1..255"; } description "Number of retries (default 3)"; } } container bfd { description "Configure BFD for tunnel"; container destination { description "Configure BFD destination for tunnel"; leaf type { type uint32; description "1 for IPv4 Address, 2 for IPv6 Address"; } leaf address { type inet:ipv4-address-no-zone; description "IPV4 address of the BFD destination"; } leaf ipv6-address { type string; description "IPV6 address of the BFD destination"; } } leaf minimum-interval { type uint32 { range "150..30000"; } description "Configure minimum interval for BFD"; } leaf keepalive-period { type uint32 { range "1..32767"; } description "Keepalive period in seconds"; } leaf retry { type uint32 { range "1..255"; } description "Configure Number of retries for BFD Keepalive"; } leaf multiplier { type uint32 { range "3..50"; } description "Configure BFD multiplier"; } } container destination { description "Configure destination of tunnel"; leaf type { type uint32; description "1 for IPv4 Address, 2 for IPv6 Address"; } leaf address { type inet:ipv4-address-no-zone; description "IPV4 address of the tunnel destination"; } leaf ipv6-address { type string; description "IPV6 address of the tunnel destination"; } leaf address-mask { type inet:ipv4-address-no-zone; description "IPv4 prefix length of the tunnel destination"; } leaf prefix-list-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Prefix-list to validate destination's resolving prefix"; } } leaf allow-key { type empty; description "Enable flag bit to allow packets with GRE key"; } leaf ttl { type uint32 { range "1..255"; } description "Configure the time-to-live for packets sent over this tunnel"; } leaf tunnel-vrf { type xr:Cisco-ios-xr-string { length "1..32"; } description "Tunnel vrf label name"; } leaf tos { type uint32 { range "0..255"; } description "Configure Type of Service bits for this tunnel"; } leaf disable { type uint32; description "Disable DF bit (i.e. allow fragmentation)"; } } } }
24.597865
69
0.515046
4184e447e277356f5b1c99468ab466a1949804da
747
yang
YANG
yang-lsp/io.typefox.yang.ide/src/test/resources/RIFT.ware/test/pass/testr2@2009-01-01.yang
huyuwen/yang-lsp
d804e98c439bd141445b9b0ff5433aab1e9c11ed
[ "Apache-2.0" ]
34
2017-11-01T09:43:14.000Z
2022-02-07T14:23:32.000Z
yang-lsp/io.typefox.yang.ide/src/test/resources/RIFT.ware/test/pass/testr2@2009-01-01.yang
huyuwen/yang-lsp
d804e98c439bd141445b9b0ff5433aab1e9c11ed
[ "Apache-2.0" ]
92
2017-10-04T15:23:40.000Z
2022-03-29T14:16:48.000Z
yang-lsp/io.typefox.yang.ide/src/test/resources/RIFT.ware/test/pass/testr2@2009-01-01.yang
huyuwen/yang-lsp
d804e98c439bd141445b9b0ff5433aab1e9c11ed
[ "Apache-2.0" ]
11
2017-10-15T11:47:52.000Z
2021-04-21T07:49:01.000Z
module testr2 { namespace "http://netconfcentral.org/ns/testr2"; prefix "r2"; organization "Netconf Central"; contact "Andy Bierman"; description "YANG import-by-revision test module."; revision 2009-01-01 { description "Add C and D to the test grouping"; } revision 2008-01-01 { description "Initial version."; } typedef TestType { type int32 { range 1..max; } default 5; units seconds; } grouping TestGroup { leaf A { type int64; } leaf B { type instance-identifier; } leaf C { type string; } anyxml D; container E; } container bar-r2 { uses r2:TestGroup; } }
16.977273
55
0.546185
63f49819dfc3e7918367ad7d11361c71a2549b6f
27,108
yang
YANG
ydk/models/cisco_ios_xr/_yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang
CiscoDevNet/ydk-go
fac11668ff819ea9ae9271849cbd6c2b3f1a6ed1
[ "ECL-2.0", "Apache-2.0" ]
26
2018-02-06T05:14:40.000Z
2022-01-24T05:58:50.000Z
ydk/models/cisco_ios_xr/_yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang
CiscoDevNet/ydk-go
fac11668ff819ea9ae9271849cbd6c2b3f1a6ed1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
ydk/models/cisco_ios_xr/_yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg.yang
CiscoDevNet/ydk-go
fac11668ff819ea9ae9271849cbd6c2b3f1a6ed1
[ "ECL-2.0", "Apache-2.0" ]
8
2018-02-06T05:52:10.000Z
2021-09-13T12:56:08.000Z
module Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg { namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv6-new-dhcpv6d-cfg"; prefix ipv6-new-dhcpv6d-cfg; import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-types { prefix xr; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR ipv6-new-dhcpv6d package configuration. This module contains definitions for the following management objects: dhcpv6: None Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved."; revision 2017-09-12 { description "Added Remote-id config for relay profile"; } revision 2017-09-07 { description "Fixed type translation error."; } revision 2017-05-01 { description "Fixing backward compatibility error in module."; } revision 2016-10-10 { description "Moved augment statement to a separate file"; } revision 2015-11-09 { description "IOS XR 6.0 revision."; } typedef Insert { type enumeration { enum "local" { value 0; description "Insert locally generated/configured Interface ID value"; } enum "received" { value 1; description "Insert received Interface ID value"; } enum "pppoe" { value 2; description "Insert received Interface ID value from SADB"; } enum "received-nodefault" { value 3; description "No default Interface ID"; } } description "Insert"; } typedef Subscriber-id { type enumeration { enum "pppoe" { value 3; description "Insert Received Subscriber-ID Value from SADB"; } } description "Subscriber id"; } typedef Action { type enumeration { enum "allow" { value 0; description "Allow vendor specific DHCP Solicit"; } enum "drop" { value 1; description "Drop vendor specific DHCP Solicit"; } } description "Action"; } typedef Link-layer-addr { type enumeration { enum "set" { value 4; description "Insert Received LinkLayerAddr Value from SADB"; } } description "Link layer addr"; } grouping PROFILE { description "Common node of mode-class, default"; list profile { key "profile-name"; description "Enter proxy or server profile"; leaf server-mode { type empty; description "Specify mode-class based Server option"; } leaf proxy-mode { type empty; description "Specify mode-class based Proxy Option"; } leaf profile-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Profile name"; } } } container dhcpv6 { presence "Indicates a dhcpv6 node is configured."; description "None"; container database { description "Enable DHCP binding database storage to file system"; leaf proxy { type empty; description "Enable DHCP proxy binding database storage to file system"; } leaf server { type empty; description "Enable DHCP server binding database storage to file system"; } leaf relay { type empty; description "Enable DHCP relay binding database storage to file system"; } leaf full-write-interval { type uint32 { range "1..1440"; } default "10"; description "Full file write interval (default 10 minutes)"; } leaf incremental-write-interval { type uint32 { range "1..1440"; } default "1"; description "Incremental file write interval (default 1 minutes)"; } } container profiles { description "Table of Profile"; list profile { key "profile-name"; description "None"; container relay { presence "Indicates a relay node is configured."; description "None"; container helper-addresses { description "Table of HelperAddress"; list helper-address { key "vrf-name helper-address"; description "Specify the server helper address"; leaf vrf-name { type xr:Cisco-ios-xr-string { length "1..32"; } description "VRF name"; } leaf helper-address { type inet:ipv6-address-no-zone; description "Server Global unicast address"; } leaf enable { type empty; mandatory true; description "Enable"; } leaf src-intf-name { type xr:Interface-name; description "Helper-address Specific Source Interface"; } } } container option { description "Specify relay option configuration"; leaf remote-id { type string { length "1..256"; } description "Enter remote-id value"; } } leaf link-address { type inet:ip-address-no-zone; description "IPv6 address to be filled in link-address"; } leaf src-intf-name { type xr:Interface-name; description "Relay profile Source Interface Name"; } leaf enable { type empty; mandatory true; description "Enable None. Deletion of this object also causes deletion of all associated objects under Relay."; } leaf iana-route-add { type empty; description "Enable route addition for IANA"; } leaf relay-route-add-disable { type empty; description "RouteDisable"; } } container base { presence "Indicates a base node is configured."; description "None"; container default { description "Default match option"; uses PROFILE; } container match { description "Enter match option"; container mode-classes { description "Table of ModeClass"; list mode-class { key "class-name"; description "Specify PPP/IPoE class option"; leaf class-name { type xr:Cisco-ios-xr-string { length "1..128"; } description "Class name"; } uses PROFILE; } } } leaf enable { type empty; mandatory true; description "Enable None. Deletion of this object also causes deletion of all associated objects under Base."; } } container proxy { presence "Indicates a proxy node is configured."; description "None"; container interfaces { description "Table of Interface"; list interface { key "interface-name"; description "None"; leaf interface-id { type string; description "Physical interface ID"; } leaf interface-name { type xr:Interface-name; description "Interface to configure"; } } } container relay { description "Specify relay configuration"; container option { description "Specify relay option configuration"; container interface-id { description "Interface Id option"; leaf insert { type Insert; description "Configure InterfaceID insert type"; } } leaf subscriber-id { type Subscriber-id; description "Configure Received SubscriberID"; } leaf link-layer-addr { type Link-layer-addr; description "Configure Received link-layer-Addr"; } leaf remote-i-dreceived { type uint32; description "Set remote-id value from SADB"; } leaf remote-id { type string { length "1..256"; } description "Enter remote-id value"; } } } container vrfs { description "VRF related configuration"; list vrf { key "vrf-name"; description "IPv6 DHCP proxy VRF name"; container helper-addresses { description "Table of HelperAddress"; list helper-address { key "helper-address"; description "DHCPv6 Helper Address"; leaf out-interface { type xr:Interface-name; description "DHCPv6 HelperAddress Specific Output Interface"; } leaf any-out-interface { type empty; description "DHCPv6 HelperAddress Output Interface"; } leaf helper-address { type inet:ipv6-address-no-zone; description "DHCPv6 Helper Address"; } } } leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } } } container authentication { description "Authentication username format"; leaf username { type empty; description "Set username as DUID"; } } container classes { description "Table of Class"; list class { key "class-name"; description "None"; container helper-addresses { description "Table of HelperAddress"; list helper-address { key "vrf-name helper-address"; description "Specify the server helper address"; leaf vrf-name { type xr:Cisco-ios-xr-string { length "1..32"; } description "VRF name"; } leaf helper-address { type inet:ipv6-address-no-zone; description "Server address"; } } } leaf link-address { type inet:ip-address-no-zone; description "IPv6 address to be filled in link-address"; } leaf class-name { type xr:Cisco-ios-xr-string { length "1..128"; } description "Class name"; } } } container sessions { description "Change sessions configuration"; container mac { description "Throttle DHCP sessions based on MAC address"; container throttle { description "Throttle DHCP sessions from any one MAC address"; leaf limit { type uint32 { range "1..65535"; } description "Number of solicits at which to throttle"; } leaf request { type uint32 { range "1..100"; } units "second"; description "Throttle request period (in secs)"; } leaf block { type uint32 { range "1..100"; } units "second"; description "Throttle blocking period (in secs)"; } } } } leaf linkaddress-from-ra-enable { type empty; description "Fill linkaddress in Relay fwd msg with Prefix from Router Advertisement for PPPoE sessions"; } leaf route-add-disable { type empty; description "RouteDisable"; } leaf link-address { type inet:ip-address-no-zone; description "IPv6 address to be filled in link-address"; } leaf src-intf-name { type xr:Interface-name; description "Create or enter proxy profile Source Interface Name"; } leaf enable { type empty; mandatory true; description "Enable None. Deletion of this object also causes deletion of all associated objects under Proxy."; } } container server { presence "Indicates a server node is configured."; description "None"; container sessions { description "Change sessions configuration"; container mac { description "Throttle DHCP sessions based on MAC address"; container throttle { description "Throttle DHCP sessions from any one MAC address"; leaf limit { type uint32 { range "1..65535"; } description "Number of solicits at which to throttle"; } leaf request { type uint32 { range "1..100"; } units "second"; description "Throttle request period (in secs)"; } leaf block { type uint32 { range "1..100"; } units "second"; description "Throttle blocking period (in secs)"; } } } } container dns-servers { description "DNS servers"; leaf-list dns-server { type inet:ip-address-no-zone; max-elements "8"; description "Server's IPv6 address"; } } container classes { description "Table of Class"; list class { key "class-name"; description "None"; container dns-servers { description "DNS servers"; leaf-list dns-server { type inet:ip-address-no-zone; max-elements "8"; description "Server's IPv6 address"; } } container lease { description "lease"; leaf infinite { type string; description "Set string"; } leaf days { type uint32 { range "0..365"; } units "day"; description "Days"; } leaf hours { type uint32 { range "0..23"; } units "hour"; description "Hours"; } leaf minutes { type uint32 { range "0..59"; } units "minute"; description "Minutes"; } } leaf address-pool { type string { length "1..64"; } description "Address pool name"; } leaf domain-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Domain name"; } leaf preference { type uint32 { range "1..255"; } description "DHCP Server Preference"; } leaf prefix-pool { type string { length "1..64"; } description "Prefix pool name"; } leaf class-name { type xr:Cisco-ios-xr-string { length "1..128"; } description "class name"; } } } container lease { description "lease"; leaf days { type uint32 { range "0..365"; } units "day"; description "Days"; } leaf hours { type uint32 { range "0..23"; } units "hour"; description "Hours"; } leaf minutes { type uint32 { range "0..59"; } units "minute"; description "Minutes"; } leaf infinite { type string; description "Set string"; } } container dhcpv6duid { description "Client DUID"; leaf allowed-type { type uint32 { range "1..4"; } description "Type of DUID to be allowed"; } } container aaa-server { description "Enable aaa dhcpv6 option force-insert"; container dhcpv6-option { description "Enable aaa dhcpv6 option force-insert"; leaf force-insert { type empty; description "Enable aaa dhcpv6 option force-insert"; } } } container options { description "DHCPv6 match"; list option { key "type format value"; description "DHCPv6 match option"; container enterprise-id { description "match enterprise number"; container hex-enterprise-id { description "defaut action for enterprise number"; leaf action { type Action; description "Configure Action to be take on match"; } } container default-enterprise-id { description "defaut action for enterprise number"; leaf action { type Action; description "Configure Action to be take on match"; } } } container vendor-class { description "match vendor class"; container str-vendor-class { description "string action for vendor number"; leaf action { type Action; description "Configure Action to be take on match"; } } container default-vendor-class { description "default action for enterprise number"; leaf action { type Action; description "Configure Action to be take on match"; } } } leaf type { type xr:Cisco-ios-xr-string; description "Set string"; } leaf format { type uint32; description "Set constant integer"; } leaf value { type xr:Cisco-ios-xr-string; description "Set string"; } } } container dhcpv6-options { description "DHCPv6 options"; container vendor-options { description "Vendor options"; leaf type { type string; description "Set string"; } leaf vendor-options { type string { length "1..512"; } description "Vendor options"; } } } leaf address-pool { type string { length "1..64"; } description "Address pool name"; } leaf aftr-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "AFTR name"; } leaf domain-name { type xr:Cisco-ios-xr-string { length "1..64"; } description "Domain name"; } leaf preference { type uint32 { range "0..255"; } description "DHCP Server Preference"; } leaf rapid-commit { type empty; description "Allow RAPID Commit"; } leaf enable { type empty; mandatory true; description "Enable None. Deletion of this object also causes deletion of all associated objects under Server."; } leaf prefix-pool { type string { length "1..64"; } description "Prefix pool name"; } } leaf profile-name { type xr:Cisco-ios-xr-string; description "Profile name"; } } } container interfaces { description "Table of Interface"; list interface { key "interface-name"; description "None"; container pppoe { description "PPPoE subscriber interface"; leaf profile { type xr:Cisco-ios-xr-string { length "1..64"; } description "Enter profile name"; } } container proxy { description "Assign a proxy profile to interface"; leaf profile { type xr:Cisco-ios-xr-string { length "1..64"; } description "Enter profile name"; } } container base { description "Assign a base profile to interface"; leaf profile { type xr:Cisco-ios-xr-string { length "1..64"; } description "Enter profile name"; } } container server { description "Assign a server profile to interface"; leaf profile { type xr:Cisco-ios-xr-string { length "1..64"; } description "Enter profile name"; } } container relay { description "Assign a relay profile to interface"; leaf profile { type xr:Cisco-ios-xr-string { length "1..64"; } description "Enter profile name"; } } leaf interface-name { type xr:Interface-name; description "Interface to configure"; } } } leaf inner-cos { type uint32 { range "0..7"; } description "Inner cos values for DHCPv6 packets to wards clients"; } leaf enable { type empty; mandatory true; description "Enable None. Deletion of this object also causes deletion of all associated objects under DHCPv6."; } leaf allow-duid-change { type empty; description "For BNG session, allow duid change for a client MAC"; } leaf outer-cos { type uint32 { range "0..7"; } description "Configure outer cos values for DHCPv6 packet to wards client"; } } }
27.803077
73
0.417441
7cde2ec6894f6929d6d18dcb57b357b1231cd5ff
3,575
yang
YANG
utils/yangutils/plugin/src/test/resources/ietfyang/l3vpnservice/ietf-sd-onos-common-types.yang
wuwenbin2/onos_1.6_update
f49cc2440a613c1ec95be0eea9af941b777b3641
[ "Apache-2.0" ]
13
2017-08-04T02:16:10.000Z
2019-11-27T16:18:50.000Z
utils/yangutils/plugin/src/test/resources/ietfyang/l3vpnservice/ietf-sd-onos-common-types.yang
maheshraju-Huawei/actn
8402c2a73758f84daac597958abfd9546cb198be
[ "Apache-2.0" ]
10
2017-10-04T08:29:08.000Z
2020-03-06T21:02:30.000Z
utils/yangutils/plugin/src/test/resources/ietfyang/l3vpnservice/ietf-sd-onos-common-types.yang
maheshraju-Huawei/actn
8402c2a73758f84daac597958abfd9546cb198be
[ "Apache-2.0" ]
9
2018-06-27T09:22:36.000Z
2021-06-29T12:06:24.000Z
module ietf-sd-onos-common-types { namespace "urn:ietf:params:xml:ns:yang:ietf-sd-onos-common-types"; prefix types ; /* import ietf-inet-types{ prefix inet; } import ietf-yang-types { prefix yang-types; } */ organization ""; contact ""; description "Defines common basic types of L3VPN."; revision "2015-12-16" { reference ""; } typedef admin-status { type enumeration { enum admin-up { value 0 ; description "admin up, the operate-status is depend on the real running status ." ; } enum admin-down { value 1 ; description "admin down,the operate-status is forced to down no matter what the real status is" ; } enum config-up { value 2 ; description "the operate-status is forced to up no matter what the real status is." ; } } default admin-up; description "The administration status of the service."; } typedef notification-status { type enumeration { enum up { value 0 ; description "up." ; } enum down { value 1 ; description "down." ; } } default up; description "The notification status of the service."; } typedef notification-type { type enumeration { enum ne{ value 0 ; description "ncd change." ; } enum link{ value 1 ; description "link change." ; } enum ltp{ value 2 ; description "ltp change." ; } } default ltp; description "The notification-type of the service."; } typedef operate-status { type enumeration { enum operate-up { value 0 ; description "operate up." ; } enum operate-down { value 1 ; description "operate down." ; } } default operate-up; description "The operation status of the service."; } grouping command-result { description "Reusable container of the result of the command."; container command-result { description "The result of the command."; leaf result { type int8; description "1 : success, 2 : failed, 3 : partly failed" ; } container success-resources { description "The resources those are available." ; list success-resource-list { description "The resource list shows those are available." ; leaf resource-id { type string; description "The available resource id." ; } } } container failed-resources { description "The resources those are failed." ; list failed-resource-list { description "The resources list shows those are failed." ; leaf resource-id { type string; description "The failed resources ids." ; } leaf error-code { type string; description "The error code." ; } } } } } }
25.176056
74
0.478322
4f88128efdb307bbfd93e923e014248e3c99902f
14,355
yang
YANG
yang-lsp/io.typefox.yang.ide/src/test/resources/RIFT.ware/test/ietf/SNMP-NOTIFICATION-MIB.yang
huyuwen/yang-lsp
d804e98c439bd141445b9b0ff5433aab1e9c11ed
[ "Apache-2.0" ]
34
2017-11-01T09:43:14.000Z
2022-02-07T14:23:32.000Z
yang-lsp/io.typefox.yang.ide/src/test/resources/RIFT.ware/test/ietf/SNMP-NOTIFICATION-MIB.yang
huyuwen/yang-lsp
d804e98c439bd141445b9b0ff5433aab1e9c11ed
[ "Apache-2.0" ]
92
2017-10-04T15:23:40.000Z
2022-03-29T14:16:48.000Z
yang-lsp/io.typefox.yang.ide/src/test/resources/RIFT.ware/test/ietf/SNMP-NOTIFICATION-MIB.yang
huyuwen/yang-lsp
d804e98c439bd141445b9b0ff5433aab1e9c11ed
[ "Apache-2.0" ]
11
2017-10-15T11:47:52.000Z
2021-04-21T07:49:01.000Z
/* * This module has been generated by smidump 0.4.6: * * smidump -f yang --yang-smi-extensions SNMP-NOTIFICATION-MIB * * Do not edit. Edit the source file instead! */ module SNMP-NOTIFICATION-MIB { /*** NAMESPACE / PREFIX DEFINITION ***/ namespace "urn:ietf:params:xml:ns:yang:smiv2:SNMP-NOTIFICATION-MIB"; prefix "snmp-notification"; /*** LINKAGE (IMPORTS / INCLUDES) ***/ import SNMP-FRAMEWORK-MIB { prefix "snmp-framework"; } import SNMP-TARGET-MIB { prefix "snmp-target"; } import SNMPv2-TC { prefix "smiv2"; } import yang-smi { prefix "smi"; } import ietf-yang-types { prefix "yang"; } /*** META INFORMATION ***/ organization "IETF SNMPv3 Working Group"; contact "WG-email: snmpv3@lists.tislabs.com Subscribe: majordomo@lists.tislabs.com In message body: subscribe snmpv3 Co-Chair: Russ Mundy Network Associates Laboratories Postal: 15204 Omega Drive, Suite 300 Rockville, MD 20850-4601 USA EMail: mundy@tislabs.com Phone: +1 301-947-7107 Co-Chair: David Harrington Enterasys Networks Postal: 35 Industrial Way P. O. Box 5004 Rochester, New Hampshire 03866-5005 USA EMail: dbh@enterasys.com Phone: +1 603-337-2614 Co-editor: David B. Levi Nortel Networks Postal: 3505 Kesterwood Drive Knoxville, Tennessee 37918 EMail: dlevi@nortelnetworks.com Phone: +1 865 686 0432 Co-editor: Paul Meyer Secure Computing Corporation Postal: 2675 Long Lake Road Roseville, Minnesota 55113 EMail: paul_meyer@securecomputing.com Phone: +1 651 628 1592 Co-editor: Bob Stewart Retired"; description "This MIB module defines MIB objects which provide mechanisms to remotely configure the parameters used by an SNMP entity for the generation of notifications. Copyright (C) The Internet Society (2002). This version of this MIB module is part of RFC 3413; see the RFC itself for full legal notices."; revision "2002-10-14" { description "Clarifications, published as RFC 3413."; } revision "1998-08-04" { description "Clarifications, published as RFC 2573."; } revision "1997-07-14" { description "The initial revision, published as RFC2273."; } container snmpNotifyObjects { /* XXX table comments here XXX */ list snmpNotifyEntry { key "snmpNotifyName"; description "An entry in this table selects a set of management targets which should receive notifications, as well as the type of notification which should be sent to each selected management target. Entries in the snmpNotifyTable are created and deleted using the snmpNotifyRowStatus object."; smi:oid "1.3.6.1.6.3.13.1.1.1"; leaf snmpNotifyName { type snmp-framework:SnmpAdminString { length "1..32"; } // config false; description "The locally arbitrary, but unique identifier associated with this snmpNotifyEntry."; smi:oid "1.3.6.1.6.3.13.1.1.1.1"; } leaf snmpNotifyTag { type snmp-target:SnmpTagValue; config true; description "This object contains a single tag value which is used to select entries in the snmpTargetAddrTable. Any entry in the snmpTargetAddrTable which contains a tag value which is equal to the value of an instance of this object is selected. If this object contains a value of zero length, no entries are selected."; smi:default ""; smi:oid "1.3.6.1.6.3.13.1.1.1.2"; } leaf snmpNotifyType { type enumeration { enum trap { value 1; } enum inform { value 2; } } config true; description "This object determines the type of notification to be generated for entries in the snmpTargetAddrTable selected by the corresponding instance of snmpNotifyTag. This value is only used when generating notifications, and is ignored when using the snmpTargetAddrTable for other purposes. If the value of this object is trap(1), then any messages generated for selected rows will contain Unconfirmed-Class PDUs. If the value of this object is inform(2), then any messages generated for selected rows will contain Confirmed-Class PDUs. Note that if an SNMP entity only supports generation of Unconfirmed-Class PDUs (and not Confirmed-Class PDUs), then this object may be read-only."; smi:default "trap"; smi:oid "1.3.6.1.6.3.13.1.1.1.3"; } leaf snmpNotifyStorageType { type smiv2:StorageType; config true; description "The storage type for this conceptual row. Conceptual rows having the value 'permanent' need not allow write-access to any columnar objects in the row."; smi:default "nonVolatile"; smi:oid "1.3.6.1.6.3.13.1.1.1.4"; } leaf snmpNotifyRowStatus { type smiv2:RowStatus; config true; description "The status of this conceptual row. To create a row in this table, a manager must set this object to either createAndGo(4) or createAndWait(5)."; smi:oid "1.3.6.1.6.3.13.1.1.1.5"; } } /* XXX table comments here XXX */ list snmpNotifyFilterProfileEntry { key "snmpTargetParamsName"; description "An entry in this table indicates the name of the filter profile to be used when generating notifications using the corresponding entry in the snmpTargetParamsTable. Entries in the snmpNotifyFilterProfileTable are created and deleted using the snmpNotifyFilterProfileRowStatus object."; smi:oid "1.3.6.1.6.3.13.1.2.1"; leaf snmpTargetParamsName { type leafref { path "/snmp-target:snmpTargetObjects/snmp-target:snmpTargetParamsEntry/snmp-target:snmpTargetParamsName"; } config true; description "Automagically generated leafref leaf."; } leaf snmpNotifyFilterProfileName { type snmp-framework:SnmpAdminString { length "1..32"; } config true; description "The name of the filter profile to be used when generating notifications using the corresponding entry in the snmpTargetAddrTable."; smi:oid "1.3.6.1.6.3.13.1.2.1.1"; } leaf snmpNotifyFilterProfileStorType { type smiv2:StorageType; config true; description "The storage type for this conceptual row. Conceptual rows having the value 'permanent' need not allow write-access to any columnar objects in the row."; smi:default "nonVolatile"; smi:oid "1.3.6.1.6.3.13.1.2.1.2"; } leaf snmpNotifyFilterProfileRowStatus { type smiv2:RowStatus; config true; description "The status of this conceptual row. To create a row in this table, a manager must set this object to either createAndGo(4) or createAndWait(5). Until instances of all corresponding columns are appropriately configured, the value of the corresponding instance of the snmpNotifyFilterProfileRowStatus column is 'notReady'. In particular, a newly created row cannot be made active until the corresponding instance of snmpNotifyFilterProfileName has been set."; smi:oid "1.3.6.1.6.3.13.1.2.1.3"; } } /* XXX table comments here XXX */ list snmpNotifyFilterEntry { key "snmpNotifyFilterProfileName snmpNotifyFilterSubtree"; description "An element of a filter profile. Entries in the snmpNotifyFilterTable are created and deleted using the snmpNotifyFilterRowStatus object."; smi:oid "1.3.6.1.6.3.13.1.3.1"; leaf snmpNotifyFilterProfileName { type leafref { path "/snmp-notification:snmpNotifyObjects/snmp-notification:snmpNotifyFilterProfileEntry/snmp-notification:snmpNotifyFilterProfileName"; } config true; description "Automagically generated leafref leaf."; } leaf snmpNotifyFilterSubtree { type yang:object-identifier; // config false; description "The MIB subtree which, when combined with the corresponding instance of snmpNotifyFilterMask, defines a family of subtrees which are included in or excluded from the filter profile."; smi:oid "1.3.6.1.6.3.13.1.3.1.1"; } leaf snmpNotifyFilterMask { type binary { length "0..16"; } config true; description "The bit mask which, in combination with the corresponding instance of snmpNotifyFilterSubtree, defines a family of subtrees which are included in or excluded from the filter profile. Each bit of this bit mask corresponds to a sub-identifier of snmpNotifyFilterSubtree, with the most significant bit of the i-th octet of this octet string value (extended if necessary, see below) corresponding to the (8*i - 7)-th sub-identifier, and the least significant bit of the i-th octet of this octet string corresponding to the (8*i)-th sub-identifier, where i is in the range 1 through 16. Each bit of this bit mask specifies whether or not the corresponding sub-identifiers must match when determining if an OBJECT IDENTIFIER matches this family of filter subtrees; a '1' indicates that an exact match must occur; a '0' indicates 'wild card', i.e., any sub-identifier value matches. Thus, the OBJECT IDENTIFIER X of an object instance is contained in a family of filter subtrees if, for each sub-identifier of the value of snmpNotifyFilterSubtree, either: the i-th bit of snmpNotifyFilterMask is 0, or the i-th sub-identifier of X is equal to the i-th sub-identifier of the value of snmpNotifyFilterSubtree. If the value of this bit mask is M bits long and there are more than M sub-identifiers in the corresponding instance of snmpNotifyFilterSubtree, then the bit mask is extended with 1's to be the required length. Note that when the value of this object is the zero-length string, this extension rule results in a mask of all-1's being used (i.e., no 'wild card'), and the family of filter subtrees is the one subtree uniquely identified by the corresponding instance of snmpNotifyFilterSubtree."; smi:default ""; smi:oid "1.3.6.1.6.3.13.1.3.1.2"; } leaf snmpNotifyFilterType { type enumeration { enum included { value 1; } enum excluded { value 2; } } config true; description "This object indicates whether the family of filter subtrees defined by this entry are included in or excluded from a filter. A more detailed discussion of the use of this object can be found in section 6. of [SNMP-APPL]."; smi:default "included"; smi:oid "1.3.6.1.6.3.13.1.3.1.3"; } leaf snmpNotifyFilterStorageType { type smiv2:StorageType; config true; description "The storage type for this conceptual row. Conceptual rows having the value 'permanent' need not allow write-access to any columnar objects in the row."; smi:default "nonVolatile"; smi:oid "1.3.6.1.6.3.13.1.3.1.4"; } leaf snmpNotifyFilterRowStatus { type smiv2:RowStatus; config true; description "The status of this conceptual row. To create a row in this table, a manager must set this object to either createAndGo(4) or createAndWait(5)."; smi:oid "1.3.6.1.6.3.13.1.3.1.5"; } } smi:oid "1.3.6.1.6.3.13.1"; } } /* end of module SNMP-NOTIFICATION-MIB */
36.43401
152
0.550819
176ead23918e4ee5c9e5940247ce6f9e09ed4f16
171
yy
Yacc
yx-plsmgn/scripts/__boot/__boot.yy
yuigoto/lowrezjam-plsmgn
98ef7d5b0fd14c633fdc3588777cf535d16d3de7
[ "FTL", "RSA-MD" ]
null
null
null
yx-plsmgn/scripts/__boot/__boot.yy
yuigoto/lowrezjam-plsmgn
98ef7d5b0fd14c633fdc3588777cf535d16d3de7
[ "FTL", "RSA-MD" ]
null
null
null
yx-plsmgn/scripts/__boot/__boot.yy
yuigoto/lowrezjam-plsmgn
98ef7d5b0fd14c633fdc3588777cf535d16d3de7
[ "FTL", "RSA-MD" ]
null
null
null
{ "id": "1c4a7221-ebd8-446d-8177-1de91ff6c634", "modelName": "GMScript", "mvc": "1.0", "name": "__boot", "IsCompatibility": false, "IsDnD": false }
21.375
49
0.561404
dbb280ab8260c8e860dcf8fe0a0ae6f90fb74ec6
133
y
Yacc
refs/ctest_10bpclr_CbYACrYA422_lsbf_r2l_ma_rle.0.y
SMPTE/rp268-3-a
d1a751c00fac460001fcb8b9254cf31762446377
[ "BSD-3-Clause" ]
null
null
null
refs/ctest_10bpclr_CbYACrYA422_lsbf_r2l_ma_rle.0.y
SMPTE/rp268-3-a
d1a751c00fac460001fcb8b9254cf31762446377
[ "BSD-3-Clause" ]
1
2022-03-15T13:41:05.000Z
2022-03-15T13:41:05.000Z
refs/ctest_10bpclr_YCbCrA422p_msbf_r2l_ma_rle.0.y
SMPTE/rp268-3-a
d1a751c00fac460001fcb8b9254cf31762446377
[ "BSD-3-Clause" ]
null
null
null
version https://git-lfs.github.com/spec/v1 oid sha256:c7155417846f23ef9d9faf092362c60ea18c0a8aeb7f810bca886c9e4a438bd5 size 70778880
33.25
75
0.887218
de6b47dcae029ed3839c7ef53470be7d426492c6
4,943
yy
Yacc
paths/level4/level4.yy
twofist/Untitled-Shooter-Game
aa455c0bce3595526a5500da7c8bac00f50d5c06
[ "MIT" ]
null
null
null
paths/level4/level4.yy
twofist/Untitled-Shooter-Game
aa455c0bce3595526a5500da7c8bac00f50d5c06
[ "MIT" ]
null
null
null
paths/level4/level4.yy
twofist/Untitled-Shooter-Game
aa455c0bce3595526a5500da7c8bac00f50d5c06
[ "MIT" ]
1
2021-05-08T06:23:55.000Z
2021-05-08T06:23:55.000Z
{ "id": "22a76598-6e44-4b8a-9268-da36b9838405", "modelName": "GMPath", "mvc": "1.0", "name": "level4", "closed": false, "hsnap": 0, "kind": 1, "points": [ { "id": "741209ee-6a86-47b5-b0a3-c95917bdd3ac", "modelName": "GMPathPoint", "mvc": "1.0", "x": 329.703644, "y": 440.2038, "speed": 100 }, { "id": "253550bd-9074-4224-b8a8-23d27e854695", "modelName": "GMPathPoint", "mvc": "1.0", "x": 407.037, "y": 422.870483, "speed": 100 }, { "id": "2aebb091-bc8e-4b4c-a832-ac2ad2882859", "modelName": "GMPathPoint", "mvc": "1.0", "x": 473.703644, "y": 390.870483, "speed": 100 }, { "id": "c42963e3-99c4-451d-9120-283d888bf546", "modelName": "GMPathPoint", "mvc": "1.0", "x": 539.037, "y": 360.2038, "speed": 100 }, { "id": "9f85276c-aedb-4042-81ee-58dd363c0343", "modelName": "GMPathPoint", "mvc": "1.0", "x": 579.037, "y": 336.2038, "speed": 100 }, { "id": "16d7d5cd-99e7-476a-93ce-9724b2aa364b", "modelName": "GMPathPoint", "mvc": "1.0", "x": 631.037, "y": 328.2038, "speed": 100 }, { "id": "3f818b52-3c4b-4cb3-a0ca-00ed09792c2b", "modelName": "GMPathPoint", "mvc": "1.0", "x": 679.037, "y": 329.53714, "speed": 100 }, { "id": "088b5a73-d634-4f78-9721-2faeb3b6c77c", "modelName": "GMPathPoint", "mvc": "1.0", "x": 717.7036, "y": 381.53714, "speed": 100 }, { "id": "1f26d888-a166-4a09-a375-9fed98d6b469", "modelName": "GMPathPoint", "mvc": "1.0", "x": 757.7036, "y": 393.53714, "speed": 100 }, { "id": "73530991-0d03-4da3-9186-7981ba8b3946", "modelName": "GMPathPoint", "mvc": "1.0", "x": 799.037, "y": 422.870483, "speed": 100 }, { "id": "b0c6c52f-4bbb-4304-847d-204d1e5c72d0", "modelName": "GMPathPoint", "mvc": "1.0", "x": 833.370361, "y": 449.53714, "speed": 100 }, { "id": "2d80ee49-feaa-4827-a433-59785bdc4dc9", "modelName": "GMPathPoint", "mvc": "1.0", "x": 828.370361, "y": 498.870483, "speed": 100 }, { "id": "1daeacd7-9470-4cdb-92d0-d72aaf9ebc8e", "modelName": "GMPathPoint", "mvc": "1.0", "x": 789.7036, "y": 512.2038, "speed": 100 }, { "id": "672a68c5-2983-4a42-b8ca-ffbb0ba33650", "modelName": "GMPathPoint", "mvc": "1.0", "x": 719.037, "y": 518.8705, "speed": 100 }, { "id": "8a54db2c-3596-4936-8496-9927aa44f355", "modelName": "GMPathPoint", "mvc": "1.0", "x": 664.3703, "y": 514.8705, "speed": 100 }, { "id": "3234dd52-9994-4cd3-ac0e-e20183547b22", "modelName": "GMPathPoint", "mvc": "1.0", "x": 613.7036, "y": 517.5371, "speed": 100 }, { "id": "fd282b71-dc3d-4b4b-adb0-81a77e2400c6", "modelName": "GMPathPoint", "mvc": "1.0", "x": 591.037, "y": 541.5371, "speed": 100 }, { "id": "554bfa2a-71a2-4736-b00d-276c94077562", "modelName": "GMPathPoint", "mvc": "1.0", "x": 569.7036, "y": 572.2038, "speed": 100 }, { "id": "a5d65a72-ede9-47e2-9c44-5f1bc36fc9bc", "modelName": "GMPathPoint", "mvc": "1.0", "x": 543.037, "y": 569.5371, "speed": 100 }, { "id": "28772176-cc44-46b7-96df-60ec9469e9e0", "modelName": "GMPathPoint", "mvc": "1.0", "x": 491.037, "y": 562.8705, "speed": 100 }, { "id": "c3d42391-3793-430e-942d-32f556cfa9e1", "modelName": "GMPathPoint", "mvc": "1.0", "x": 472.3703, "y": 565.5371, "speed": 100 } ], "precision": 4, "vsnap": 0 }
27.309392
57
0.376492
34eb1a46219d07ee30890a111e8a597baa810361
48,627
y
Yacc
lib/grammar.y
mattbasta/bastascript
fb2bd821eb3335a93927cabef99957b9b3fda639
[ "MIT" ]
1
2020-08-08T18:01:18.000Z
2020-08-08T18:01:18.000Z
lib/grammar.y
mattbasta/bastascript
fb2bd821eb3335a93927cabef99957b9b3fda639
[ "MIT" ]
null
null
null
lib/grammar.y
mattbasta/bastascript
fb2bd821eb3335a93927cabef99957b9b3fda639
[ "MIT" ]
null
null
null
%start Program %nonassoc IF_WITHOUT_ELSE %nonassoc ELSE %% Pattern : OPENBRACE CLOSEBRACE { $$ = yy.Node('ObjectPattern', [], yy.loc([@1,@2])); } | OPENBRACE FieldList CLOSEBRACE { $$ = yy.Node('ObjectPattern', $FieldList, yy.loc([@1,@3])); } | OPENBRACE FieldList ',' CLOSEBRACE { $$ = yy.Node('ObjectPattern', $FieldList, yy.loc([@1,@4])); } | '[' ']' { $$ = yy.Node('ArrayPattern', [], yy.loc([@1,@2])); } /*| '[' '...' Element ']'*/ | '[' Elision ']' { $$ = yy.Node('ArrayPattern', [,], yy.loc([@1,@3])); } /*| '[' Elision '...' Element ']'*/ | '[' ArrayPatternList ']' { $$ = yy.Node('ArrayPattern', $2, yy.loc([@1,@3])); } /*| '[' ArrayPatternList '...' Element ']'*/ | '[' ArrayPatternList ',' ElisionOpt ']' { $$ = yy.Node('ArrayPattern', $2.concat($4), yy.loc([@1,@5])); } /*| '[' ArrayPatternList ',' ElisionOpt '...' Element ']'*/ ; ArrayPatternList : Element { $$ = [$1]; } | Elision Element { $$ = $1; $$.push($2); } | ArrayPatternList ',' ElisionOpt Element { $$ = $1.concat($3); $$.push($4); } ; FieldList : Field { $$ = [$1]; } | FieldList ',' Field { $$ = $1; $$.push($3); } ; Field : IDENT { $$ = {key:yy.Node('Identifier', $1,yy.loc(@1)),value:yy.Node('Identifier', $1,yy.loc(@1)),kind: "init"}; } | IDENT ':' Element { yy.locComb(@$,@3);$$ = {key:yy.Node('Identifier', $1,yy.loc(@1)),value:$3,kind: "init"}; } | STRING ':' Element { yy.locComb(@$,@3);$$ = {key:yy.Node('Literal', parseString($1),yy.loc(@1)),value:$3,kind: "init"}; } | NUMBER ':' Element { yy.locComb(@$,@3);$$ = {key:yy.Node('Literal', parseNum($1),yy.loc(@1)),value:$3,kind: "init"}; } ; Element : Pattern | IDENT { $$ = yy.Node('Identifier', $1,yy.loc(@1)) } ; /* break up keywords to workaround some LALR(1) limitations */ IdentifierName : IDENT | Keyword ; Keyword : NULLTOKEN | TRUETOKEN | FALSETOKEN | BREAK | CASE | CATCH | CONSTTOKEN | CONTINUE | DEBUGGER | DEFAULT | DELETETOKEN | DO | ELSE | FINALLY | FOR | FUNCTION | IF | INTOKEN | INSTANCEOF | LET | NEW | RETURN | SWITCH | THIS | THROW | TRY | TYPEOF | VAR | VOIDTOKEN | WHILE ; Literal : NULLTOKEN { $$ = yy.Node('Literal', null, yy.loc(@1), yytext); } | TRUETOKEN { $$ = yy.Node('Literal', true, yy.loc(@1), yytext); } | FALSETOKEN { $$ = yy.Node('Literal', false, yy.loc(@1), yytext); } | NUMBER { $$ = yy.Node('Literal', parseNum($1), yy.loc(@1), yytext); } | STRING { $$ = yy.Node('Literal', parseString($1), yy.loc(@1), yy.raw[yy.raw.length-1]);} | RegularExpressionLiteralBegin REGEXP_BODY { var full = $1+$2; var body = full.slice(1,full.lastIndexOf('/')); var flags = full.slice(full.lastIndexOf('/')+1); $$ = yy.Node('Literal', new RegExp(body, parseString(flags)), yy.loc(yy.locComb(@$,@2)), full); } ; RegularExpressionLiteralBegin : '/' { yy.lexer.begin('regex'); /*yy.lexer.unput($1)*/; $$ = $1; } | DIVEQUAL { yy.lexer.begin('regex'); /*yy.lexer.unput($1)*/; $$ = $1; } ; Property : IDENT /* object shorthand strawman */ { $$ = yy.Node('Property', yy.Node('Identifier', $1,yy.loc(@1)),yy.Node('Identifier', $1,yy.loc(@1)),"init", yy.loc(@1)); } | IDENT ':' AssignmentExpr { yy.locComb(@$,@3);$$ = yy.Node('Property', yy.Node('Identifier', $1,yy.loc(@1)),$3,"init", yy.loc(@$)); } | Keyword ':' AssignmentExpr { yy.locComb(@$,@3);$$ = yy.Node('Property', yy.Node('Identifier', $1,yy.loc(@1)),$3,"init", yy.loc(@$)); } | STRING ':' AssignmentExpr { yy.locComb(@$,@3);$$ = yy.Node('Property', yy.Node('Literal', parseString($1),yy.loc(@1), JSON.stringify($1)),$3,"init", yy.loc(@$)); } | NUMBER ':' AssignmentExpr { yy.locComb(@$,@3);$$ = yy.Node('Property', yy.Node('Literal', parseNum($1),yy.loc(@1), String($1)),$3,"init", yy.loc(@$)); } | IDENT IdentifierName '(' ')' Block { if ($1 !== 'get' && $1 !== 'set') throw new Error('Parse error, invalid set/get.'); // TODO: use jison ABORT when supported @$ = yy.locComb(@1,@5); var fun = yy.Node('FunctionExpression',null,[],$Block, false, false, yy.isLater, yy.loc(@5)); $$ = yy.Node('Property', yy.Node('Identifier', $2,yy.loc(@2)),fun,$1, yy.loc(@$)); yy.isLater = false; } | IDENT IdentifierName '(' FormalParameterList ')' Block { @$ = yy.locComb(@1,@6); if ($1 !== 'get' && $1 !== 'set') throw new Error('Parse error, invalid set/get.'); // TODO: use jison ABORT when supported var fun = yy.Node('FunctionExpression',null,$FormalParameterList,$Block,false,false,yy.isLater,yy.loc(@6)); $$ = yy.Node('Property', yy.Node('Identifier', $2,yy.loc(@2)),fun,$1, yy.loc(@$)); yy.isLater = false; } | IDENT KeyLiteral '(' ')' Block { if ($1 !== 'get' && $1 !== 'set') throw new Error('Parse error, invalid set/get.'); // TODO: use jison ABORT when supported @$ = yy.locComb(@1,@5); var fun = yy.Node('FunctionExpression',null,[],$Block, false, false, yy.isLater, yy.loc(@5)); $$ = yy.Node('Property', $2,fun,$1,yy.loc(@$)); yy.isLater = false; } | IDENT KeyLiteral '(' FormalParameterList ')' Block { @$ = yy.locComb(@1,@6); if ($1 !== 'get' && $1 !== 'set') throw new Error('Parse error, invalid set/get.'); // TODO: use jison ABORT when supported var fun = yy.Node('FunctionExpression',null,$FormalParameterList,$Block,false,false,yy.isLater,yy.loc(@6)); $$ = yy.Node('Property', $2,fun,$1,yy.loc(@$)); yy.isLater = false; } ; KeyLiteral : NUMBER { $$ = yy.Node('Literal', parseNum($1), yy.loc(@1), yytext); } | STRING { $$ = yy.Node('Literal', parseString($1), yy.loc(@1), yy.lexer.match); } ; PropertyList : Property { $$ = [$1]; } | PropertyList ',' Property { $$ = $1; $$.push($3); } ; PrimaryExpr : PrimaryExprNoBrace | OPENBRACE CLOSEBRACE { $$ = yy.Node('ObjectExpression',[],yy.loc([@$,@2])); } | OPENBRACE PropertyList CLOSEBRACE { $$ = yy.Node('ObjectExpression',$2,yy.loc([@$,@3])); } | OPENBRACE PropertyList ',' CLOSEBRACE { $$ = yy.Node('ObjectExpression',$2,yy.loc([@$,@4])); } ; PrimaryExprNoBrace : THISTOKEN { $$ = yy.Node('ThisExpression', yy.loc(@1)); } | Literal | ArrayLiteral | IDENT { $$ = yy.Node('Identifier', String($1), yy.loc(@1)); } | '(' Expr ')' { $$ = $Expr; if($$.loc){$$.loc = yy.loc([@$,@3]); $$.range = $$.loc.range; delete $$.loc.range;} } ; ArrayLiteral : '[' ']' { $$ = yy.Node('ArrayExpression',[],yy.loc([@$,@2])); } | '[' Elision ']' { $$ = yy.Node('ArrayExpression',$2,yy.loc([@$,@3])); } | '[' ElementList ']' { $$ = yy.Node('ArrayExpression',$2,yy.loc([@$,@3])); } | '[' ElementList ',' ElisionOpt ']' { $$ = yy.Node('ArrayExpression',$2.concat($4),yy.loc([@$,@5]));} ; ElementList : AssignmentExpr { $$ = [$1]; } | Elision AssignmentExpr { $$ = $1; $$.push($2); } | ElementList ',' ElisionOpt AssignmentExpr { $$ = $1.concat($3); $$.push($4); } ; ElisionOpt : { $$ = []; } | Elision ; Elision : ',' { $$ = [,]; } | Elision ',' { $$ = $1; $$.length = $$.length+1; } ; MemberExpr : PrimaryExpr | FunctionExpr | MemberExpr '[' Expr ']' { $$ = yy.Node('MemberExpression',$1,$3,true,yy.loc([@$,@4])); } | MemberExpr '.' IdentifierName { $$ = yy.Node('MemberExpression',$1,yy.Node('Identifier', String($3), yy.loc(@3)),false,yy.loc([@$,@3])); } | NEW MemberExpr Arguments { $$ = yy.Node('NewExpression',$MemberExpr,$Arguments,yy.loc([@$,@3])); } ; MemberExprNoBF : PrimaryExprNoBrace | MemberExprNoBF '[' Expr ']' { $$ = yy.Node('MemberExpression',$1,$3,true,yy.loc([@$,@4])); } | MemberExprNoBF '.' IdentifierName { $$ = yy.Node('MemberExpression',$1,yy.Node('Identifier', String($3), yy.loc(@3)),false,yy.loc([@$,@3])); } | NEW MemberExpr Arguments { $$ = yy.Node('NewExpression',$MemberExpr,$Arguments,yy.loc([@$,@3])); } ; MemberExprDotOnly : IdentifierName { $$ = yy.Node('Identifier', String($$), yy.loc(@$)); } | IdentifierName '.' MemberExprDotOnly { $$ = yy.Node('MemberExpression',yy.Node('Identifier', String($1), yy.loc(@1)),$3,false,yy.loc([@$,@3])); } ; YieldExpr : YIELD { $$ = yy.Node('YieldExpression', null, false, yy.loc(@$)); } | YIELDSTAR { $$ = yy.Node('YieldExpression', null, true, yy.loc(@$)); } | YIELD AssignmentExpr { $$ = yy.Node('YieldExpression', $AssignmentExpr, false, yy.loc([@$, @2])); } | YIELDSTAR AssignmentExpr { $$ = yy.Node('YieldExpression', $AssignmentExpr, true, yy.loc([@$, @2])); } ; YieldExprNoIn : YIELD { $$ = yy.Node('YieldExpression', null, false, yy.loc(@$)); } | YIELDSTAR { $$ = yy.Node('YieldExpression', null, true, yy.loc(@$)); } | YIELD AssignmentExprNoIn { $$ = yy.Node('YieldExpression', $AssignmentExprNoIn, false, yy.loc([@$, @2])); } | YIELDSTAR AssignmentExprNoIn { $$ = yy.Node('YieldExpression', $AssignmentExprNoIn, true, yy.loc([@$, @2])); } ; YieldExprNoBF : YIELD { $$ = yy.Node('YieldExpression', null, false, yy.loc(@$)); } | YIELDSTAR { $$ = yy.Node('YieldExpression', null, true, yy.loc(@$)); } | YIELD AssignmentExprNoBF { $$ = yy.Node('YieldExpression', $AssignmentExprNoBF, false, yy.loc([@$, @2])); } | YIELDSTAR AssignmentExprNoBF { $$ = yy.Node('YieldExpression', $AssignmentExprNoBF, true, yy.loc([@$, @2])); } ; NewExpr : MemberExpr | NEW NewExpr { $$ = yy.Node('NewExpression',$2,[],yy.loc([@$,@2])); } ; NewExprNoBF : MemberExprNoBF | NEW NewExpr { $$ = yy.Node('NewExpression',$2,[],yy.loc([@$,@2])); } ; CallExpr : MemberExpr Arguments { $$ = yy.Node('CallExpression',$1,$2,yy.loc([@$,@2])); } | CallExpr Arguments { $$ = yy.Node('CallExpression',$1,$2,yy.loc([@$,@2])); } | MemberExpr SKINNYARROW Arguments { $$ = yy.Node('CurryExpression',$1,$3,yy.loc([@$,@3])); } | CallExpr SKINNYARROW Arguments { $$ = yy.Node('CurryExpression',$1,$3,yy.loc([@$,@3])); } | CallExpr '[' Expr ']' { $$ = yy.Node('MemberExpression',$1,$3,true,yy.loc([@$,@4])); } | CallExpr '.' IdentifierName { $$ = yy.Node('MemberExpression',$1,yy.Node('Identifier', String($3), yy.loc(@3)),false,yy.loc([@$,@3])); } ; CallExprNoBF : MemberExprNoBF Arguments { $$ = yy.Node('CallExpression',$1,$2,yy.loc([@$,@2])); } | CallExprNoBF Arguments { $$ = yy.Node('CallExpression',$1,$2,yy.loc([@$,@2])); } | MemberExprNoBF SKINNYARROW Arguments { $$ = yy.Node('CurryExpression',$1,$3,yy.loc([@$,@3])); } | CallExprNoBF SKINNYARROW Arguments { $$ = yy.Node('CurryExpression',$1,$3,yy.loc([@$,@3])); } | CallExprNoBF '[' Expr ']' { $$ = yy.Node('MemberExpression',$1,$3,true,yy.loc([@$,@4])); } | CallExprNoBF '.' IdentifierName { $$ = yy.Node('MemberExpression',$1,yy.Node('Identifier', String($3), yy.loc(@3)),false,yy.loc([@$,@3])); } ; CallExprDotOnly : MemberExprDotOnly Arguments { $$ = yy.Node('CallExpression',$1,$2,yy.loc([@$,@2])); } | CallExprDotOnly Arguments { $$ = yy.Node('CallExpression',$1,$2,yy.loc([@$,@2])); } | CallExprDotOnly '[' Expr ']' { $$ = yy.Node('MemberExpression',$1,$3,true,yy.loc([@$,@4])); } | CallExprDotOnly '.' IdentifierName { $$ = yy.Node('MemberExpression',$1,yy.Node('Identifier', String($3), yy.loc(@3)),false,yy.loc([@$,@3])); } ; Arguments : '(' ')' { $$ = []; } | '(' ArgumentList ')' { $$ = $ArgumentList; } ; ArgumentList : AssignmentExpr { $$ = [$1]; } | ArgumentList ',' AssignmentExpr { $$ = $1; $$.push($3); } ; LeftHandSideExpr : NewExpr | CallExpr ; LeftHandSideExprNoBF : NewExprNoBF | CallExprNoBF ; PostfixExpr : LeftHandSideExpr | LeftHandSideExpr PLUSPLUS { $$ = yy.Node('UpdateExpression','++',$1,false,yy.loc([@$,@2])); } | LeftHandSideExpr MINUSMINUS { $$ = yy.Node('UpdateExpression','--',$1,false,yy.loc([@$,@2])); } ; PostfixExprNoBF : LeftHandSideExprNoBF | LeftHandSideExprNoBF PLUSPLUS { $$ = yy.Node('UpdateExpression','++',$1,false,yy.loc([@$,@2])); } | LeftHandSideExprNoBF MINUSMINUS { $$ = yy.Node('UpdateExpression','--',$1,false,yy.loc([@$,@2])); } ; UnaryExprCommon : DELETETOKEN UnaryExpr { $$ = yy.Node('UnaryExpression','delete',$2,true,yy.loc([@$,@2])); } | VOIDTOKEN UnaryExpr { $$ = yy.Node('UnaryExpression','void',$2,true,yy.loc([@$,@2])); } | TYPEOF UnaryExpr { $$ = yy.Node('UnaryExpression','typeof',$2,true,yy.loc([@$,@2])); } | PLUSPLUS UnaryExpr { $$ = yy.Node('UpdateExpression','++',$2,true,yy.loc([@$,@2])); } | MINUSMINUS UnaryExpr { $$ = yy.Node('UpdateExpression','--',$2,true,yy.loc([@$,@2])); } | '+' UnaryExpr { $$ = yy.Node('UnaryExpression','+',$2,true,yy.loc([@$,@2])); } | '-' UnaryExpr { $$ = yy.Node('UnaryExpression','-',$2,true,yy.loc([@$,@2])); } | '~' UnaryExpr { $$ = yy.Node('UnaryExpression','~',$2,true,yy.loc([@$,@2])); } | '!' UnaryExpr { $$ = yy.Node('UnaryExpression','!',$2,true,yy.loc([@$,@2])); } ; UnaryExpr : PostfixExpr | UnaryExprCommon ; UnaryExprNoBF : PostfixExprNoBF | UnaryExprCommon ; MultiplicativeExpr : UnaryExpr | MultiplicativeExpr '*' UnaryExpr { $$ = yy.Node('BinaryExpression', '*', $1, $3, yy.loc([@$,@3])); } | MultiplicativeExpr '/' UnaryExpr { $$ = yy.Node('BinaryExpression', '/', $1, $3,yy.loc([@$,@3])); } | MultiplicativeExpr '%' UnaryExpr { $$ = yy.Node('BinaryExpression', '%', $1, $3,yy.loc([@$,@3])); } ; MultiplicativeExprNoBF : UnaryExprNoBF | MultiplicativeExprNoBF '*' UnaryExpr { $$ = yy.Node('BinaryExpression', '*', $1, $3,yy.loc([@$,@3])); } | MultiplicativeExprNoBF '/' UnaryExpr { $$ = yy.Node('BinaryExpression', '/', $1, $3,yy.loc([@$,@3])); } | MultiplicativeExprNoBF '%' UnaryExpr { $$ = yy.Node('BinaryExpression', '%', $1, $3,yy.loc([@$,@3])); } ; AdditiveExpr : MultiplicativeExpr | AdditiveExpr '+' MultiplicativeExpr { $$ = yy.Node('BinaryExpression', '+', $1, $3,yy.loc([@$,@3])); } | AdditiveExpr '-' MultiplicativeExpr { $$ = yy.Node('BinaryExpression', '-', $1, $3,yy.loc([@$,@3])); } ; AdditiveExprNoBF : MultiplicativeExprNoBF | AdditiveExprNoBF '+' MultiplicativeExpr { @$ = yy.locComb(@1,@3); $$ = yy.Node('BinaryExpression', '+', $1, $3, yy.loc(@$)); } | AdditiveExprNoBF '-' MultiplicativeExpr { @$ = yy.locComb(@1,@3); $$ = yy.Node('BinaryExpression', '-', $1, $3, yy.loc(@$)); } ; ShiftExpr : AdditiveExpr | ShiftExpr LSHIFT AdditiveExpr { $$ = yy.Node('BinaryExpression', '<<', $1, $3,yy.loc([@$,@3])); } | ShiftExpr RSHIFT AdditiveExpr { $$ = yy.Node('BinaryExpression', '>>', $1, $3,yy.loc([@$,@3])); } | ShiftExpr URSHIFT AdditiveExpr { $$ = yy.Node('BinaryExpression', '>>>', $1, $3,yy.loc([@$,@3])); } ; ShiftExprNoBF : AdditiveExprNoBF | ShiftExprNoBF LSHIFT AdditiveExpr { $$ = yy.Node('BinaryExpression', '<<', $1, $3,yy.loc([@$,@3])); } | ShiftExprNoBF RSHIFT AdditiveExpr { $$ = yy.Node('BinaryExpression', '>>', $1, $3,yy.loc([@$,@3])); } | ShiftExprNoBF URSHIFT AdditiveExpr { $$ = yy.Node('BinaryExpression', '>>>', $1, $3,yy.loc([@$,@3])); } ; RelationalExpr : ShiftExpr | RelationalExpr '<' ShiftExpr { $$ = yy.Node('BinaryExpression', '<', $1, $3,yy.loc([@$,@3])); } | RelationalExpr '>' ShiftExpr { $$ = yy.Node('BinaryExpression', '>', $1, $3,yy.loc([@$,@3])); } | RelationalExpr LE ShiftExpr { $$ = yy.Node('BinaryExpression', '<=', $1, $3,yy.loc([@$,@3])); } | RelationalExpr GE ShiftExpr { $$ = yy.Node('BinaryExpression', '>=', $1, $3,yy.loc([@$,@3])); } | RelationalExpr INSTANCEOF ShiftExpr { $$ = yy.Node('BinaryExpression', 'instanceof', $1, $3,yy.loc([@$,@3])); } | RelationalExpr INTOKEN ShiftExpr { $$ = yy.Node('BinaryExpression', 'in', $1, $3,yy.loc([@$,@3])); } ; RelationalExprNoIn : ShiftExpr | RelationalExprNoIn '<' ShiftExpr { $$ = yy.Node('BinaryExpression', '<', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoIn '>' ShiftExpr { $$ = yy.Node('BinaryExpression', '>', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoIn LE ShiftExpr { $$ = yy.Node('BinaryExpression', '<=', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoIn GE ShiftExpr { $$ = yy.Node('BinaryExpression', '>=', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoIn INSTANCEOF ShiftExpr { $$ = yy.Node('BinaryExpression', 'instanceof', $1, $3,yy.loc([@$,@3])); } ; RelationalExprNoBF : ShiftExprNoBF | RelationalExprNoBF '<' ShiftExpr { $$ = yy.Node('BinaryExpression', '<', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoBF '>' ShiftExpr { $$ = yy.Node('BinaryExpression', '>', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoBF LE ShiftExpr { $$ = yy.Node('BinaryExpression', '<=', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoBF GE ShiftExpr { $$ = yy.Node('BinaryExpression', '>=', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoBF INSTANCEOF ShiftExpr { $$ = yy.Node('BinaryExpression', 'instanceof', $1, $3,yy.loc([@$,@3])); } | RelationalExprNoBF INTOKEN ShiftExpr { $$ = yy.Node('BinaryExpression', 'in', $1, $3,yy.loc([@$,@3])); } ; EqualityExpr : RelationalExpr | EqualityExpr EQEQ RelationalExpr { $$ = yy.Node('BinaryExpression', '==', $1, $3,yy.loc([@$,@3])); } | EqualityExpr NE RelationalExpr { $$ = yy.Node('BinaryExpression', '!=', $1, $3,yy.loc([@$,@3])); } | EqualityExpr STREQ RelationalExpr { $$ = yy.Node('BinaryExpression', '===', $1, $3,yy.loc([@$,@3])); } | EqualityExpr STRNEQ RelationalExpr { $$ = yy.Node('BinaryExpression', '!==', $1, $3,yy.loc([@$,@3])); } ; EqualityExprNoIn : RelationalExprNoIn | EqualityExprNoIn EQEQ RelationalExprNoIn { $$ = yy.Node('BinaryExpression', '==', $1, $3,yy.loc([@$,@3])); } | EqualityExprNoIn NE RelationalExprNoIn { $$ = yy.Node('BinaryExpression', '!=', $1, $3,yy.loc([@$,@3])); } | EqualityExprNoIn STREQ RelationalExprNoIn { $$ = yy.Node('BinaryExpression', '===', $1, $3,yy.loc([@$,@3])); } | EqualityExprNoIn STRNEQ RelationalExprNoIn { $$ = yy.Node('BinaryExpression', '!==', $1, $3,yy.loc([@$,@3])); } ; EqualityExprNoBF : RelationalExprNoBF | EqualityExprNoBF EQEQ RelationalExpr { $$ = yy.Node('BinaryExpression', '==', $1, $3,yy.loc([@$,@3])); } | EqualityExprNoBF NE RelationalExpr { $$ = yy.Node('BinaryExpression', '!=', $1, $3,yy.loc([@$,@3])); } | EqualityExprNoBF STREQ RelationalExpr { $$ = yy.Node('BinaryExpression', '===', $1, $3,yy.loc([@$,@3])); } | EqualityExprNoBF STRNEQ RelationalExpr { $$ = yy.Node('BinaryExpression', '!==', $1, $3,yy.loc([@$,@3])); } ; BitwiseANDExpr : EqualityExpr | BitwiseANDExpr '&' EqualityExpr { $$ = yy.Node('BinaryExpression', '&', $1, $3,yy.loc([@$,@3])); } ; BitwiseANDExprNoIn : EqualityExprNoIn | BitwiseANDExprNoIn '&' EqualityExprNoIn { $$ = yy.Node('BinaryExpression', '&', $1, $3,yy.loc([@$,@3])); } ; BitwiseANDExprNoBF : EqualityExprNoBF | BitwiseANDExprNoBF '&' EqualityExpr { $$ = yy.Node('BinaryExpression', '&', $1, $3,yy.loc([@$,@3])); } ; BitwiseXORExpr : BitwiseANDExpr | BitwiseXORExpr '^' BitwiseANDExpr { $$ = yy.Node('BinaryExpression', '^', $1, $3,yy.loc([@$,@3])); } ; BitwiseXORExprNoIn : BitwiseANDExprNoIn | BitwiseXORExprNoIn '^' BitwiseANDExprNoIn { $$ = yy.Node('BinaryExpression', '^', $1, $3,yy.loc([@$,@3])); } ; BitwiseXORExprNoBF : BitwiseANDExprNoBF | BitwiseXORExprNoBF '^' BitwiseANDExpr { $$ = yy.Node('BinaryExpression', '^', $1, $3,yy.loc([@$,@3])); } ; BitwiseORExpr : BitwiseXORExpr | BitwiseORExpr '|' BitwiseXORExpr { $$ = yy.Node('BinaryExpression', '|', $1, $3,yy.loc([@$,@3])); } ; BitwiseORExprNoIn : BitwiseXORExprNoIn | BitwiseORExprNoIn '|' BitwiseXORExprNoIn { $$ = yy.Node('BinaryExpression', '|', $1, $3,yy.loc([@$,@3])); } ; BitwiseORExprNoBF : BitwiseXORExprNoBF | BitwiseORExprNoBF '|' BitwiseXORExpr { $$ = yy.Node('BinaryExpression', '|', $1, $3,yy.loc([@$,@3])); } ; LogicalANDExpr : BitwiseORExpr | LogicalANDExpr AND BitwiseORExpr { $$ = yy.Node('LogicalExpression', '&&', $1, $3,yy.loc([@$,@3])); } ; LogicalANDExprNoIn : BitwiseORExprNoIn | LogicalANDExprNoIn AND BitwiseORExprNoIn { $$ = yy.Node('LogicalExpression', '&&', $1, $3,yy.loc([@$,@3])); } ; LogicalANDExprNoBF : BitwiseORExprNoBF | LogicalANDExprNoBF AND BitwiseORExpr { $$ = yy.Node('LogicalExpression', '&&', $1, $3,yy.loc([@$,@3])); } ; LogicalORExpr : LogicalANDExpr | LogicalORExpr OR LogicalANDExpr { $$ = yy.Node('LogicalExpression', '||', $1, $3,yy.loc([@$,@3])); } ; LogicalORExprNoIn : LogicalANDExprNoIn | LogicalORExprNoIn OR LogicalANDExprNoIn { $$ = yy.Node('LogicalExpression', '||', $1, $3,yy.loc([@$,@3])); } ; LogicalORExprNoBF : LogicalANDExprNoBF | LogicalORExprNoBF OR LogicalANDExpr { $$ = yy.Node('LogicalExpression', '||', $1, $3,yy.loc([@$,@3])); } ; ConditionalExpr : LogicalORExpr | LogicalORExpr '?' AssignmentExpr ':' AssignmentExpr { $$ = yy.Node('ConditionalExpression', $1, $3, $5,yy.loc([@$,@5])); } ; ConditionalExprNoIn : LogicalORExprNoIn | LogicalORExprNoIn '?' AssignmentExprNoIn ':' AssignmentExprNoIn { $$ = yy.Node('ConditionalExpression', $1, $3, $5,yy.loc([@$,@5])); } ; ConditionalExprNoBF : LogicalORExprNoBF | LogicalORExprNoBF '?' AssignmentExpr ':' AssignmentExpr { $$ = yy.Node('ConditionalExpression', $1, $3, $5,yy.loc([@$,@5])); } ; AssignmentExpr : PrimaryExprNoBrace FATARROW AssignmentExprNoBF { $$ = yy.Node('ArrowFunction', yy.parseArrowParams($1), $3, yy.loc([@$, @3])); } | PrimaryExprNoBrace FATARROW Block { $$ = yy.Node('ArrowFunction', yy.parseArrowParams($1), $3, yy.loc([@$, @3])); } | '(' ')' FATARROW AssignmentExprNoBF { $$ = yy.Node('ArrowFunction', [], $4, yy.loc([@$, @4])); } | '(' ')' FATARROW Block { $$ = yy.Node('ArrowFunction', [], $4, yy.loc([@$, @4])); } | ConditionalExpr | YieldExpr | LeftHandSideExpr AssignmentOperator AssignmentExpr { $$ = yy.Node('AssignmentExpression', $2, $1, $3,yy.loc([@$,@3])); } | LeftHandSideExpr EQUALSKINNYARROW Arguments { $$ = yy.Node('AssignmentExpression', $2, $1, $3,yy.loc([@$,@3])); } ; AssignmentExprNoIn : ConditionalExprNoIn | YieldExprNoIn | LeftHandSideExpr AssignmentOperator AssignmentExprNoIn { $$ = yy.Node('AssignmentExpression', $2, $1, $3,yy.loc([@$,@3])); } | LeftHandSideExpr EQUALSKINNYARROW Arguments { $$ = yy.Node('AssignmentExpression', $2, $1, $3,yy.loc([@$,@3])); } ; AssignmentExprNoBF : PrimaryExprNoBrace FATARROW AssignmentExprNoBF { $$ = yy.Node('ArrowFunction', yy.parseArrowParams($1), $3, yy.loc([@$, @3])); } | PrimaryExprNoBrace FATARROW Block { $$ = yy.Node('ArrowFunction', yy.parseArrowParams($1), $3, yy.loc([@$, @3])); } | '(' ')' FATARROW AssignmentExprNoBF { $$ = yy.Node('ArrowFunction', [], $4, yy.loc([@$, @4])); } | '(' ')' FATARROW Block { $$ = yy.Node('ArrowFunction', [], $4, yy.loc([@$, @4])); } | ConditionalExprNoBF | YieldExprNoBF | LeftHandSideExprNoBF AssignmentOperator AssignmentExpr { $$ = yy.Node('AssignmentExpression', $2, $1, $3,yy.loc([@$,@3])); } | LeftHandSideExprNoBF EQUALSKINNYARROW Arguments { $$ = yy.Node('AssignmentExpression', $2, $1, $3,yy.loc([@$,@3])); } ; AssignmentOperator : '=' | PLUSEQUAL | MINUSEQUAL | MULTEQUAL | DIVEQUAL | LSHIFTEQUAL | RSHIFTEQUAL | URSHIFTEQUAL | ANDEQUAL | XOREQUAL | DOTEQUAL | OREQUAL | MODEQUAL ; Expr : AssignmentExpr | Expr ',' AssignmentExpr { if ($1.type == 'SequenceExpression') { $1.expressions.push($3); $1.loc = yy.loc([@$,@3]); $$ = $1; } else $$ = yy.Node('SequenceExpression',[$1, $3],yy.loc([@$,@3])); } ; ExprNoIn : AssignmentExprNoIn | ExprNoIn ',' AssignmentExprNoIn { if ($1.type == 'SequenceExpression') { $1.expressions.push($3); $1.loc = yy.loc([@$,@3]); $$ = $1; } else $$ = yy.Node('SequenceExpression',[$1, $3],yy.loc([@$,@3])); } ; ExprNoBF : AssignmentExprNoBF | ExprNoBF ',' AssignmentExpr { if ($1.type == 'SequenceExpression') { $1.expressions.push($3); $1.loc = yy.loc([@$,@3]); $$ = $1; } else $$ = yy.Node('SequenceExpression',[$1, $3],yy.loc([@$,@3])); } ; Statement : Block | VariableStatement | DecoratedFunction | FunctionDeclaration | EmptyStatement | ContinueStatement | BreakStatement | ReturnStatement | LaterStatement | NonLaterStatement ; NonLaterStatement : ExprStatement | IfStatement | IterationStatement | YadaYadaStatement | SwitchStatement | LabeledStatement | ThrowStatement | TryStatement | DebuggerStatement ; LaterStatement : LATER NonLaterStatement { $$ = yy.Node('LaterStatement', $2, yy.loc([@$, @2])), yy.isLater = true; } ; Block : OPENBRACE CLOSEBRACE { $$ = yy.Node('BlockStatement',[],yy.loc([@$,@2])); } | OPENBRACE SourceElements CLOSEBRACE { $$ = yy.Node('BlockStatement',$2,yy.loc([@$,@3])); } ; ConstStatement : CONSTTOKEN ConstDecralarionList ';' { $$ = yy.Node('VariableDeclaration', "const", $2, yy.loc([@$,@3])) } | CONSTTOKEN ConstDecralarionList error { if ($3.length) { @$.last_column = @3.first_column; @$.range[1] = @3.range[0]; } else { yy.locComb(@$, @2); } $$ = yy.Node('VariableDeclaration', "const", $2, yy.loc(@$)); } ; ConstDecralarionList : IDENT { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), null, yy.loc(@1))]; } | IDENT Initializer { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), $2, yy.loc([@$, @2]))]; } | Pattern Initializer { $$ = [yy.Node('VariableDeclarator', $1, $2, yy.loc([@$, @2]))]; } | ConstDecralarionList ',' IDENT { yy.locComb(@$,@3); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), null, yy.loc(@3))); } | ConstDecralarionList ',' IDENT Initializer { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), $4, yy.loc([@3, @4]))); } | ConstDecralarionList ',' Pattern Initializer { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', $3, $4, yy.loc([@3, @4]))); } ; ConstDecralarionListNoIn : IDENT { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), null, yy.loc(@$))]; } | IDENT InitializerNoIn { yy.locComb(@$,@2); $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), $2, yy.loc([@$, @2]))]; } | Pattern InitializerNoIn { yy.locComb(@$,@2);$$ = [yy.Node('VariableDeclarator', $1, $2, yy.loc([@$, @2]))]; } | ConstDecralarionListNoIn ',' IDENT { yy.locComb(@$,@3); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), null, yy.loc(@3))); } | ConstDecralarionListNoIn ',' IDENT InitializerNoIn { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), $4, yy.loc([@3, @4]))); } | ConstDecralarionListNoIn ',' Pattern InitializerNoIn { yy.locComb(@$,@4);$$ = $1; $1.push(yy.Node('VariableDeclarator', $3, $4, yy.loc([@3, @4]))); } ; VariableStatement : VAR VariableDeclarationList ';' { $$ = yy.Node('VariableDeclaration', "var", $2, yy.loc([@$, @3])) } | VAR VariableDeclarationList error { errorLoc($3, @$, @2, @3); $$ = yy.Node('VariableDeclaration', "var", $2, yy.loc(@$)) } ; VariableDeclarationList : IDENT { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), null, yy.loc(@1))]; } | IDENT Initializer { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), $2, yy.loc([@$, @2]))]; } | Pattern Initializer { $$ = [yy.Node('VariableDeclarator', $1, $2, yy.loc([@$, @2]))]; } | VariableDeclarationList ',' IDENT { yy.locComb(@$,@3); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), null, yy.loc(@3))); } | VariableDeclarationList ',' IDENT Initializer { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), $4, yy.loc([@3, @4]))); } | VariableDeclarationList ',' Pattern Initializer { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', $3, $4, yy.loc([@3, @4]))); } ; VariableDeclarationListNoIn : IDENT { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), null, yy.loc(@$))]; } | IDENT InitializerNoIn { yy.locComb(@$,@2); $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), $2, yy.loc([@$, @2]))]; } | Pattern InitializerNoIn { yy.locComb(@$,@2);$$ = [yy.Node('VariableDeclarator', $1, $2, yy.loc(@$))]; } | VariableDeclarationListNoIn ',' IDENT { yy.locComb(@$,@3); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), null, yy.loc(@3))); } | VariableDeclarationListNoIn ',' IDENT InitializerNoIn { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), $4, yy.loc([@3, @4]))); } | VariableDeclarationListNoIn ',' Pattern InitializerNoIn { yy.locComb(@$,@4);$$ = $1; $1.push(yy.Node('VariableDeclarator', $3, $4, yy.loc([@3, @4]))); } ; LetStatement : LET LetDeclarationList ';' { $$ = yy.Node('VariableDeclaration', "let", $2, yy.loc([@$,@3])) } | LET LetDeclarationList error { if ($3.length) { @$.last_column = @3.first_column; @$.range[1] = @3.range[0]; } else { yy.locComb(@$, @2); } $$ = yy.Node('VariableDeclaration', "let", $2, yy.loc(@$)); } ; LetDeclarationList : IDENT { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), null, yy.loc(@1))]; } | IDENT Initializer { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1,yy.loc(@1)), $2, yy.loc([@$, @2]))]; } | Pattern Initializer { $$ = [yy.Node('VariableDeclarator', $1, $2, yy.loc([@$, @2]))]; } | LetDeclarationList ',' IDENT { yy.locComb(@$,@3); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), null, yy.loc(@3))); } | LetDeclarationList ',' IDENT Initializer { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3,yy.loc(@3)), $4, yy.loc([@3, @4]))); } | LetDeclarationList ',' Pattern Initializer { yy.locComb(@$,@4); $$ = $1; $1.push(yy.Node('VariableDeclarator', $3, $4, yy.loc([@3, @4]))); } ; LetDeclarationListNoIn : IDENT { $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1, yy.loc(@1)), null, yy.loc(@$))]; } | IDENT InitializerNoIn { yy.locComb(@$,@2); $$ = [yy.Node('VariableDeclarator', yy.Node('Identifier', $1, yy.loc(@1)), $2, yy.loc([@$, @2]))]; } | Pattern InitializerNoIn { yy.locComb(@$,@2);$$ = [yy.Node('VariableDeclarator', $1, $2, yy.loc([@$, @2]))]; } | LetDeclarationListNoIn ',' IDENT { yy.locComb(@$, @3); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3, yy.loc(@3)), null, yy.loc(@3))); } | LetDeclarationListNoIn ',' IDENT InitializerNoIn { yy.locComb(@$, @4); $$ = $1; $1.push(yy.Node('VariableDeclarator', yy.Node('Identifier', $3, yy.loc(@3)), $4, yy.loc([@3, @4]))); } | LetDeclarationListNoIn ',' Pattern InitializerNoIn { yy.locComb(@$, @4);$$ = $1; $1.push(yy.Node('VariableDeclarator', $3, $4, yy.loc([@3, @4]))); } ; Initializer : '=' AssignmentExpr { $$ = $2; yy.locComb(@$,@2) } ; InitializerNoIn : '=' AssignmentExprNoIn { $$ = $2; yy.locComb(@$,@2) } ; EmptyStatement : ';' { $$ = yy.Node('EmptyStatement',yy.loc(@1)); } ; ExprStatement : ExprNoBF ';' { $$ = yy.Node('ExpressionStatement', $1,yy.loc([@$,@2])); } | ExprNoBF error { if (@1.last_line === @2.last_line) { if ($2.length) { @$.last_column = @2.first_column; @$.range[1] = @2.range[0]; }else{ @$.last_column = @2.last_column; @$.range[1] = @2.range[1]; } } else { @$.last_column = @2.last_column; @$.last_line = @2.last_line; @$.range[1] = @2.range[1]; /*console.log('!err', $1, @1);*/ /*console.log('!err', $2, @2);*/ } $$ = yy.Node('ExpressionStatement', $1, yy.loc(@$)); } ; IfStatement : IF '(' Expr ')' Statement %prec IF_WITHOUT_ELSE { $$ = yy.Node('IfStatement', $Expr, $Statement, null, yy.loc([@$,@5])); } | IF '(' Expr ')' Statement ELSE Statement { $$ = yy.Node('IfStatement', $Expr, $Statement1, $Statement2, yy.loc([@$,@7])); } ; /* forces a reduction so the parser can be modified to allow ASI */ While : WHILE { $$ = $1; yy.doWhile = true; } ; IterationStatement : DO Statement While '(' Expr ')' ';' { $$ = yy.Node('DoWhileStatement', $Statement, $Expr,yy.loc([@$,@7])); yy.doWhile = false; } | DO Statement While '(' Expr ')' error { $$ = yy.Node('DoWhileStatement', $Statement, $Expr,yy.loc([@$, @6])); yy.doWhile = false;} | WHILE '(' Expr ')' Statement { $$ = yy.Node('WhileStatement', $Expr, $Statement,yy.loc([@$,@5])); } | FOR '(' ExprNoInOpt ';' ExprOpt ';' ExprOpt ')' Statement { $$ = yy.Node('ForStatement', $ExprNoInOpt, $ExprOpt1, $ExprOpt2, $Statement,yy.loc([@$,@9])); } | FOR '(' VAR VariableDeclarationListNoIn ';' ExprOpt ';' ExprOpt ')' Statement { $$ = yy.Node('ForStatement', yy.Node('VariableDeclaration',"var", $4, yy.loc([@3,@4])), $ExprOpt1, $ExprOpt2, $Statement, yy.loc([@$,@10])); } | FOR '(' LET LetDeclarationListNoIn ';' ExprOpt ';' ExprOpt ')' Statement { $$ = yy.Node('ForStatement', yy.Node('VariableDeclaration',"let", $4, yy.loc([@3,@4])), $ExprOpt1, $ExprOpt2, $Statement, yy.loc([@$,@10])); } | FOR '(' CONSTTOKEN ConstDecralarionListNoIn ';' ExprOpt ';' ExprOpt ')' Statement { $$ = yy.Node('ForStatement', yy.Node('VariableDeclaration',"const", $4, yy.loc([@3,@4])), $ExprOpt1, $ExprOpt2, $Statement, yy.loc([@$,@10])); } | FOR '(' LeftHandSideExpr INTOKEN Expr ')' Statement { $$ = yy.Node('ForInStatement', $LeftHandSideExpr, $Expr, $Statement, false, yy.loc([@$,@7])); } | FOR '(' VarOrLet Expr ')' Statement { $$ = yy.Node('ForInStatement', $3, $Expr, $Statement, false, yy.loc([@$,@6])); } | FOR '(' VarOrLetInitNoIn Expr ')' Statement { $$ = yy.Node('ForInStatement', $3, $Expr, $Statement, false, yy.loc([@$,@6])); } | FOR '(' LeftHandSideExpr INTOKEN Expr ForCondExpr ')' Statement { $$ = yy.Node('ForInStatement', $LeftHandSideExpr, $Expr, yy.Node('IfStatement', $ForCondExpr, $Statement, null, yy.loc(@5)), false, yy.loc([@$,@7])); } | FOR '(' VarOrLet Expr ForCondExpr ')' Statement { $$ = yy.Node('ForInStatement', $3, $Expr, yy.Node('IfStatement', $ForCondExpr, $Statement, null, yy.loc(@4)), false, yy.loc([@$,@6])); } | FOR '(' VarOrLetInitNoIn Expr ForCondExpr ')' Statement { $$ = yy.Node('ForInStatement', $3, $Expr, yy.Node('IfStatement', $ForCondExpr, $Statement, null, yy.loc(@4)), false, yy.loc([@$,@6])); } ; ForCondExpr : IF Expr { $$ = $Expr; } ; VarOrLet : VAR IDENT INTOKEN { $$ = yy.Node('VariableDeclaration',"var", [yy.Node('VariableDeclarator',yy.Node('Identifier', $2,yy.loc(@2)), null, yy.loc(@2))], yy.loc([@1,@2])) } | VAR Pattern INTOKEN { $$ = yy.Node('VariableDeclaration',"var", [yy.Node('VariableDeclarator',$2, null, yy.loc(@2))], yy.loc([@1,@2])) } | LET IDENT INTOKEN { $$ = yy.Node('VariableDeclaration',"let", [yy.Node('VariableDeclarator',yy.Node('Identifier', $2,yy.loc(@2)), null, yy.loc(@2))], yy.loc([@1,@2])) } | LET Pattern INTOKEN { $$ = yy.Node('VariableDeclaration',"let", [yy.Node('VariableDeclarator',$2, null, yy.loc(@2))], yy.loc([@1,@2])) } ; VarOrLetInitNoIn : VAR IDENT InitializerNoIn INTOKEN { $$ = yy.Node('VariableDeclaration',"var", [yy.Node('VariableDeclarator',yy.Node('Identifier', $2,yy.loc(@2)), $3, yy.loc([@2, @3]))], yy.loc([@1,@3])) } | VAR Pattern InitializerNoIn INTOKEN { $$ = yy.Node('VariableDeclaration',"var", [yy.Node('VariableDeclarator',$2, $3, yy.loc([@2, @3]))], yy.loc([@1,@3])) } | LET IDENT InitializerNoIn INTOKEN { $$ = yy.Node('VariableDeclaration',"let", [yy.Node('VariableDeclarator',yy.Node('Identifier', $2,yy.loc(@2)), $3, yy.loc([@2, @3]))], yy.loc([@1,@3])) } | LET Pattern InitializerNoIn INTOKEN { $$ = yy.Node('VariableDeclaration',"let", [yy.Node('VariableDeclarator',$2, $3, yy.loc([@2, @3]))], yy.loc([@1,@3])) } ; ExprOpt : { $$ = null } | Expr ; ExprNoInOpt : { $$ = null } | ExprNoIn ; YadaYadaStatement : YADAYADA ';' { $$ = yy.Node('YadaYadaStatement', yy.loc([@$, @2])); } ; ContinueStatement : CONTINUE ';' { $$ = yy.Node('ContinueStatement', null, yy.loc([@$, @2])); } | CONTINUE error { $$ = yy.Node('ContinueStatement', null, yy.loc([@$, ASIloc(@1)])); } | CONTINUE IDENT ';' { $$ = yy.Node('ContinueStatement', yy.Node('Identifier', $2, yy.loc(@2)), yy.loc([@$, @3])); } | CONTINUE IDENT error { errorLoc($3, @$, @2, @3); $$ = yy.Node('ContinueStatement', yy.Node('Identifier', $2, yy.loc(@2)), yy.loc(@$)); } ; BreakStatement : BREAK ';' { $$ = yy.Node('BreakStatement', null, yy.loc([@$, @2])); } | BREAK error { $$ = yy.Node('BreakStatement', null, yy.loc([@$, ASIloc(@1)])); } | BREAK IDENT ';' { $$ = yy.Node('BreakStatement', yy.Node('Identifier', $2, yy.loc(@2)), yy.loc([@$, @3])); } | BREAK IDENT error { errorLoc($3, @$, @2, @3); $$ = yy.Node('BreakStatement', yy.Node('Identifier', $2, yy.loc(@2)), yy.loc(@$)); } ; ReturnStatement : RETURN ';' { $$ = yy.Node('ReturnStatement', null, yy.loc([@$, @2])); } | RETURN error { $$ = yy.Node('ReturnStatement', null, yy.loc(ASIloc(@1))); } | RETURN Expr ';' { $$ = yy.Node('ReturnStatement', $2, yy.loc([@$, @3])); } | RETURN Expr error { $$ = yy.Node('ReturnStatement', $2, yy.loc([@$, ASIloc(@2)])); } | RETURN UNLESS Expr ';' { $$ = yy.Node('IfStatement', yy.Node('UnaryExpression', '!', $3, true, yy.loc(@2)), yy.Node('ReturnStatement', null, yy.loc(@$)), null, yy.loc([@$, @4])); } | RETURN Expr UNLESS Expr ';' { $$ = yy.Node('IfStatement', yy.Node('UnaryExpression', '!', $4, true, yy.loc(@2)), yy.Node('ReturnStatement', $2, yy.loc([@$, @2])), null, yy.loc([@$, @5])); } | RETURN IF Expr ';' { $$ = yy.Node('IfStatement', $3, yy.Node('ReturnStatement', null, yy.loc(@$)), null, yy.loc([@$, @4])); } | RETURN Expr IF Expr ';' { $$ = yy.Node('IfStatement', $4, yy.Node('ReturnStatement', $2, yy.loc([@$, @2])), null, yy.loc([@$, @5])); } ; SwitchStatement : SWITCH '(' Expr ')' CaseBlock { $$ = yy.Node('SwitchStatement', $Expr, $CaseBlock, false, yy.loc([@$, @5])); } ; CaseBlock : OPENBRACE CaseClausesOpt CLOSEBRACE { $$ = $2; yy.locComb(@$,@3) } | OPENBRACE CaseClausesOpt DefaultClause CaseClausesOpt CLOSEBRACE { $2.push($DefaultClause); $$ = $2.concat($CaseClausesOpt2); yy.locComb(@$,@5) } ; CaseClausesOpt : { $$ = []; } | CaseClauses ; CaseClauses : CaseClause { $$ = [$1]; } | CaseClauses CaseClause { $1.push($2); $$ = $1; yy.locComb(@1, @2); } ; CaseClause : CASE Expr ':' { $$ = yy.Node('SwitchCase',$Expr,[], yy.loc([@$,@3])); } | CASE Expr ':' SourceElements { $$ = yy.Node('SwitchCase',$Expr,$4, yy.loc([@$,@4])); } ; DefaultClause : DEFAULT ':' { $$ = yy.Node('SwitchCase',null,[], yy.loc([@$,@2])); } | DEFAULT ':' SourceElements { $$ = yy.Node('SwitchCase',null,$3, yy.loc([@$,@3])); } ; LabeledStatement : IDENT ':' Statement { $$ = yy.Node('LabeledStatement',yy.Node('Identifier', $1,yy.loc(@1)),$3, yy.loc([@$,@3])); } ; ThrowStatement : THROW Expr ';' { $$ = yy.Node('ThrowStatement', $Expr, yy.loc([@$,@3])); } | THROW Expr error { errorLoc($3, @$, @2, @3); $$ = yy.Node('ThrowStatement', $Expr, yy.loc(@$)); } ; TryStatement : TRY Block FINALLY Block { $$ = yy.Node('TryStatement', $Block1, null, $Block2, yy.loc([@$,@4])); } | TRY Block CATCH '(' IDENT ')' Block { $$ = yy.Node('TryStatement', $Block1, [yy.Node('CatchClause',yy.Node('Identifier', $5,yy.loc(@5)),null, $Block2, yy.loc([@3,@7]))], null, yy.loc([@$,@7])); } | TRY Block CATCH '(' IDENT ')' Block FINALLY Block { $$ = yy.Node('TryStatement', $Block1, [yy.Node('CatchClause',yy.Node('Identifier', $5,yy.loc(@5)),null, $Block2, yy.loc([@3,@7]))], $Block3, yy.loc([@$,@9])); } ; DebuggerStatement : DEBUGGER ';' { $$ = yy.Node('DebuggerStatement', yy.loc([@$,@2])); } | DEBUGGER error { $$ = yy.Node('DebuggerStatement', yy.loc([@$, ASIloc(@1)])); } ; DecoratedFunction : '@' CallExprDotOnly ':' FunctionDeclaration { $$ = yy.Node('DecoratedStatement', $2, $4, yy.loc([@$, @4])); } | '@' MemberExprDotOnly ':' FunctionDeclaration { $$ = yy.Node('DecoratedStatement', $2, $4, yy.loc([@$, @4])); } | '@' CallExprDotOnly ':' DecoratedFunction { $$ = yy.Node('DecoratedStatement', $2, $4, yy.loc([@$, @4])); } | '@' MemberExprDotOnly ':' DecoratedFunction { $$ = yy.Node('DecoratedStatement', $2, $4, yy.loc([@$, @4])); } ; FunctionStart : FUNCTIONSTAR { $$ = true; } | FUNCTION { $$ = false; } ; FunctionDeclaration : FunctionStart MemberExprDotOnly '(' ')' Block { $$ = yy.Node('FunctionDeclaration', $MemberExprDotOnly, [], $Block, $FunctionStart, false, yy.isLater, yy.loc([@$,@5])); yy.isLater = false; } | FunctionStart MemberExprDotOnly '(' FormalParameterList ')' Block { $$ = yy.Node('FunctionDeclaration', $MemberExprDotOnly, $FormalParameterList, $Block, $FunctionStart, false, yy.isLater, yy.loc([@$,@6])); yy.isLater = false; } ; FunctionExpr : FunctionStart '(' ')' Block { $$ = yy.Node('FunctionExpression', null, [], $Block, $FunctionStart, false, yy.isLater, yy.loc([@$,@4])); yy.isLater = false; } | FunctionStart '(' FormalParameterList ')' Block { $$ = yy.Node('FunctionExpression', null, $FormalParameterList, $Block, $FunctionStart, false, yy.isLater, yy.loc([@$,@5])); yy.isLater = false; } | FunctionStart IDENT '(' ')' Block { $$ = yy.Node('FunctionExpression', yy.Node('Identifier', $2,yy.loc(@2)), [], $Block, $FunctionStart, false, yy.isLater, yy.loc([@$,@5])); yy.isLater = false; } | FunctionStart IDENT '(' FormalParameterList ')' Block { $$ = yy.Node('FunctionExpression', yy.Node('Identifier', $2,yy.loc(@2)), $FormalParameterList, $Block, $FunctionStart, false, yy.isLater, yy.loc([@$,@6])); yy.isLater = false; } ; FormalParameterList : IDENT { $$ = [yy.Node('Identifier', $1, yy.loc(@1))]; } | Pattern { $$ = [$1]; } | FormalParameterList ',' IDENT { $$ = $1; $$.push(yy.Node('Identifier', $3,yy.loc(@3))); yy.locComb(@$, @3); } | FormalParameterList ',' Pattern { $$ = $1; $$.push($3); yy.locComb(@$, @3); } ; FunctionBody : { $$ = []; } | SourceElements ; Program : { var prog = yy.Node('Program', [], { end: {column: 0, line: 0}, start: {column: 0, line: 0}, }); prog.tokens = yy.tokens; prog.range = [0,0]; return prog; } | SourceElements { var prog = yy.Node('Program',$1,yy.loc(@1)); if (yy.tokens.length) prog.tokens = yy.tokens; if (yy.comments.length) prog.comments = yy.comments; if (prog.loc) prog.range = rangeBlock($1); return prog; } ; SourceElements : SourceElement { $$ = [$1]; } | SourceElements SourceElement { yy.locComb(@$,@2); $$ = $1;$1.push($2); } ; SourceElement : LetStatement | ConstStatement | Statement ; %% function rangeBlock (arr) { try { var ret = arr.length > 2 ? [arr[0].range[0], arr[arr.length-1].range[1]] : arr[0].range; } catch(e) { console.error('range error: '+e,'??', arr); } return ret; } function range (a, b) { return [a.range[0], b.range[1]]; } function ASIloc (loc) { loc.last_column+=1; loc.range[1]=loc.range[1]+1; return loc; } function errorLoc (token, loc1, loc2, loc3) { if (token.length) { loc1.last_column = loc3.first_column; loc1.range[1] = loc3.range[0]; } else { loc1.last_line = loc2.last_line; loc1.last_column = loc2.last_column; loc1.range = [loc1.range[0], loc2.range[1]]; } } function parseNum (num) { return Number(num); } function parseString (str) { return str .replace(/\\(u[a-fA-F0-9]{4}|x[a-fA-F0-9]{2})/g, function (match, hex) { return String.fromCharCode(parseInt(hex.slice(1), 16)); }) .replace(/\\([0-3]?[0-7]{1,2})/g, function (match, oct) { return String.fromCharCode(parseInt(oct, 8)); }) .replace(/\\0[^0-9]?/g,'\u0000') .replace(/\\(?:\r\n?|\n)/g,'') .replace(/\\n/g,'\n') .replace(/\\r/g,'\r') .replace(/\\t/g,'\t') .replace(/\\v/g,'\v') .replace(/\\f/g,'\f') .replace(/\\b/g,'\b') .replace(/\\(.)/g, "$1"); }
34.536222
143
0.527402
e774e431d371295584a6fabb5038ded3cd3d6d98
1,194
y
Yacc
C/bison/Parser.y
Catamondium/scratch
c67dc76e11a66fc5cf0fe142f161791223ca6861
[ "Unlicense" ]
null
null
null
C/bison/Parser.y
Catamondium/scratch
c67dc76e11a66fc5cf0fe142f161791223ca6861
[ "Unlicense" ]
null
null
null
C/bison/Parser.y
Catamondium/scratch
c67dc76e11a66fc5cf0fe142f161791223ca6861
[ "Unlicense" ]
null
null
null
%{ /* * Parser.y file * To generate the parser run: "bison Parser.y" */ #include "Expression.h" #include "Parser.h" #include "Lexer.h" static int yyerror(SExpression **expression, yyscan_t scanner, const char *msg) { /* Add error handling routine as needed */ } %} %code requires { typedef void* yyscan_t; } %output "Parser.c" %defines "Parser.h" %define api.pure %lex-param { yyscan_t scanner } %parse-param { SExpression **expression } %parse-param { yyscan_t scanner } %union { int value; SExpression *expression; } %token TOKEN_LPAREN "(" %token TOKEN_RPAREN ")" %token TOKEN_PLUS "+" %token TOKEN_STAR "*" %token <value> TOKEN_NUMBER "number" %type <expression> expr /* Precedence (increasing) and associativity: a+b+c is (a+b)+c: left associativity a+b*c is a+(b*c): the precedence of "*" is higher than that of "+". */ %left "+" %left "*" %% input : expr { *expression = $1; } ; expr : expr[L] "+" expr[R] { $$ = createOperation( eADD, $L, $R ); } | expr[L] "*" expr[R] { $$ = createOperation( eMULTIPLY, $L, $R ); } | "(" expr[E] ")" { $$ = $E; } | "number" { $$ = createNumber($1); } ; %%
18.952381
81
0.590452
37038e7a061f3b02f02bf23079804b288b2f7cbe
1,685
yy
Yacc
views/dde1b85a-4da2-4ddd-9f3a-5de5d0c0badf.yy
harambert/unlucid
8b8abd5f5b287a527e264d4b396e0dfef673f25b
[ "MIT" ]
1
2021-03-13T20:38:17.000Z
2021-03-13T20:38:17.000Z
views/dde1b85a-4da2-4ddd-9f3a-5de5d0c0badf.yy
harambert/unlucid
8b8abd5f5b287a527e264d4b396e0dfef673f25b
[ "MIT" ]
null
null
null
views/dde1b85a-4da2-4ddd-9f3a-5de5d0c0badf.yy
harambert/unlucid
8b8abd5f5b287a527e264d4b396e0dfef673f25b
[ "MIT" ]
1
2021-03-13T20:37:54.000Z
2021-03-13T20:37:54.000Z
{ "id": "dde1b85a-4da2-4ddd-9f3a-5de5d0c0badf", "modelName": "GMFolder", "mvc": "1.1", "name": "dde1b85a-4da2-4ddd-9f3a-5de5d0c0badf", "children": [ "36521895-cf4d-4b5c-bd5b-6f4bb5e2249d", "b0f5e5e7-b80d-4353-aa89-140605b2499a", "b0bd3544-9243-4e52-addd-0e2c3f1c3bfe", "361e84f4-cab4-464b-ab09-f7fd281e6be0", "44824292-93da-411e-b411-9906382a77e6", "bbaa4530-ffb5-4681-bba8-654ec2123af1", "87218730-4ed0-4383-a1ba-9e2c6510994d", "0dfbf8cb-d567-483e-ac6a-0c0555321397", "fbf62809-d995-493a-a667-ea0ea289a72f", "58dc16bc-79e6-46cf-8387-6fe63a3cb2bc", "9d81e85b-9f8e-481f-926b-f9f6c0f9dc74", "80e25ea8-4c63-49a3-84c2-1f838028c186", "5927b1fe-bc1b-4a91-8305-111b179c39bd", "eff92e17-2032-49d1-a544-9aa2ae82d4b2", "6b1ca395-0ead-495a-93ff-75c3a227beac", "d9407a08-3a03-4700-a78b-f52424661e94", "0e58c61d-f5e3-4aa9-bccc-f9be44ab53a2", "1afbf14d-50c2-4da3-9a65-619617d26c6e", "9ff8dbb8-d45d-4259-8e75-99c994dc9397", "714bf872-4858-4044-9cd9-9e9b4fd5cb64", "dab10443-7977-4002-a525-9734bbdb44cb", "90fdf7d5-fa1f-4025-8ff3-ed623f15235e", "1bfa7ad6-2a24-4fd3-83be-b3832c5adfca", "596c50b5-2bec-46b5-99cf-64387dd4fe29", "ce38e9d6-c56b-426b-bb74-055d36b526ce", "0332010e-6063-42a0-8864-3e0ac346451d", "7cd1e0b4-f4fb-4141-b0aa-818d32b4fd1b", "70cf631a-17be-44b2-8dc8-d690e8ce4042", "e60efb7f-17cb-418c-b155-127d00ed4491" ], "filterType": "GMSprite", "folderName": "Enemies", "isDefaultView": false, "localisedFolderName": "" }
41.097561
51
0.652819
5aa14097f037ef017015dcaa79492182d0b33e4b
509
yy
Yacc
views/8db5fd1b-bfbc-40c8-8287-799ae232734b.yy
nicholmy/sonicgapremix
fab225ad49a14d7c3f0e1f3067aae39eaed8c97b
[ "MIT" ]
null
null
null
views/8db5fd1b-bfbc-40c8-8287-799ae232734b.yy
nicholmy/sonicgapremix
fab225ad49a14d7c3f0e1f3067aae39eaed8c97b
[ "MIT" ]
null
null
null
views/8db5fd1b-bfbc-40c8-8287-799ae232734b.yy
nicholmy/sonicgapremix
fab225ad49a14d7c3f0e1f3067aae39eaed8c97b
[ "MIT" ]
null
null
null
{ "id": "8db5fd1b-bfbc-40c8-8287-799ae232734b", "modelName": "GMFolder", "mvc": "1.1", "name": "8db5fd1b-bfbc-40c8-8287-799ae232734b", "children": [ "e0ac5d07-a62b-4521-927e-a79f8c4443ef", "b5feddc8-3d5a-48b9-928e-b34b697b6ca8", "75a763b1-5179-4a7d-93b1-2e07fad8f5c1", "dad8157e-67ed-43ee-93e0-9fbbff6cf1de" ], "filterType": "GMSprite", "folderName": "Breakable Column", "isDefaultView": false, "localisedFolderName": "" }
31.8125
52
0.605108
faf827b579ef88c20321a83a9337b00be6d6e09d
2,263
y
Yacc
dice.y
blabber/dice
12919360680d56cedff48d76be79e92b0d14645f
[ "0BSD" ]
null
null
null
dice.y
blabber/dice
12919360680d56cedff48d76be79e92b0d14645f
[ "0BSD" ]
null
null
null
dice.y
blabber/dice
12919360680d56cedff48d76be79e92b0d14645f
[ "0BSD" ]
null
null
null
%{ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <unistd.h> #include "dice.h" extern FILE *yyin; static int _roll(struct dice _d); #ifdef WITH_LIBEDIT #include <histedit.h> EditLine *el; History *hist; HistEvent hev; int is_interactive; static char *_prompt(EditLine *_el); #endif %} %token <dice> DICE %token <value> CONSTANT %type <value> expression %type <value> nonemptyexpr %type <value> value %union { struct dice dice; int value; } %left '+' '-' %left '*' '/' %start expressions %% expressions : /* empty */ { } | expressions expression ';' { printf("%d; ", $2); } | expressions expression lineend { printf("%d\n", $2); } | expressions error ';' { yyerrok; printf("<error>; "); } | expressions error lineend { yyerrok; printf("<error>\n"); } lineend : '\n' | '\0' expression : /* empty */ { $$ = 0; } | nonemptyexpr nonemptyexpr : nonemptyexpr '+' nonemptyexpr { $$ = $1 + $3; } | nonemptyexpr '-' nonemptyexpr { $$ = $1 - $3; } | nonemptyexpr '*' nonemptyexpr { $$ = $1 * $3; } | nonemptyexpr '/' nonemptyexpr { if ($3 == 0) { yyerror("div by zero"); $$ = 0; } else { $$ = $1 / $3; } } | '(' nonemptyexpr ')' { $$ = $2; } | value value : DICE { $$ = _roll($1); } | CONSTANT %% int main (int argc, char *argv[]) { (void) argc; (void) argv; yyin = stdin; #ifdef WITH_LIBEDIT is_interactive = isatty(STDIN_FILENO); if (is_interactive) { hist = history_init(); history(hist, &hev, H_SETSIZE, 100); history(hist, &hev, H_SETUNIQUE, 1); el = el_init(*argv, yyin, stdout, stderr); el_set(el, EL_HIST, history, hist); el_set(el, EL_EDITOR, "emacs"); el_set(el, EL_PROMPT, _prompt); } yywrap(); #endif srandomdev(); return (yyparse()); } void yyerror(const char *msg) { fprintf(stderr, "E: %s\n", msg); } static int _roll(struct dice d) { int s = 0; if (d.count == 0) { return (0); } if (d.sides == 0) { return (0); } for (int i = 0; i < d.count; i++) { int v = (random() % d.sides) + 1; s += v; } return (s); } #ifdef WITH_LIBEDIT char * _prompt(EditLine *el) { return ("dice > "); } #endif
13.005747
44
0.552364
544d3ee583281e037dfbb37d2bc81b8e86e500f3
214,992
yy
Yacc
fonts/fnt_free_pixel/fnt_free_pixel.yy
nkoeppel/Alex-the-Not-So-Great
4c1138c7642747ddb9a4dc03e0a256b9347cfc31
[ "MIT" ]
null
null
null
fonts/fnt_free_pixel/fnt_free_pixel.yy
nkoeppel/Alex-the-Not-So-Great
4c1138c7642747ddb9a4dc03e0a256b9347cfc31
[ "MIT" ]
null
null
null
fonts/fnt_free_pixel/fnt_free_pixel.yy
nkoeppel/Alex-the-Not-So-Great
4c1138c7642747ddb9a4dc03e0a256b9347cfc31
[ "MIT" ]
null
null
null
{ "id": "5d7dd24f-2754-4110-b09a-856815bb56e2", "modelName": "GMFont", "mvc": "1.0", "name": "fnt_free_pixel", "AntiAlias": 0, "TTFName": "${project_dir}\\fonts\\fnt_free_pixel\\FreePixel.ttf", "bold": false, "charset": 0, "first": 0, "fontName": "Free Pixel", "glyphs": [ { "Key": 32, "Value": { "id": "0b2acfbc-c9dc-4236-9c62-076c53ba1c94", "modelName": "GMGlyph", "mvc": "1.0", "character": 32, "h": 22, "offset": 0, "shift": 4, "w": 4, "x": 128, "y": 74 } }, { "Key": 33, "Value": { "id": "704e2aa2-3d9b-40eb-82c9-e21498b28b0c", "modelName": "GMGlyph", "mvc": "1.0", "character": 33, "h": 22, "offset": 1, "shift": 4, "w": 3, "x": 169, "y": 74 } }, { "Key": 34, "Value": { "id": "3926011b-4294-4920-b48c-4860b9ee9394", "modelName": "GMGlyph", "mvc": "1.0", "character": 34, "h": 22, "offset": 1, "shift": 6, "w": 5, "x": 100, "y": 74 } }, { "Key": 35, "Value": { "id": "609b4b46-1de7-48ba-be38-7e93bca5da31", "modelName": "GMGlyph", "mvc": "1.0", "character": 35, "h": 22, "offset": 0, "shift": 10, "w": 10, "x": 2, "y": 26 } }, { "Key": 36, "Value": { "id": "33ae7f7c-c1b0-45f4-aec3-86fd7321dc38", "modelName": "GMGlyph", "mvc": "1.0", "character": 36, "h": 22, "offset": 1, "shift": 9, "w": 8, "x": 122, "y": 50 } }, { "Key": 37, "Value": { "id": "490c0d38-c7e2-4c07-9424-44e408204de3", "modelName": "GMGlyph", "mvc": "1.0", "character": 37, "h": 22, "offset": 1, "shift": 13, "w": 13, "x": 50, "y": 2 } }, { "Key": 38, "Value": { "id": "1eee3adc-70ef-4c98-83e9-6e9690ade44a", "modelName": "GMGlyph", "mvc": "1.0", "character": 38, "h": 22, "offset": 1, "shift": 12, "w": 12, "x": 122, "y": 2 } }, { "Key": 39, "Value": { "id": "64c39273-7bb5-492a-bddc-b4acc9bb933a", "modelName": "GMGlyph", "mvc": "1.0", "character": 39, "h": 22, "offset": 1, "shift": 4, "w": 2, "x": 192, "y": 74 } }, { "Key": 40, "Value": { "id": "b87cba97-da14-4514-a337-30e1792fada8", "modelName": "GMGlyph", "mvc": "1.0", "character": 40, "h": 22, "offset": 1, "shift": 5, "w": 5, "x": 121, "y": 74 } }, { "Key": 41, "Value": { "id": "c1e3029c-6a74-4131-b75f-583f215221d8", "modelName": "GMGlyph", "mvc": "1.0", "character": 41, "h": 22, "offset": 0, "shift": 5, "w": 5, "x": 86, "y": 74 } }, { "Key": 42, "Value": { "id": "25f818eb-d0b0-475f-beb8-69f5f2fd3448", "modelName": "GMGlyph", "mvc": "1.0", "character": 42, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 57, "y": 50 } }, { "Key": 43, "Value": { "id": "62834b7a-f69d-4b84-b7d8-95c572c70fdb", "modelName": "GMGlyph", "mvc": "1.0", "character": 43, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 212, "y": 26 } }, { "Key": 44, "Value": { "id": "651ec46b-4132-4f8d-b6fa-83d66ef9f26c", "modelName": "GMGlyph", "mvc": "1.0", "character": 44, "h": 22, "offset": 1, "shift": 4, "w": 3, "x": 174, "y": 74 } }, { "Key": 45, "Value": { "id": "e1d08fa6-3390-41d3-8300-621e13ec7fdc", "modelName": "GMGlyph", "mvc": "1.0", "character": 45, "h": 22, "offset": 1, "shift": 5, "w": 5, "x": 93, "y": 74 } }, { "Key": 46, "Value": { "id": "200560bd-9ee5-41eb-875e-420bc783c761", "modelName": "GMGlyph", "mvc": "1.0", "character": 46, "h": 22, "offset": 1, "shift": 4, "w": 3, "x": 179, "y": 74 } }, { "Key": 47, "Value": { "id": "2f72b684-3077-4e5f-a673-c9837bf26b8b", "modelName": "GMGlyph", "mvc": "1.0", "character": 47, "h": 22, "offset": 0, "shift": 6, "w": 6, "x": 38, "y": 74 } }, { "Key": 48, "Value": { "id": "7bd9b4f2-a39e-4e80-958b-c2ab7c46aa33", "modelName": "GMGlyph", "mvc": "1.0", "character": 48, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 223, "y": 26 } }, { "Key": 49, "Value": { "id": "5d619adb-db45-4a9c-bcbd-b6490a58cfdf", "modelName": "GMGlyph", "mvc": "1.0", "character": 49, "h": 22, "offset": 1, "shift": 9, "w": 5, "x": 107, "y": 74 } }, { "Key": 50, "Value": { "id": "69e32f70-2511-4bab-aa6d-4948d5601d54", "modelName": "GMGlyph", "mvc": "1.0", "character": 50, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 234, "y": 26 } }, { "Key": 51, "Value": { "id": "0804569d-9f92-4ab7-8213-798d2b0d4aa3", "modelName": "GMGlyph", "mvc": "1.0", "character": 51, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 2, "y": 50 } }, { "Key": 52, "Value": { "id": "a5d98b53-4b42-44b2-b6db-8156e0f639ff", "modelName": "GMGlyph", "mvc": "1.0", "character": 52, "h": 22, "offset": 0, "shift": 9, "w": 9, "x": 13, "y": 50 } }, { "Key": 53, "Value": { "id": "3e7c7a1e-f282-42e5-a3f2-81ec76da47ce", "modelName": "GMGlyph", "mvc": "1.0", "character": 53, "h": 22, "offset": 1, "shift": 9, "w": 8, "x": 162, "y": 50 } }, { "Key": 54, "Value": { "id": "5df8c48f-980c-45ec-acac-a90c873856eb", "modelName": "GMGlyph", "mvc": "1.0", "character": 54, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 24, "y": 50 } }, { "Key": 55, "Value": { "id": "79477f65-69d7-4309-ba6b-a135a7d2e7b3", "modelName": "GMGlyph", "mvc": "1.0", "character": 55, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 35, "y": 50 } }, { "Key": 56, "Value": { "id": "ecd90a2d-838a-470d-8fef-4b3d5892c150", "modelName": "GMGlyph", "mvc": "1.0", "character": 56, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 46, "y": 50 } }, { "Key": 57, "Value": { "id": "6ed7be07-5c89-4edf-a2a0-ff832986e37a", "modelName": "GMGlyph", "mvc": "1.0", "character": 57, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 201, "y": 26 } }, { "Key": 58, "Value": { "id": "a4dcde84-d940-4113-ab0d-b50eb8da356f", "modelName": "GMGlyph", "mvc": "1.0", "character": 58, "h": 22, "offset": 1, "shift": 4, "w": 3, "x": 164, "y": 74 } }, { "Key": 59, "Value": { "id": "3e62544c-50ba-4525-af4f-8353423b946a", "modelName": "GMGlyph", "mvc": "1.0", "character": 59, "h": 22, "offset": 1, "shift": 4, "w": 4, "x": 134, "y": 74 } }, { "Key": 60, "Value": { "id": "62aa88d9-e26a-432c-89c0-767322379660", "modelName": "GMGlyph", "mvc": "1.0", "character": 60, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 90, "y": 50 } }, { "Key": 61, "Value": { "id": "6842010b-b74f-4dfa-86a5-39d13a7b45ed", "modelName": "GMGlyph", "mvc": "1.0", "character": 61, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 79, "y": 50 } }, { "Key": 62, "Value": { "id": "f6f845a5-3aa3-4b00-adae-1c1f886a5bd8", "modelName": "GMGlyph", "mvc": "1.0", "character": 62, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 101, "y": 50 } }, { "Key": 63, "Value": { "id": "bad759d8-3963-4cbe-bccb-9cbeed26cde3", "modelName": "GMGlyph", "mvc": "1.0", "character": 63, "h": 22, "offset": 0, "shift": 7, "w": 7, "x": 2, "y": 74 } }, { "Key": 64, "Value": { "id": "3d7af153-9587-4dfc-8352-7855ac0a7f92", "modelName": "GMGlyph", "mvc": "1.0", "character": 64, "h": 22, "offset": 1, "shift": 14, "w": 14, "x": 19, "y": 2 } }, { "Key": 65, "Value": { "id": "d674947a-b09e-43c7-811b-2c17988184fa", "modelName": "GMGlyph", "mvc": "1.0", "character": 65, "h": 22, "offset": 0, "shift": 10, "w": 11, "x": 149, "y": 2 } }, { "Key": 66, "Value": { "id": "0d3b388a-daca-49ce-b203-caea0a8e972b", "modelName": "GMGlyph", "mvc": "1.0", "character": 66, "h": 22, "offset": 2, "shift": 10, "w": 9, "x": 68, "y": 50 } }, { "Key": 67, "Value": { "id": "876c0aeb-d3ce-4afc-8519-95f928e2003b", "modelName": "GMGlyph", "mvc": "1.0", "character": 67, "h": 22, "offset": 1, "shift": 10, "w": 10, "x": 234, "y": 2 } }, { "Key": 68, "Value": { "id": "35813713-3610-4965-af60-6340bd9534be", "modelName": "GMGlyph", "mvc": "1.0", "character": 68, "h": 22, "offset": 2, "shift": 12, "w": 10, "x": 210, "y": 2 } }, { "Key": 69, "Value": { "id": "44b45266-79f7-487c-a2dc-4cd083491162", "modelName": "GMGlyph", "mvc": "1.0", "character": 69, "h": 22, "offset": 2, "shift": 9, "w": 7, "x": 11, "y": 74 } }, { "Key": 70, "Value": { "id": "d0692754-ddb5-4475-868d-840fb915de3a", "modelName": "GMGlyph", "mvc": "1.0", "character": 70, "h": 22, "offset": 2, "shift": 8, "w": 7, "x": 20, "y": 74 } }, { "Key": 71, "Value": { "id": "a35a0f95-18c3-40f0-9c92-c59e760d5eb3", "modelName": "GMGlyph", "mvc": "1.0", "character": 71, "h": 22, "offset": 1, "shift": 12, "w": 11, "x": 136, "y": 2 } }, { "Key": 72, "Value": { "id": "d0d40898-e9c8-415c-95a2-d50bd4d5c5bd", "modelName": "GMGlyph", "mvc": "1.0", "character": 72, "h": 22, "offset": 2, "shift": 12, "w": 10, "x": 222, "y": 2 } }, { "Key": 73, "Value": { "id": "c0288987-e040-4540-b903-f0497f901102", "modelName": "GMGlyph", "mvc": "1.0", "character": 73, "h": 22, "offset": 2, "shift": 4, "w": 2, "x": 188, "y": 74 } }, { "Key": 74, "Value": { "id": "0cd8a3ca-f8aa-4b5f-b716-c9ebc2c9f252", "modelName": "GMGlyph", "mvc": "1.0", "character": 74, "h": 22, "offset": -1, "shift": 4, "w": 5, "x": 114, "y": 74 } }, { "Key": 75, "Value": { "id": "f5ef2186-b40c-4377-8e03-31930c20b09e", "modelName": "GMGlyph", "mvc": "1.0", "character": 75, "h": 22, "offset": 2, "shift": 10, "w": 9, "x": 58, "y": 26 } }, { "Key": 76, "Value": { "id": "0cfd5a57-66e2-4875-8acb-1e1522c4a291", "modelName": "GMGlyph", "mvc": "1.0", "character": 76, "h": 22, "offset": 2, "shift": 8, "w": 7, "x": 29, "y": 74 } }, { "Key": 77, "Value": { "id": "593945e6-c39b-4295-9fac-e045f5e1d97e", "modelName": "GMGlyph", "mvc": "1.0", "character": 77, "h": 22, "offset": 2, "shift": 14, "w": 12, "x": 108, "y": 2 } }, { "Key": 78, "Value": { "id": "5f817b12-8ddb-42f6-a523-9857ba06060a", "modelName": "GMGlyph", "mvc": "1.0", "character": 78, "h": 22, "offset": 2, "shift": 12, "w": 10, "x": 174, "y": 2 } }, { "Key": 79, "Value": { "id": "ec2628be-fe8f-4f2d-a786-b508fc7b12f7", "modelName": "GMGlyph", "mvc": "1.0", "character": 79, "h": 22, "offset": 1, "shift": 12, "w": 12, "x": 80, "y": 2 } }, { "Key": 80, "Value": { "id": "33b14e85-ceb6-49fe-b27a-8914f7245cc5", "modelName": "GMGlyph", "mvc": "1.0", "character": 80, "h": 22, "offset": 2, "shift": 10, "w": 8, "x": 192, "y": 50 } }, { "Key": 81, "Value": { "id": "83633f03-a989-4279-8034-a5d8b5fc3a08", "modelName": "GMGlyph", "mvc": "1.0", "character": 81, "h": 22, "offset": 1, "shift": 12, "w": 12, "x": 94, "y": 2 } }, { "Key": 82, "Value": { "id": "fec62ccc-2c70-480e-a519-09dc11b0a4bf", "modelName": "GMGlyph", "mvc": "1.0", "character": 82, "h": 22, "offset": 2, "shift": 10, "w": 9, "x": 102, "y": 26 } }, { "Key": 83, "Value": { "id": "6eb66fda-0517-4376-800f-f3f4a52fc445", "modelName": "GMGlyph", "mvc": "1.0", "character": 83, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 113, "y": 26 } }, { "Key": 84, "Value": { "id": "7c359309-05e0-49cf-8592-71aef604a9a0", "modelName": "GMGlyph", "mvc": "1.0", "character": 84, "h": 22, "offset": 0, "shift": 9, "w": 9, "x": 124, "y": 26 } }, { "Key": 85, "Value": { "id": "88b3fcfb-ebb6-4aa3-ab8a-7014d2b8fbbf", "modelName": "GMGlyph", "mvc": "1.0", "character": 85, "h": 22, "offset": 1, "shift": 12, "w": 10, "x": 186, "y": 2 } }, { "Key": 86, "Value": { "id": "95f3792f-a223-4353-96c2-efcace257d4e", "modelName": "GMGlyph", "mvc": "1.0", "character": 86, "h": 22, "offset": 0, "shift": 10, "w": 10, "x": 198, "y": 2 } }, { "Key": 87, "Value": { "id": "492d710d-2992-4ba2-9bd0-edbac0cb6788", "modelName": "GMGlyph", "mvc": "1.0", "character": 87, "h": 22, "offset": 0, "shift": 15, "w": 15, "x": 2, "y": 2 } }, { "Key": 88, "Value": { "id": "23352069-e914-429d-9791-89a1bed5978a", "modelName": "GMGlyph", "mvc": "1.0", "character": 88, "h": 22, "offset": 0, "shift": 9, "w": 10, "x": 162, "y": 2 } }, { "Key": 89, "Value": { "id": "ffffe053-aeba-4ad7-b536-0bfd80d27d91", "modelName": "GMGlyph", "mvc": "1.0", "character": 89, "h": 22, "offset": 0, "shift": 9, "w": 9, "x": 179, "y": 26 } }, { "Key": 90, "Value": { "id": "aba67fcf-32e3-4a66-a550-1f4cf4db586a", "modelName": "GMGlyph", "mvc": "1.0", "character": 90, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 80, "y": 26 } }, { "Key": 91, "Value": { "id": "3a0d0e32-380a-4055-bdff-5b9e7d069a31", "modelName": "GMGlyph", "mvc": "1.0", "character": 91, "h": 22, "offset": 1, "shift": 5, "w": 4, "x": 146, "y": 74 } }, { "Key": 92, "Value": { "id": "716fd0dd-9bd5-49ee-949e-db1c01977644", "modelName": "GMGlyph", "mvc": "1.0", "character": 92, "h": 22, "offset": 0, "shift": 6, "w": 6, "x": 54, "y": 74 } }, { "Key": 93, "Value": { "id": "ee735e61-cd28-4e61-a31b-4293d412c9c5", "modelName": "GMGlyph", "mvc": "1.0", "character": 93, "h": 22, "offset": 0, "shift": 5, "w": 4, "x": 152, "y": 74 } }, { "Key": 94, "Value": { "id": "b2aef1f7-1dbe-49cc-80f7-acc1d23c0801", "modelName": "GMGlyph", "mvc": "1.0", "character": 94, "h": 22, "offset": 0, "shift": 9, "w": 9, "x": 14, "y": 26 } }, { "Key": 95, "Value": { "id": "4515d70d-bfd6-4b8d-9c0b-37ec5b548da4", "modelName": "GMGlyph", "mvc": "1.0", "character": 95, "h": 22, "offset": 0, "shift": 7, "w": 9, "x": 157, "y": 26 } }, { "Key": 96, "Value": { "id": "aaee74b3-a036-4003-a40a-5d3075c24baa", "modelName": "GMGlyph", "mvc": "1.0", "character": 96, "h": 22, "offset": 3, "shift": 9, "w": 4, "x": 158, "y": 74 } }, { "Key": 97, "Value": { "id": "5f780745-5001-4f87-850e-f2e38b910608", "modelName": "GMGlyph", "mvc": "1.0", "character": 97, "h": 22, "offset": 1, "shift": 9, "w": 8, "x": 212, "y": 50 } }, { "Key": 98, "Value": { "id": "65677e7d-60d4-4a04-8dbc-1f1f0727ae79", "modelName": "GMGlyph", "mvc": "1.0", "character": 98, "h": 22, "offset": 1, "shift": 10, "w": 8, "x": 182, "y": 50 } }, { "Key": 99, "Value": { "id": "78afbd10-7ceb-43db-93a9-365473af6b24", "modelName": "GMGlyph", "mvc": "1.0", "character": 99, "h": 22, "offset": 1, "shift": 8, "w": 8, "x": 112, "y": 50 } }, { "Key": 100, "Value": { "id": "77e23bcc-3269-48be-93e5-2824ee4e8680", "modelName": "GMGlyph", "mvc": "1.0", "character": 100, "h": 22, "offset": 1, "shift": 10, "w": 9, "x": 146, "y": 26 } }, { "Key": 101, "Value": { "id": "f8a24bf5-ec17-479d-9998-315b115a15d0", "modelName": "GMGlyph", "mvc": "1.0", "character": 101, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 135, "y": 26 } }, { "Key": 102, "Value": { "id": "895558b6-d02e-40a5-92d0-a0b18c67c64a", "modelName": "GMGlyph", "mvc": "1.0", "character": 102, "h": 22, "offset": 0, "shift": 5, "w": 7, "x": 240, "y": 50 } }, { "Key": 103, "Value": { "id": "4195d548-4339-4041-8251-904a75db8daf", "modelName": "GMGlyph", "mvc": "1.0", "character": 103, "h": 22, "offset": 0, "shift": 9, "w": 9, "x": 168, "y": 26 } }, { "Key": 104, "Value": { "id": "2eaa88aa-d75a-406e-9545-51ccf93dfde4", "modelName": "GMGlyph", "mvc": "1.0", "character": 104, "h": 22, "offset": 1, "shift": 10, "w": 8, "x": 132, "y": 50 } }, { "Key": 105, "Value": { "id": "d87dade9-32a3-4205-a8f5-29ba9c803ad2", "modelName": "GMGlyph", "mvc": "1.0", "character": 105, "h": 22, "offset": 1, "shift": 4, "w": 2, "x": 196, "y": 74 } }, { "Key": 106, "Value": { "id": "e17d8edd-8f78-4077-9391-5a6670201ff3", "modelName": "GMGlyph", "mvc": "1.0", "character": 106, "h": 22, "offset": -1, "shift": 4, "w": 4, "x": 140, "y": 74 } }, { "Key": 107, "Value": { "id": "989ac581-6d22-43c0-b73c-a4eb30bada06", "modelName": "GMGlyph", "mvc": "1.0", "character": 107, "h": 22, "offset": 1, "shift": 8, "w": 8, "x": 152, "y": 50 } }, { "Key": 108, "Value": { "id": "fc571e9c-7c30-4c81-bc15-1a8f6af8b5a1", "modelName": "GMGlyph", "mvc": "1.0", "character": 108, "h": 22, "offset": 1, "shift": 4, "w": 2, "x": 184, "y": 74 } }, { "Key": 109, "Value": { "id": "44737e2a-364b-4dc1-a128-7fedfa405e91", "modelName": "GMGlyph", "mvc": "1.0", "character": 109, "h": 22, "offset": 1, "shift": 15, "w": 13, "x": 65, "y": 2 } }, { "Key": 110, "Value": { "id": "8729470a-0396-49e4-9016-569f62740073", "modelName": "GMGlyph", "mvc": "1.0", "character": 110, "h": 22, "offset": 1, "shift": 10, "w": 8, "x": 142, "y": 50 } }, { "Key": 111, "Value": { "id": "420fea29-c317-40a0-9606-4d6baab4cb14", "modelName": "GMGlyph", "mvc": "1.0", "character": 111, "h": 22, "offset": 1, "shift": 10, "w": 9, "x": 91, "y": 26 } }, { "Key": 112, "Value": { "id": "4e3104ca-bdbb-4874-8108-eb4665ad32d7", "modelName": "GMGlyph", "mvc": "1.0", "character": 112, "h": 22, "offset": 1, "shift": 10, "w": 8, "x": 172, "y": 50 } }, { "Key": 113, "Value": { "id": "e22907dc-681a-4f2f-b3e9-cb1e68647e4a", "modelName": "GMGlyph", "mvc": "1.0", "character": 113, "h": 22, "offset": 1, "shift": 10, "w": 9, "x": 69, "y": 26 } }, { "Key": 114, "Value": { "id": "286495f9-5b7c-4814-9132-82577ea5fb12", "modelName": "GMGlyph", "mvc": "1.0", "character": 114, "h": 22, "offset": 1, "shift": 7, "w": 6, "x": 78, "y": 74 } }, { "Key": 115, "Value": { "id": "43fd93d6-cbb7-45f5-bfa2-9667ed9652dd", "modelName": "GMGlyph", "mvc": "1.0", "character": 115, "h": 22, "offset": 1, "shift": 8, "w": 7, "x": 222, "y": 50 } }, { "Key": 116, "Value": { "id": "39c0dfb5-4871-4f8d-9a98-923041c44041", "modelName": "GMGlyph", "mvc": "1.0", "character": 116, "h": 22, "offset": 0, "shift": 6, "w": 6, "x": 62, "y": 74 } }, { "Key": 117, "Value": { "id": "2c384bd7-2f1a-4bab-be06-dd18f2ca8e67", "modelName": "GMGlyph", "mvc": "1.0", "character": 117, "h": 22, "offset": 1, "shift": 10, "w": 8, "x": 202, "y": 50 } }, { "Key": 118, "Value": { "id": "a9ec72b0-77ca-4e41-8306-3482dd489087", "modelName": "GMGlyph", "mvc": "1.0", "character": 118, "h": 22, "offset": 0, "shift": 8, "w": 9, "x": 47, "y": 26 } }, { "Key": 119, "Value": { "id": "f11006bc-4984-42c8-ae0f-619a9613375b", "modelName": "GMGlyph", "mvc": "1.0", "character": 119, "h": 22, "offset": 0, "shift": 12, "w": 13, "x": 35, "y": 2 } }, { "Key": 120, "Value": { "id": "7f9a18ce-fbf5-4874-be30-1b36d26aaaf6", "modelName": "GMGlyph", "mvc": "1.0", "character": 120, "h": 22, "offset": 0, "shift": 8, "w": 9, "x": 36, "y": 26 } }, { "Key": 121, "Value": { "id": "c16c5fd1-be42-4f3f-b632-1e1339eda620", "modelName": "GMGlyph", "mvc": "1.0", "character": 121, "h": 22, "offset": 0, "shift": 8, "w": 9, "x": 25, "y": 26 } }, { "Key": 122, "Value": { "id": "25288511-fee0-490f-8484-e8330271a8a3", "modelName": "GMGlyph", "mvc": "1.0", "character": 122, "h": 22, "offset": 1, "shift": 7, "w": 7, "x": 231, "y": 50 } }, { "Key": 123, "Value": { "id": "d02c8a8f-5c5e-49f9-afc5-c0877fb517d4", "modelName": "GMGlyph", "mvc": "1.0", "character": 123, "h": 22, "offset": 0, "shift": 6, "w": 6, "x": 46, "y": 74 } }, { "Key": 124, "Value": { "id": "95543395-d954-4c1a-a6cf-2bc39bc9d50a", "modelName": "GMGlyph", "mvc": "1.0", "character": 124, "h": 22, "offset": 4, "shift": 9, "w": 2, "x": 200, "y": 74 } }, { "Key": 125, "Value": { "id": "b3e84fd4-bebd-46c0-9949-16bf0aa1a0e0", "modelName": "GMGlyph", "mvc": "1.0", "character": 125, "h": 22, "offset": 1, "shift": 6, "w": 6, "x": 70, "y": 74 } }, { "Key": 126, "Value": { "id": "4372c037-f457-441d-84e8-d91f3717cec7", "modelName": "GMGlyph", "mvc": "1.0", "character": 126, "h": 22, "offset": 1, "shift": 9, "w": 9, "x": 190, "y": 26 } } ], "image": null, "includeTTF": true, "italic": false, "kerningPairs": [ { "id": "532e7492-17d0-4a0f-8ba4-55fbeb8bc6f9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 65 }, { "id": "e9441368-308c-4953-9b14-465e1b86a7da", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 99 }, { "id": "fcebdd90-ff3f-4d3c-888c-d0ce28a70ad3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 100 }, { "id": "ef5f79ab-86f7-4d0b-946c-57e1ac3244b4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 101 }, { "id": "3af339eb-3979-4e0a-947d-b31e77e54fe5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 111 }, { "id": "1e4d70a3-f586-4f66-9c54-f72a02be3ccf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 113 }, { "id": "d09c516b-c978-4811-b976-35cba93b8a7b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 192 }, { "id": "fff4f44d-a439-495d-a4eb-3b17d2a71876", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 193 }, { "id": "8b01c29a-834b-4ae8-a5bc-b2a617affd83", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 194 }, { "id": "0e1f765f-ad55-402e-a745-34d8db44e90b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 195 }, { "id": "c6b41aff-2bb6-437d-b6da-453f4c095051", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 196 }, { "id": "0f1a25c5-5a27-4d59-a1e7-b476018aedd7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 197 }, { "id": "ccc19f36-7f09-4c9c-91ad-665d5ee62f43", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 224 }, { "id": "4322afcb-7a0c-4f49-a515-8e1ae476c5a9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 231 }, { "id": "0c873464-2919-48c2-a47b-97c2e81dfdf6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 232 }, { "id": "555b49cc-e760-4546-ba6b-287bc0fa5321", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 233 }, { "id": "3cacf850-9006-491d-ae05-1fba4439b5d4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 234 }, { "id": "a9c13a30-4b13-4bcb-b45a-9ebbd1187543", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 235 }, { "id": "a5e4b322-38b7-4858-922a-6f8de1ce365d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 242 }, { "id": "7004455f-93d8-41d1-8a4f-20ba6f3e4fc2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 243 }, { "id": "ab38413c-dec7-4180-bcf3-257e521ca939", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 244 }, { "id": "5c91a5bf-abe7-44f8-ab0a-05fa5b20b952", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 245 }, { "id": "8195102b-c0f9-426c-bd98-2da45b765305", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 246 }, { "id": "529b0fa2-ec6f-46cb-89c5-722230051b2e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 248 }, { "id": "3ca1b3d9-9eab-4a0a-bc19-7e0c80df6049", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 256 }, { "id": "1fdf5320-388a-4de2-8450-e0c9fd62ccf1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 258 }, { "id": "408250c1-6398-46c3-9c5a-e5a420d455c7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 260 }, { "id": "d95cf4eb-dfc0-4235-9540-5321171a9cb2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 263 }, { "id": "e35ec825-932a-40a9-8cfc-ee63dc0e696e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 265 }, { "id": "fd93b23a-1c8e-4d19-90ec-b44df3f8ad0b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 267 }, { "id": "f69a081a-4f71-459c-b9cd-d7fd8bda0fd3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 269 }, { "id": "5f8a7b1f-610b-40ac-baa1-3c6c1496c306", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 271 }, { "id": "724bc4a5-f8c4-468b-99c1-6adff5384751", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 273 }, { "id": "643a9f7f-1968-42ed-9895-127e934b373d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 275 }, { "id": "38edc031-e00e-45ae-b113-94fe86230265", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 277 }, { "id": "682a0054-43ae-4d2f-acab-67605ae2e78b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 279 }, { "id": "ab8c8523-2b03-4425-931b-81ec187b3c4f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 281 }, { "id": "d2a0d38e-3a4d-4b0b-8b84-f9dcdc8c66bf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 283 }, { "id": "7dc4d4ca-9790-4aba-bb75-c3694e1d1032", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 333 }, { "id": "c0ea1f70-22a8-4b52-88e9-ab49fc785443", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 335 }, { "id": "9aedc056-4f21-4f68-83af-89657610657c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 337 }, { "id": "7118d7df-d658-4a6e-95c2-cc1f888dc1ff", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 339 }, { "id": "47a0d929-ad52-4725-b7c4-3ff107b1b22d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 417 }, { "id": "2714d26c-4f22-402e-8f03-dae500ffd709", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 506 }, { "id": "bbf183fc-9a76-45a2-b070-81bac9d8c6b3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 511 }, { "id": "c10b946a-a231-4ff2-ab17-79a8b78158bf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 902 }, { "id": "9ce7c637-531c-4c73-9e82-f366991fc041", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 913 }, { "id": "1a9659b1-026d-43e0-a632-8d5f0d9ef502", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 916 }, { "id": "9202522a-b209-488b-ad33-eab25f3a829c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 923 }, { "id": "98ff089f-fe4c-44f5-a429-b4142caf13e8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1033 }, { "id": "c2497214-dd58-4818-b1d7-6b4f1b557f8d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1040 }, { "id": "b4659207-6d52-4b54-8185-1da64afacd8f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1044 }, { "id": "5be99c9f-c6c8-4389-bfb7-6529fe0f3674", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1051 }, { "id": "7c458f13-6389-499e-89e5-8136a071bc0c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1076 }, { "id": "aa59d666-81c5-4b1c-b0d0-222b482f162f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1077 }, { "id": "2ade4fb4-b019-4779-a877-98ef5c8a704b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1083 }, { "id": "d65b32cb-17d9-4fc2-9340-56ae0076dbca", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1086 }, { "id": "60ee1c1a-a324-4504-8300-4e2b8c91f4e2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1089 }, { "id": "1ce1ec83-e55f-4e2b-a80d-37db88666124", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1092 }, { "id": "9edefae5-224a-499f-9f71-c0c12545d741", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1104 }, { "id": "4708413c-e112-4cc2-b70e-06149dd3da64", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1105 }, { "id": "d4186f0a-76be-4c38-af21-0578b1f2ab5d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1108 }, { "id": "4f8948fb-e176-4f51-b055-601a7ad89b9a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1113 }, { "id": "205bd2a1-e8a9-4479-a7c9-03963581e9e0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1126 }, { "id": "66fd0fb7-bf0a-4e40-b5ee-f390b8810d7e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1127 }, { "id": "94eaaed5-cd01-43c9-9336-287998365398", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1139 }, { "id": "2cce3bea-2d0b-4f7b-9a6d-454a8bd4b8ea", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1145 }, { "id": "138e51d6-6dde-444c-bf7e-8df3beeb3f76", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1147 }, { "id": "b5fa7df4-3910-4f13-9111-f98c6c8f983c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1149 }, { "id": "64c99ba7-959c-4db9-a056-1e5cac7f481a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1153 }, { "id": "6febdf53-eb78-4ae3-b7f1-166cf3d52449", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1193 }, { "id": "55ebd795-168d-4a7b-ad8a-ba3d647ae7f9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1195 }, { "id": "7071bd6f-0db7-411d-9896-8d43adbda3c4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1221 }, { "id": "bb0d1407-0466-4ef5-9e19-5bc4ea90ce62", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1222 }, { "id": "f45e0ae2-cbd9-4c1e-b1d5-589e858ab459", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1232 }, { "id": "16780e86-0df3-4867-9112-d906a198937e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1234 }, { "id": "3d88463e-732a-47b1-aba9-33cd683574ae", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1236 }, { "id": "02c30cad-d8a4-43b5-8647-05af43f3af02", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1239 }, { "id": "55fb3cd2-2f8c-4a06-995f-93e988eae382", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1255 }, { "id": "89878570-1b14-4390-99c9-40e8526ae955", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1257 }, { "id": "399b8066-858c-40c8-a307-654e42a8c823", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1259 }, { "id": "fbe9b4e5-3f5e-4cc0-90f9-2861a093a1ee", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1280 }, { "id": "61802a09-392f-48f8-9e24-96fb406c4905", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1281 }, { "id": "158cddef-edda-426a-a103-9d2d089c8b5a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1282 }, { "id": "aafbbbed-998e-4921-942c-a9d3f4d35d9b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1283 }, { "id": "4cb7bd0f-3bd7-45a8-aaca-519c4029d74f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1288 }, { "id": "c8cfd382-8da7-426a-a0cb-688532720b95", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1289 }, { "id": "10ea8b10-d3a3-4ce9-acc3-08d4e8522dc4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1293 }, { "id": "745dc03d-5024-41bf-9aec-4c1c88a407e1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1297 }, { "id": "16918a57-278f-41c1-98b0-e059a1376286", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1298 }, { "id": "a97194dc-fd79-43fb-af1b-9fb8ac805f32", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 1299 }, { "id": "b310fabb-8437-4608-a3a8-81770a79b1f3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7680 }, { "id": "5d4d7654-e7ac-498b-a8e5-d6116b0d9c2d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7840 }, { "id": "bb4dc308-7790-4ca2-9e3c-bd7b92d83c6c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7842 }, { "id": "9dab94df-7741-41ba-b45d-201dbaddc8b0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7844 }, { "id": "dd620df4-d77e-4b4a-ae12-93fe7c8ee333", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7846 }, { "id": "11f33ea2-73e1-4936-859c-3406cf047c32", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7848 }, { "id": "fa9b8928-2f19-49a8-ac96-597b04a97996", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7850 }, { "id": "657307a0-035d-4691-a218-8acd141a5cea", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7852 }, { "id": "435e3dfb-8d13-472a-90db-c7e471fac892", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7854 }, { "id": "d7a3101a-f7d4-42a0-8571-35fde04ae26a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7856 }, { "id": "fb6764be-55b9-4ec5-8bbb-570f32331d92", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7858 }, { "id": "b8284171-68b1-4c2f-b009-1750321cc96a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7860 }, { "id": "0832ccaf-cee6-4bec-a6e6-b006779c3cbe", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7862 }, { "id": "7b2a0888-7edb-49c4-a482-a94dde0a84db", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7865 }, { "id": "aeab3fa2-6620-4615-b1a1-ba5f3901c113", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7867 }, { "id": "07513fd8-a343-4bed-81b1-474854eef494", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7869 }, { "id": "df8a8222-ad87-4509-b8f1-2d97a11006c2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7871 }, { "id": "be604370-adb3-4cc8-80a9-c6e422128a89", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7875 }, { "id": "8cf6d4a8-1bb2-413d-b2f3-f652c5653f35", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7877 }, { "id": "8db97cba-3bf2-42ba-b289-3735f92dbcfd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7879 }, { "id": "4a9a2c39-d73f-4474-b5be-a8dbafc563b1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7885 }, { "id": "97fd436e-317d-4e99-9006-c51285bbe80c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7887 }, { "id": "7faa3c66-8b3e-4a3e-8929-e925943a9e32", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7889 }, { "id": "098d46df-f8e3-40b9-a034-32ecc8b48477", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7893 }, { "id": "216499c7-9e07-470f-abfe-fd1aa36b37e4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7895 }, { "id": "71fd1807-4175-4f35-aa1e-70a5658ab370", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7897 }, { "id": "be1b84f8-3112-461f-91a4-2fb851534145", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7899 }, { "id": "07f8502d-111c-4c3b-95ec-8c7792157210", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7901 }, { "id": "3553d938-d85d-46b0-b8f5-8178794a9a92", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7903 }, { "id": "363b4e17-90b4-48a2-8f4b-ff15540a3420", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7905 }, { "id": "7040bf1a-6c57-4507-9988-e3c0bc6ad23b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 34, "second": 7907 }, { "id": "f03e3629-984c-4b73-9870-c613c6b6135e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 65 }, { "id": "7f041411-bdf8-42be-acfc-4828f83b00b8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 99 }, { "id": "20e6302d-514e-4d07-9ea3-efd4c0e53ba1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 100 }, { "id": "c85a5b4c-67ef-4b63-a643-8462b36b25f4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 101 }, { "id": "7baf45b4-94e2-42fb-b16d-b5f7097fcc9b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 111 }, { "id": "0a27f15e-d851-4769-a526-f3b9cf179f49", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 113 }, { "id": "7a765733-85fa-4bee-b8f7-50bccca82403", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 192 }, { "id": "976b2180-8947-4c5d-8bf7-ed7b42626514", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 193 }, { "id": "f3de53be-cb34-4422-8ae0-d1bd3de31b2c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 194 }, { "id": "e1aca0cb-e11c-4ad0-8d12-da1884456ed7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 195 }, { "id": "72fbf765-5595-42cd-bd23-de8aad2696ed", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 196 }, { "id": "09e30a7d-72da-484d-b2aa-06407949e31e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 197 }, { "id": "f7183652-f5f7-4d0a-9ef0-6ddcd0ff1ecb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 224 }, { "id": "004da140-bda0-4fae-b3cb-6f6ebf59d21a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 231 }, { "id": "a330a23f-fb00-4531-9486-9b3ecaad71d3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 232 }, { "id": "b509fbf4-d7b8-4b1e-8a11-251007d81abf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 233 }, { "id": "77c2a300-6ea5-4ad9-bfde-c070c900d247", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 234 }, { "id": "12463d58-554f-4bc8-8c2e-182030491ca0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 235 }, { "id": "f47acefe-3b9e-4877-a4ad-f5bb70bf847d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 242 }, { "id": "03ee2bc9-6107-4be6-8680-7426988b5457", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 243 }, { "id": "7b79b23e-1aac-44db-b9a7-e4f762f011fe", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 244 }, { "id": "b69a4c52-3412-4cf0-bee4-3dfb9289707c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 245 }, { "id": "45ba2b68-924a-46c8-b0df-52dd57ebfe0d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 246 }, { "id": "0d6972e5-1ee2-4dda-8b24-32921df9fb55", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 248 }, { "id": "48e3fff9-4480-44ad-b2aa-3eb6734ae283", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 256 }, { "id": "3480cf06-36a3-4f5f-813c-248faaf72eeb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 258 }, { "id": "23e03a04-19a0-47c1-8c06-3c871f9bd89a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 260 }, { "id": "ea981afa-e63f-4134-87d5-2382d9f1587f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 263 }, { "id": "a56d0877-19c2-4cab-9e90-56e2ed53e697", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 265 }, { "id": "769ad0f0-b84f-40ff-96ee-b2db5e8093ec", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 267 }, { "id": "4c2bda6a-b422-4d82-8b18-3c90452ed5b7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 269 }, { "id": "5895555d-2cd6-41e7-921f-086764c01cd0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 271 }, { "id": "1b7876c6-584f-4078-a12a-5ba1632ed84b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 273 }, { "id": "8fc278ae-7839-4ef8-8c9f-ba830ccc7d6b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 275 }, { "id": "ee181c7f-27e5-4516-aaa7-15063674602c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 277 }, { "id": "b5aa998f-2bc7-4cf7-abdc-2c3a9db0bf7f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 279 }, { "id": "21c91b03-f672-4c4c-b84d-8afa6bf40787", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 281 }, { "id": "55224223-481a-4e12-9e35-60929e1d046b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 283 }, { "id": "1efc12e5-55b5-4102-8574-651ca7bc0a86", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 333 }, { "id": "ee586c6e-7bae-4cfb-95cf-99d6970760b3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 335 }, { "id": "04c9ec0b-e0a9-4a73-8d8f-f605d8f325ad", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 337 }, { "id": "ccee5f58-dfbd-43e0-935c-d31214b52d32", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 339 }, { "id": "0713cfad-624f-4461-ae9f-09619f8c5217", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 417 }, { "id": "529cf286-4d62-4795-9642-e91a685ec462", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 506 }, { "id": "bfef085e-8ffc-44c0-8a14-04a9a541b023", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 511 }, { "id": "60f6b837-124c-42ab-9e49-3ead4b0ff9f4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 902 }, { "id": "7924439e-7c2e-4074-befe-b871b9bcccf1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 913 }, { "id": "a40fc7e3-aeea-44a1-8ac8-61dc663909c9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 916 }, { "id": "f0240225-4981-4ba2-a2e2-cab5b8a7fdf2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 923 }, { "id": "7785c62a-c08b-472b-bde3-ac87df14efd7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1033 }, { "id": "1a8ba1cd-90de-46bd-9515-2c16008fb957", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1040 }, { "id": "348421ec-cf68-48b8-92e1-2d776e166b06", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1044 }, { "id": "f28be373-b9b0-44a1-a674-deb23b78548d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1051 }, { "id": "0635a947-8c98-4eb3-ba29-e2fb91aa4cce", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1076 }, { "id": "452c36c0-7c56-4939-acd4-8544e8b6e8f2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1077 }, { "id": "67f8cba9-8ea8-407a-abdd-63ab9cbcd7bd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1083 }, { "id": "d018ba5c-b21c-46ef-ac5c-cb1abfef40ad", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1086 }, { "id": "bdaa2203-f41f-4efd-98c6-7b7c39cd7b9a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1089 }, { "id": "69c257e3-41c1-4640-a1d0-ec213ed22645", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1092 }, { "id": "ccc29a6d-3ab3-4ca6-8ed3-1962dee7ae99", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1104 }, { "id": "cf7d2262-94a2-4836-9d7f-37280ff1f0c7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1105 }, { "id": "04723082-a648-415b-a555-2032a9c8e920", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1108 }, { "id": "891d39c2-0788-434b-a939-76504b4f9eb9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1113 }, { "id": "32d50f8b-f50f-4788-8a96-af6a19ce55e1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1126 }, { "id": "c4b056df-4fb2-4179-ae2a-620b815c3a21", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1127 }, { "id": "7d972708-8e6d-4ad4-8aed-66fa30bd2d94", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1139 }, { "id": "fa7bb969-0fd1-4df1-af35-ed8a5894123e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1145 }, { "id": "11fca4d2-d7b0-4bc1-bd50-c450f969c9b0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1147 }, { "id": "e949fafb-23cf-4e4a-85a1-d11f0bef558d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1149 }, { "id": "54c8c6b9-cfed-40ea-bf21-71b4062d76a0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1153 }, { "id": "45c46e55-c976-4e3d-8e7a-fa97007a2dfc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1193 }, { "id": "22a3f465-2c71-460d-8796-ebffd649fa05", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1195 }, { "id": "7877ae79-e1a1-4a99-ae55-35a1bc957d9e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1221 }, { "id": "3ad485af-1082-4de5-8b84-bdffff1becf4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1222 }, { "id": "c0aa67d8-c216-413b-940e-c846ec47b371", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1232 }, { "id": "4c0c954a-985a-4a41-964c-2039ae4598cf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1234 }, { "id": "c804e2ee-538c-4c2c-943e-d0a3920b35b4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1236 }, { "id": "c8876bbb-83a0-4337-9991-bd6b10b4cd28", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1239 }, { "id": "864e417f-d8ff-469c-a5d2-efcf79274ff7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1255 }, { "id": "7a4948b0-d06e-4410-845c-f50893bc4719", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1257 }, { "id": "5908cc09-1f04-4eb9-a716-f8eb70376e85", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1259 }, { "id": "19e52015-fc12-433f-8e4b-1606bd9a92c1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1280 }, { "id": "ca1ca4b6-e431-4354-ae17-aaeb87c82d46", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1281 }, { "id": "609bebce-e91f-4296-917c-fdcb4bedb491", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1282 }, { "id": "b3b1e413-a70c-4cc7-94e8-4d524a451722", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1283 }, { "id": "44a0032f-fdc3-4d38-9e0f-34baaa31aceb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1288 }, { "id": "b8cd20ec-5a60-4440-84e6-b86b29bf5818", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1289 }, { "id": "a4d45b84-0b39-4d51-9852-ab33af502ba8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1293 }, { "id": "331ffe10-2c01-4d68-9c68-de2fcb65f220", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1297 }, { "id": "12ae3526-9810-415a-adcc-c5daaae2c142", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1298 }, { "id": "0158b0d2-1a11-4c60-9967-a230745f6fd8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 1299 }, { "id": "844c4665-82f5-4afc-9c9c-565536633317", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7680 }, { "id": "42670b22-b268-4730-a4ba-bb4f52172070", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7840 }, { "id": "dc07d594-f7b2-4f84-9022-aeeb6701daa7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7842 }, { "id": "c7933d2e-6bc0-414b-8034-f95859e8d920", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7844 }, { "id": "fd74c857-37d1-42c8-9fa9-11759ad313d2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7846 }, { "id": "500f87c6-54ba-4f32-b538-302ea5b92331", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7848 }, { "id": "3e41a1e8-c198-457d-a9c6-8060c6f553df", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7850 }, { "id": "bfcee109-6449-413e-9529-ba344b4b0ee7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7852 }, { "id": "6ddc93da-4625-43f9-9b7e-3f5887bca37a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7854 }, { "id": "5fe27f3f-4cf1-4c6e-a0aa-2afca9778483", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7856 }, { "id": "e692e4e2-6497-4775-a0f6-1c2f37b1021f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7858 }, { "id": "71f84311-7632-4ea1-bd30-d685e3b627ea", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7860 }, { "id": "791213ef-c610-4b08-b00b-0eb8f244c4fd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7862 }, { "id": "3139696f-17ec-4097-a822-710ff247fbec", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7865 }, { "id": "1748163f-4bae-4425-9932-ed467e6c62e9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7867 }, { "id": "c335fdc8-fd9d-47b0-966b-756dd6c3a894", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7869 }, { "id": "38534dea-22e6-4f31-aa2c-726eb6a29067", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7871 }, { "id": "c8435bf8-8525-466a-84cd-60a1376531ca", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7875 }, { "id": "cf22cf13-117d-47e8-98d5-970366314ea7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7877 }, { "id": "c452cd1c-0132-4f85-a9f2-d53ae06b77ff", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7879 }, { "id": "5b0cd505-62b4-4b0a-917a-49939b7e2af1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7885 }, { "id": "79a03198-fc70-4b9b-9bfe-ece8de0fa3d5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7887 }, { "id": "9d7cef84-8c77-4e4d-82f0-b5932cce265a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7889 }, { "id": "1dfdb6d8-012c-412e-9555-d9ce081d8da5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7893 }, { "id": "fbecbdee-07d5-49d0-8da1-b8a019c0faaf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7895 }, { "id": "38b0ef98-9ab7-47c8-aa17-ce9ab83741b9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7897 }, { "id": "e379b226-247a-4296-8861-a2a786363c32", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7899 }, { "id": "87c98461-24d7-43b4-9380-413b3f8d8111", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7901 }, { "id": "1c31758b-2795-4210-bf37-34749a0f7369", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7903 }, { "id": "254af858-5391-4055-a19e-b1fba22793fa", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7905 }, { "id": "59029a81-b879-49a5-9d49-7d3e9f50623e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 39, "second": 7907 }, { "id": "4110f1eb-11ed-4d6d-be59-6e16e2ba68ab", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 40, "second": 74 }, { "id": "d92a48f1-d094-419e-82fa-8ab9ded25e77", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 67 }, { "id": "3d47208a-b0cb-46b9-bdba-bc1572651d61", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 71 }, { "id": "b1bb4d90-869c-4587-b929-8925bd149cf2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 79 }, { "id": "8f6272d1-7fed-4ac0-ac45-9da06bcc8f84", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 81 }, { "id": "69252414-cdb8-44d6-afdb-ba48263fc048", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 84 }, { "id": "db09031c-2a6a-4404-a833-86840b89ade6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 86 }, { "id": "6bb140e7-ef6c-4d06-98f8-8f77e8762fe6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 87 }, { "id": "0b7604b9-3906-4f90-96ee-1e67c2744565", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 89 }, { "id": "f30c9eee-8ace-41cc-9a85-90cef0f4e4ff", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 199 }, { "id": "e0dea54a-6265-450a-bd5e-35883eeaa18e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 210 }, { "id": "43474d42-9d77-457a-9dc1-f1eaef0dc7df", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 211 }, { "id": "41b7b9df-39eb-4d80-9860-9d7b7d43437d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 212 }, { "id": "eec38c75-7b79-46f8-a7cc-20adb8aac4b4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 213 }, { "id": "a4ac551b-0cd9-423c-b743-a6e3044146a2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 214 }, { "id": "82973a17-ec79-47ed-9ed2-d6f290ceb87d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 216 }, { "id": "9d92183c-6b0e-4781-bac8-36ce86c1805c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 221 }, { "id": "777de4f9-b52d-4c73-975c-f95e08e4c320", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 262 }, { "id": "f26a2930-d88a-4762-a22f-d4ff7748a3e9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 264 }, { "id": "e4e9403a-43f3-409c-8764-6191ea4ddf72", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 266 }, { "id": "9fd46f41-0688-454d-a52c-2b29ae05e912", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 268 }, { "id": "f5380df4-bbf7-4afb-b087-3a59ce1a77ac", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 284 }, { "id": "c68824ba-33f9-4c6c-ac5c-2c3309fcc276", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 286 }, { "id": "9ab01f5c-8b45-48e7-a4c5-dc8c68a8e898", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 288 }, { "id": "04ba8353-5952-43c5-92fd-46e3e6b4b0fb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 290 }, { "id": "d015edfc-3720-4e83-a974-cfa5df03064c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 332 }, { "id": "ba7588cc-36d0-4e24-9b3a-5e8493a8cdbb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 334 }, { "id": "ae77719a-3a3f-4fec-ad38-5391051086f4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 336 }, { "id": "6dfd726c-957b-4b4f-81f9-f440fc8a25ff", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 338 }, { "id": "25c0cb66-0b17-4fcf-9656-5d7d67b5aa5a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 354 }, { "id": "0bb40831-fbb9-4e86-88c4-09661c6e723b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 356 }, { "id": "cb16c0ba-35b9-4f37-a07b-2589b955b766", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 372 }, { "id": "baff2a64-cd3e-4155-bd5f-f29964a0483d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 374 }, { "id": "87e6d4d1-4434-43b2-a839-e45ab67dc9a4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 376 }, { "id": "48572bb0-e620-4572-af56-4e69d24c407d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 416 }, { "id": "ba6642e2-0cca-4df4-8471-a632d707ae99", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 510 }, { "id": "d1025ac8-ab31-4ed8-ad1f-9ced87225c9f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 538 }, { "id": "c0290004-2c1f-4687-9d2f-087de3c13707", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 932 }, { "id": "7b07ff44-257f-4694-846f-ed28798d98ac", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 933 }, { "id": "7e76f46c-23f3-4ae7-8d49-3e0d9c778b0c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 934 }, { "id": "d6c9a1e7-a144-4ede-95b7-65449056b8dd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 936 }, { "id": "2ecdb9aa-4409-48bf-bc6c-093e95470306", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 939 }, { "id": "713c6634-a893-4f8a-b196-20a307dc2a3b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 978 }, { "id": "e66117de-82bd-4c05-8183-0d78a4c980fd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1026 }, { "id": "69f7b260-29c9-419f-a88b-f158b95dcee4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1028 }, { "id": "bd686ad7-b712-4491-9c55-8f7055c2cf03", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1035 }, { "id": "e5405e9b-fcc5-4319-b160-120ac07a5071", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1054 }, { "id": "bc29a293-f4cc-4116-b80f-df9c75f4a958", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1057 }, { "id": "94072f44-c2c2-4d20-96a7-817909c17fe2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1058 }, { "id": "e708b14a-8a43-4971-8945-af5290c95261", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1063 }, { "id": "2c55e04f-3117-46d7-b671-9b62eedac212", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1066 }, { "id": "4edb9824-4db8-4d11-88c4-91395d447539", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1090 }, { "id": "a39ee2ae-a2cc-439a-a909-f4aedac56217", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1095 }, { "id": "b40011e7-0e58-4b11-8acb-63b83abd069a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1098 }, { "id": "26ff93ae-2167-4fa2-b1ea-9f33e72e2ff2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1120 }, { "id": "c1424dc0-6cd9-4888-8deb-08ddbde9bd84", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1136 }, { "id": "5da758f6-290c-41dd-b1a1-2acd4f262bc9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1138 }, { "id": "67b31e30-0166-4ccb-8fb6-d9c44c8d1a86", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1140 }, { "id": "bda4c3d0-c12e-4380-87e6-e21c84237583", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1142 }, { "id": "756444e1-36e5-4aed-bbbb-19e6107f588f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1144 }, { "id": "907f7ed6-754e-46ee-920c-73feb7e4e9ae", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1146 }, { "id": "9c2b55c9-48b9-49bf-8b48-dac7f470d17f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1148 }, { "id": "8f13bce5-8359-46ec-8604-6690d5a5037c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1150 }, { "id": "fcaa2ed4-1d39-456d-bb84-767d0660db16", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1152 }, { "id": "52c2f004-0566-402b-85aa-c6bd6d4b43fe", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1184 }, { "id": "1d6263f3-0b25-4a7c-ac10-bc1e340ee406", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1185 }, { "id": "eaf0ad32-6790-4231-ba98-534b5d988447", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1192 }, { "id": "e7e31824-a87f-4cf7-a84a-86e76461b0ec", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1194 }, { "id": "97f78b53-8566-40f1-a4e1-c12c1c0e361a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1196 }, { "id": "76939a39-64e8-4a32-982b-4e25f9f8cf92", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1197 }, { "id": "1794e78d-1830-4d10-8bd3-b4454ce2cffc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1198 }, { "id": "47c2cf42-d516-407d-a7fa-c82f168840c8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1200 }, { "id": "69db3091-5545-4ce5-8aed-b636461bd438", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1204 }, { "id": "ac3977f4-790f-48d6-b3b0-cc9876beb0bc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1205 }, { "id": "9785bfc2-0a59-4bb9-acba-1684436886cf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1206 }, { "id": "60e3d510-3542-4fb7-a4af-b74f98800f05", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1207 }, { "id": "4917044b-79f9-4f8d-87b3-cec79a0b7cd0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1208 }, { "id": "54651af9-9c38-4c8f-8182-252a447440b6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1209 }, { "id": "d098a0ee-4a81-4b39-9ecc-e21ffdb8d2db", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1212 }, { "id": "a123e64f-2658-4123-9db8-a35cd6109d62", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1214 }, { "id": "fd145112-a992-470f-a9b8-4d7c499cca15", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1227 }, { "id": "6f6ecf70-5d7e-493f-873a-8c03e118430c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1228 }, { "id": "61ca3cd5-d7a0-4707-bd84-2724286c768d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1254 }, { "id": "1dea3b78-b85e-4862-bfd7-dea278becfc1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1256 }, { "id": "fd080172-6602-4142-a5eb-c03c38cdb7ac", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1258 }, { "id": "4a71b640-eec5-4d6c-8a60-a782cb8c4f30", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1268 }, { "id": "caa27014-5ebe-4a98-b0cc-5054c267d5d3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1269 }, { "id": "f0e59798-eca1-4791-aaf9-af4193a0b89f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1284 }, { "id": "c3f3f6a6-a5f3-4861-aeff-ee7e35972dc9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1285 }, { "id": "44ad3d04-2d7e-44fa-a9b4-dfbca6ecc6a3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1286 }, { "id": "29dc2086-9589-4e6b-94ff-9b1478e3f59d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1287 }, { "id": "4d2192c6-2aef-4409-80e3-ee8e4ef9d266", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1292 }, { "id": "b0c4071b-8f9c-454e-a160-5d7316ed2d95", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1294 }, { "id": "dfec68ee-be64-430e-856c-dc26fe337191", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 1295 }, { "id": "1bcaa320-97bb-4012-bb6e-145cbc470ddd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7808 }, { "id": "9913f417-fa50-46b2-bef7-d8e170c8bacb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7810 }, { "id": "f77ba188-b9aa-47bb-b285-cf44bb45765c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7812 }, { "id": "482454db-6aa8-472c-8170-73b9d67b2687", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7884 }, { "id": "caf60acc-abd1-473a-8aeb-af542cbcbf63", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7886 }, { "id": "090ef888-a822-43d7-831a-f8c554422e3c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7888 }, { "id": "055c8885-ba63-44ca-9089-7473a21cc085", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7890 }, { "id": "ed3b1975-8ce1-4484-bccb-8ec11b40474f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7892 }, { "id": "414b48ce-fe70-45c6-835a-6eee7daac9bb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7894 }, { "id": "8fef59d7-2b04-4526-b016-9625fec28e66", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7896 }, { "id": "00339c09-11a0-43cd-bd5c-a35cd6566644", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7898 }, { "id": "fad98d17-c77b-4708-95c5-8cd7eb9eadfd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7900 }, { "id": "c9939fed-01f8-4b10-aeb9-b3f4ea65815c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7902 }, { "id": "e48c18ff-04db-4636-a9ba-87759ddb820c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7904 }, { "id": "5d6520f8-81d9-4e61-afed-31ad03eb4ed2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7906 }, { "id": "90a2ed60-ca11-4b9c-93f2-560c4e0d9ae4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7922 }, { "id": "36c7f1d2-a7c7-4530-9b9b-5abdbffda7bd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7924 }, { "id": "51f1c867-c797-4e24-b636-8268bf21760c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7926 }, { "id": "afb6dd92-559b-4a58-b478-35eef9d73865", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 44, "second": 7928 }, { "id": "682c2efb-c175-4f9b-a38f-8cf46bfbccd0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 67 }, { "id": "80af6b5b-0c3e-45e1-806c-c84d1cbaf56d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 71 }, { "id": "8a647ba0-6326-45dd-8216-c0f4b58c2f2c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 79 }, { "id": "957d4025-feb2-423b-bb94-82b549994052", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 81 }, { "id": "78926e18-b789-42eb-af64-ad20f054628d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 84 }, { "id": "f5ec352e-0aa2-4649-af75-46a8751493e4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 86 }, { "id": "5e841e99-ac1f-4f6c-ae44-a7085b87db79", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 87 }, { "id": "3fef9751-f564-4478-85c0-0e260a3b10d2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 89 }, { "id": "eebbd913-046c-48f0-9201-90f0a54340df", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 199 }, { "id": "9f420ede-32a3-4529-80a8-6b5b77d69089", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 210 }, { "id": "ccd4f904-8ffc-43fa-916c-3d3edd08f9fe", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 211 }, { "id": "9f58bb3e-ed3d-48c8-8d32-ab61bf026f4d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 212 }, { "id": "a08d3aae-cae8-4382-80fb-318f3d62645c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 213 }, { "id": "89adc93a-8255-4ba7-85fb-8f4e54668cc4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 214 }, { "id": "1fff97ee-6f0c-4f79-b88a-8f8036f38c6c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 216 }, { "id": "dcc89543-4be0-4183-8093-562d87ce489d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 221 }, { "id": "0f5ba5cd-a91d-4b57-ae92-f153aec5905b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 262 }, { "id": "d34b1857-4188-4b26-b6c9-057a0a2627e6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 264 }, { "id": "b6f2829d-1727-4cd1-8b79-b24e3a20b3dc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 266 }, { "id": "f7396975-f8b6-4009-9c6f-34d550e32b90", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 268 }, { "id": "039acac5-7cfe-45a3-9038-0c0782b5ac2c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 284 }, { "id": "1c093e29-436d-4c54-969c-d7c789e710c3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 286 }, { "id": "ad264496-8ada-4542-91ba-be9a72278dff", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 288 }, { "id": "2ed3df41-62a0-447b-a617-63b1a66340e7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 290 }, { "id": "2400a80a-9342-42cc-b90b-93ddc3965c2e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 332 }, { "id": "950c99c7-99dc-4d45-8f14-3b0c946b4369", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 334 }, { "id": "7f692742-aaac-4944-bf3b-0e527ee40bf9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 336 }, { "id": "a67ace1e-ad6c-48c6-adb9-3d81f80328ed", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 338 }, { "id": "c64b6e49-613c-46c9-8714-7302e7077913", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 354 }, { "id": "85429f55-0048-4e28-a037-04005bc49aca", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 356 }, { "id": "643b2e4e-6a04-4666-b635-3b4acdc741a7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 372 }, { "id": "540ee433-6557-45d3-b1a8-d82a685a4662", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 374 }, { "id": "f68b6f4f-adc4-49ce-babb-2f5db40ac15c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 376 }, { "id": "5ed946c5-3d14-48ee-ac4d-16c9a3e7248b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 416 }, { "id": "bbb08b0c-e29d-49b3-ac96-f50e4504dbd7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 510 }, { "id": "04361ca4-2d5c-4966-a0b0-fe71bd32e310", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 538 }, { "id": "b1065a49-82ca-49be-952a-9eec10e40b5f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 932 }, { "id": "eea128d9-f178-402c-a5f5-680695ac1600", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 933 }, { "id": "22b8dc8c-4350-45ed-9442-b191d578913a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 934 }, { "id": "355617b9-fa0e-45b0-b387-774dd5938d29", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 936 }, { "id": "3d223a7e-e74a-40b4-8f43-fcd3a5a65db7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 939 }, { "id": "47d19b8a-f36a-4006-9c32-48ab6ffed3a7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 978 }, { "id": "7d2f0222-4912-4ac1-ba14-814820655f90", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1026 }, { "id": "b009fca3-9b7c-4e0f-9027-f465503d952b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1028 }, { "id": "e1139bbc-837c-4124-a0bc-60b14c164893", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1035 }, { "id": "c642fb85-c1b8-40a5-9660-3a64e7be4576", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1054 }, { "id": "7beaa9bc-3bd7-46d2-97f0-79e4a9d8f7f2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1057 }, { "id": "04d660a0-d6d5-463a-8fdd-f7c242af246b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1058 }, { "id": "fc66a292-4ef4-4c86-992b-64281e93fedc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1063 }, { "id": "73158810-6024-4d6b-8572-7e49690a2d5f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1066 }, { "id": "e0b87f52-5349-4666-bb65-1cb6b231ccf5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1090 }, { "id": "4344ef06-658f-4743-a2a5-f31d3d3b368b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1095 }, { "id": "46965128-9383-4872-9a2c-c5f8e379beef", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1098 }, { "id": "2f7827e8-f834-4caa-ad0c-0c0967faccd8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1120 }, { "id": "e863fdd3-6e4a-49b3-a2f6-91e2ca0fcd18", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1136 }, { "id": "be76c4e4-63c1-406d-9e73-abb52a68a9a8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1138 }, { "id": "b12c338e-7cc1-4697-a71b-d39f334dc860", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1140 }, { "id": "7910e708-bd05-42f9-b04f-ceb4bbeb7c9f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1142 }, { "id": "8ed79758-b168-4b7e-a354-9fda760e9e5b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1144 }, { "id": "c6933991-ab78-4f6b-854a-d4663c33bffb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1146 }, { "id": "f675c95a-f8b7-40fd-9f12-2fbfd10e2b38", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1148 }, { "id": "a4d8df9b-fc0f-46b3-b5c8-ccf85fd63edb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1150 }, { "id": "ee4bedc6-9cf7-4648-9c9f-87fc789ed952", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1152 }, { "id": "033eb315-24b3-4d39-ab62-55895f0438f0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1184 }, { "id": "c0b3109f-3003-442b-a709-06f97b08c6bb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1185 }, { "id": "43e2b1cb-d254-460a-b0e5-adb319155181", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1192 }, { "id": "c5f6116e-3779-4b25-ad6a-538120fa97b9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1194 }, { "id": "41d1de1e-361d-4d67-a361-92df2d086a61", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1196 }, { "id": "45784ce0-9983-433f-8a16-99757caafd5f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1197 }, { "id": "d4fcf3ac-02bd-429a-9391-cd021563325a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1198 }, { "id": "47fffbb7-1c27-4e6f-9471-48952151925b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1200 }, { "id": "43ae99ff-2590-4483-b302-7c5849a6a7dd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1204 }, { "id": "24c3966b-11cf-4bde-9727-5a0ee72158d8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1205 }, { "id": "081b1f53-de34-409a-800b-fe0bca7b35d5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1206 }, { "id": "ab38ac98-fe02-4900-9290-10c83a9b8af0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1207 }, { "id": "4130ea74-71b6-4e72-882e-63a3d8686cc7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1208 }, { "id": "7fa7d2e5-d9bf-4c05-8aac-aa8c9468bd7c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1209 }, { "id": "af3767af-927f-41e8-b6cf-751da47029d9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1212 }, { "id": "e08b0ccf-5fce-4161-aeca-a957f5a8e46c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1214 }, { "id": "9f1a9640-0dbe-4b20-a2b9-869b360bd768", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1227 }, { "id": "0d4b3d90-db80-48b1-a9e3-2d42b4a6b168", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1228 }, { "id": "6b9ba526-e177-47cb-b554-20b0b4a4a18e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1254 }, { "id": "bd056f78-bc0a-41e1-955b-96786baf0806", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1256 }, { "id": "2ac8ae81-42b2-4246-b4f6-286aa55a3644", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1258 }, { "id": "5ddf790e-985e-4f9f-a958-65ca0e3abdb5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1268 }, { "id": "e7615b87-b741-499c-9ec0-9972859b289f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1269 }, { "id": "c5e88fdd-33c5-44e4-a4eb-c4dfb9dbe553", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1284 }, { "id": "61dc8767-2b20-44b3-b2f9-86392d6ced6b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1285 }, { "id": "7183a9d2-ff12-4864-934d-a95931f6508d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1286 }, { "id": "2e16953e-3430-4f4d-868c-94105cacfa3d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1287 }, { "id": "83357a97-2193-4e0e-b8b5-ae99723cbbb0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1292 }, { "id": "2b49df53-9c72-40e6-a008-24366863296c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1294 }, { "id": "3c5e82b5-97be-4764-9381-3817adadb7f0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 1295 }, { "id": "ed9ec916-4129-4029-aa95-3223c798adb2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7808 }, { "id": "7ffc9a76-55cc-4c1c-9b84-524165ca5d2b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7810 }, { "id": "5673d210-7c67-4bc6-a7c7-a38c95e9d5b4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7812 }, { "id": "b07ded05-b738-47e3-b896-7e4db180b9e1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7884 }, { "id": "33a79c36-9685-4431-87f7-c1c330780f5c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7886 }, { "id": "91f2a968-fc23-4588-b01f-d886fbda59e2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7888 }, { "id": "80564f64-7dc0-49ac-9b9a-48ea7e56b31c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7890 }, { "id": "e6db95cb-3858-4b2a-8565-3bd18656043b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7892 }, { "id": "08522985-879c-4c96-a484-66869c5e2dd6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7894 }, { "id": "faf5d6db-fd76-4167-82ad-d7059a29633f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7896 }, { "id": "7b0a3f19-7870-4084-a57a-9f5b67657edd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7898 }, { "id": "d1c8df17-5472-4c3a-90c0-352051338c59", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7900 }, { "id": "97a361f3-75f5-47e2-b3cf-0176b9f6f046", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7902 }, { "id": "a82b5b59-bf55-4881-8ced-ac42177beea1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7904 }, { "id": "02956c30-708c-42c1-84b2-9cc2a0c64ded", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7906 }, { "id": "5169ff62-3423-4b41-8834-dc867cda260a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7922 }, { "id": "36b102a2-c584-44d4-ac28-1a582cf97687", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7924 }, { "id": "f6efceca-7cbc-494c-8241-ff2d9ee1fcf3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7926 }, { "id": "54970028-f398-495d-a9d6-c6e2293092fc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 46, "second": 7928 }, { "id": "5edd0e9e-784d-4eb2-9704-3383bfb6111d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 34 }, { "id": "7b79deea-515d-4b50-acad-20490a1f393f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 39 }, { "id": "de8c94bc-8d1b-4786-afe5-0b2c17a0f70f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 65, "second": 74 }, { "id": "84d3a8f9-5747-4ca2-b319-75897d988818", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 84 }, { "id": "01839e9a-891d-4128-b1f2-6ff41d16234d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 89 }, { "id": "1daf66d3-4da6-4374-8181-fdbdf85c70fb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 221 }, { "id": "dc6d87a2-2b49-48fd-855d-816cce37eeed", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 354 }, { "id": "82a2a6f8-4c14-4937-b85f-bc735e77bbcb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 356 }, { "id": "983f0250-0f0b-4ddf-aff7-42d7b145e937", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 374 }, { "id": "18f32ad7-133c-4a9d-9647-e1ca5085b9a5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 376 }, { "id": "6960f38e-488b-4708-b160-e048f8bf9f82", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 538 }, { "id": "d51d81cf-78a2-4f9b-9ed6-5994ffc23b7a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 7922 }, { "id": "4886c08a-ad2f-440a-8b4a-079ef02a9be4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 7924 }, { "id": "26d8d4da-34f2-4bda-8d5b-148463247237", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 7926 }, { "id": "4688ec8c-bc2f-4b61-905a-be35f46cc675", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 7928 }, { "id": "6c4c0e69-6566-4165-a83f-a6bcba20ab1a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 8217 }, { "id": "4b0f27b1-157c-43c5-abfb-553b3abc41e7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 65, "second": 8221 }, { "id": "2429ca2e-9f14-4fa2-bb59-6b4ecd33510c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 69, "second": 74 }, { "id": "67015bae-043e-4784-bfe4-3f8ca4c669d4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 70, "second": 44 }, { "id": "b83cf0c5-c812-43d7-b05c-8fe81849568c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 70, "second": 46 }, { "id": "1a5ef5e3-747a-433e-9991-a43b2946a1e3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 70, "second": 8218 }, { "id": "675da9c1-203c-43f2-b93d-1f214a454b21", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 70, "second": 8222 }, { "id": "ecd8975e-bcb1-4c71-8c6b-c0be518409b0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 76, "second": 34 }, { "id": "778d9420-d9ea-4364-878b-94c19afdc7cb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 76, "second": 39 }, { "id": "e3094209-bbb8-4640-a913-e636e408a011", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 76, "second": 8217 }, { "id": "a8c2bb81-2d79-445b-8015-1891e3b052ef", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 76, "second": 8221 }, { "id": "57a00590-eec1-46f4-9add-537e8ae11219", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 44 }, { "id": "9b7b8de4-10e5-4fbd-87fa-d7c1fe50ac88", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 46 }, { "id": "1c55300e-7256-4c2e-912f-613ac963b8a4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 65 }, { "id": "bf2245f6-f6b9-45e0-bfd9-ada3ee349f24", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 192 }, { "id": "8b7d91e9-1c6a-4e4d-a9de-541ad2edd230", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 193 }, { "id": "05ce8b19-fcf6-4c58-b149-a1b57f707b37", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 194 }, { "id": "331f766d-584d-459b-9d24-1f5c098ae7ee", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 195 }, { "id": "3c7ea135-e606-4b68-a6b0-695153baaedd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 196 }, { "id": "48b68f20-ad3d-4c46-a6e6-f36ce72e0093", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 197 }, { "id": "36681685-d7dd-416b-b62a-06b050354b36", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 256 }, { "id": "e085756e-ecfd-4e28-ac93-841cbfaee1ff", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 258 }, { "id": "ee56b06f-0d30-4476-9ebe-2aef57ad4d3e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 260 }, { "id": "a939a4ad-7c3d-4873-96f1-a36e69f9eea6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 506 }, { "id": "c97887a0-d154-44fa-a688-9960a86692fc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7680 }, { "id": "1048f2f4-40e8-4082-9f6c-d0356c31e7f5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7840 }, { "id": "43568b2d-73ee-4e06-8d6f-a24432499d6c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7842 }, { "id": "1d4245e4-58fa-4ad6-9c57-efdad748774c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7844 }, { "id": "68a1ae8c-fcae-4aee-9ffa-2bd0216a2a1f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7846 }, { "id": "d1338e01-e068-4e91-bab9-4053394bfb83", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7848 }, { "id": "57cb008e-3814-4eef-9b0e-5c76f50fc4af", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7850 }, { "id": "3353a00f-a842-494c-ab81-f83d500a96bc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7852 }, { "id": "1f2d2398-1d13-423f-a7dc-db1d59f6a0b1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7854 }, { "id": "bbaf6650-1c7a-4879-9872-9477661d7645", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7856 }, { "id": "3daad402-0734-4e27-8a18-93f4b11fefc7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7858 }, { "id": "3c2ad5f4-6497-4d64-82e7-96dde161155d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7860 }, { "id": "686e4ece-314e-4822-9bad-cc92119080ab", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 7862 }, { "id": "32cf7f32-07b1-45dc-b625-c40e8a2720e7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 8218 }, { "id": "8bd05105-0629-4f9c-b51c-06edf9bdc2da", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 80, "second": 8222 }, { "id": "cd33a7f9-c0c1-4bf6-830f-dcd75e67e164", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 44 }, { "id": "3d44d6b5-f5e0-4f31-a0d3-b04efa87ab7f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 46 }, { "id": "7ac4c6f7-045d-4c03-b28c-3aa1a9094d6a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 65 }, { "id": "aee4f609-9424-4f8a-9a58-42d9ec57b9ca", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 97 }, { "id": "19c095f7-1d38-4aff-956c-f94c924aa35d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 99 }, { "id": "35d1f7a3-6135-41a3-a001-df0011ba05b8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 100 }, { "id": "46de48ab-01b1-4c78-be2a-146efdac2a51", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 101 }, { "id": "af9611e5-9c04-46e4-9e89-858728092448", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 103 }, { "id": "2d1cd727-9cc8-47c3-b0f3-2a9e3b678132", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 109 }, { "id": "0354935c-4c52-4a66-8ac5-c6615d2a6226", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 110 }, { "id": "4bab1784-0add-428c-8d40-742940744e84", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 111 }, { "id": "63f462a9-4e16-4b1b-b28a-9eaabc74e3ee", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 112 }, { "id": "7edb3a20-8405-4cd4-9c01-5adc109e71dd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 113 }, { "id": "cda63d41-ac78-4181-9b4e-1dedbab89ce6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 114 }, { "id": "27454b0b-7aef-4b0f-9dac-39fa0ba6191b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 115 }, { "id": "f2d724b2-0fa9-46d9-878d-dccad6112d49", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 117 }, { "id": "8c9bdaab-25d3-496e-944c-76342a33ace7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 192 }, { "id": "dfe78a2b-7d17-4ea6-8a5d-267ef36cde0a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 193 }, { "id": "51e0bc31-2674-4625-b86d-543248ad6977", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 194 }, { "id": "19a93112-4fd9-4a7b-a4e1-ed2b1988f3ae", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 195 }, { "id": "5a184f7a-14da-4210-ad88-3dedc8d12e55", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 196 }, { "id": "e9c41aa0-f493-43b0-96a6-c2ec6e9126c6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 197 }, { "id": "73067617-e62a-4c09-bc94-3b264fbbf643", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 224 }, { "id": "da366f88-3f38-4792-be72-82c8fb980bf4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 225 }, { "id": "e343de45-8c3d-4fb6-9137-d92b4451947c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 226 }, { "id": "3d5cddb1-6140-4b96-9e85-defd8f05cf2b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 227 }, { "id": "3930b589-b3c9-4804-b5e2-c38c06eba40f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 228 }, { "id": "ed7c8607-3b49-41e3-9b60-e720fa92efe1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 229 }, { "id": "ded9d891-6796-49bf-92a4-9b23795edde7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 230 }, { "id": "6e62cdad-e03e-434c-85ba-5ccbcd5ad8c7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 231 }, { "id": "c23629ac-9a7a-4460-bbe8-510fce044571", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 232 }, { "id": "bad7d818-0e85-4bce-8002-1865525c631e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 233 }, { "id": "72bf0bf7-5664-4f68-a65f-6dafab815990", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 234 }, { "id": "8b57ee45-00cb-418d-acab-2773b84cc27a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 235 }, { "id": "b0f04b6e-af17-4d7d-8d1c-dcceef8a2923", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 242 }, { "id": "c0a22dfb-8f07-453e-96d4-1fdd5b95a62d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 243 }, { "id": "7036b355-8c34-408d-9589-05229e81bcf4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 244 }, { "id": "e94c4b72-1a0b-464a-9242-962b6db9e8c2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 245 }, { "id": "6e82d1cb-9a47-4ca6-bc1f-c168a4681ba4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 246 }, { "id": "36e582c3-4315-4c54-a707-2ae8b0506593", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 248 }, { "id": "60fdd42b-d86b-4e17-9b7c-298a50fca04d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 249 }, { "id": "2b7cecd8-db56-4e8d-819c-911c288a5256", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 250 }, { "id": "9240044a-3f67-4c45-b0b7-da4693dbd0fb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 251 }, { "id": "9840fe8d-6512-4565-a86c-7c8ad9a454ad", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 252 }, { "id": "332bebed-45f3-4219-b5e6-9f74e953ca2d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 256 }, { "id": "1e19a4df-50fb-4d80-a798-84fed71dc300", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 257 }, { "id": "a1dfdf71-d514-4b38-a05c-2df61167d1a6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 258 }, { "id": "7fba0ece-5302-4837-8e16-474db642f403", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 259 }, { "id": "e80f6827-b12f-4f91-a390-d5d71c92afd4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 260 }, { "id": "92bb9a30-312b-4a9f-8a4d-0d0baa469afb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 261 }, { "id": "c6d48288-d108-43fa-8ede-3a80794f5bd4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 263 }, { "id": "e16f4139-3951-467c-833a-3b9c8966f8fb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 265 }, { "id": "b25b4dfe-900f-46cb-aa01-79b9c2a607d9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 267 }, { "id": "f42d4053-61e1-4a4a-a909-f7fe64164163", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 269 }, { "id": "b8dd9dde-3e9a-4d87-bcf5-7640aaa50cf8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 271 }, { "id": "8b151ee9-7b62-4253-8589-dba0c94be4b1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 273 }, { "id": "a14083cb-28e0-41c4-bc01-37dc85ea0afa", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 275 }, { "id": "138ee32a-a30d-4fb5-a0de-0e7a9938b753", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 277 }, { "id": "43ddec98-0d0b-442b-a6fe-4d1ce4d548b5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 279 }, { "id": "a76f38ac-6047-4fe5-b473-345f3f44ff30", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 281 }, { "id": "91de8263-ddb5-41c6-95c1-a83cbe540885", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 283 }, { "id": "3aa04e60-18fa-4b58-a1b2-7484df0669b5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 285 }, { "id": "2eb6e970-76c4-4d61-ab2d-e158a6e20eed", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 287 }, { "id": "e107e927-a4b8-4de4-abba-d1366b701e4f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 289 }, { "id": "152bc168-5c40-4af4-91a7-09640c98a0cb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 291 }, { "id": "c1100db1-bc11-4598-be70-755e6a116624", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 312 }, { "id": "d01b60be-732a-4168-95a5-18dfb5c8e075", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 324 }, { "id": "1bccef18-7fd8-41c1-a95f-66c833ebfbf5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 326 }, { "id": "10453980-b5d6-4a37-808c-bae47155b4c4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 331 }, { "id": "60e779f8-c2c0-419d-b078-b847a950716a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 333 }, { "id": "a8b6c54a-5c16-4799-b3eb-032fb19ae3cf", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 335 }, { "id": "0f942405-2e4c-4440-ae66-da874c5690e1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 337 }, { "id": "278fbd20-1e96-4786-9279-b56d97334d93", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 339 }, { "id": "a32ceaee-0a19-47fe-843e-0fbb69a1805a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 341 }, { "id": "57cfdac7-ca22-46dd-8c2d-c6351e0ffffc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 343 }, { "id": "964e5c6e-5260-4aab-bdb7-3ff7a0e63f4c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 347 }, { "id": "1c91fc8c-ccaa-49d3-a869-76a7411f1930", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 351 }, { "id": "abf96caa-4175-415a-ab90-475571931046", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 361 }, { "id": "35487396-2718-4489-b2fc-8f82ddd9d8b5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 363 }, { "id": "c0130c1c-3b2f-45e5-9d7b-53bb5aac52b7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 365 }, { "id": "df8b6a78-1906-4af9-a175-1813d127659a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 367 }, { "id": "9d6f056e-3898-417c-b4e2-fa777749bb3d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 369 }, { "id": "cf92df84-8af6-4c82-ad3a-e34c19401554", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 371 }, { "id": "443243f2-977a-4488-9171-c135a6fc9c71", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 417 }, { "id": "0c1d3e68-bfdf-4067-86e6-30ef69b60291", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 432 }, { "id": "6920bddf-ba00-4c52-a2f3-c108837a0c31", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 506 }, { "id": "003c65a3-4dcb-4bea-b314-b23b391d5fef", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 507 }, { "id": "c63013fb-5fcf-4148-837d-2c535e492c40", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 509 }, { "id": "033cf571-cd2a-43f7-85ab-a1f9c76c8dfc", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 511 }, { "id": "91e760ef-ae92-4c54-b74b-3a92e6d8587b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 537 }, { "id": "ca87061f-44c7-4cd7-9c36-58abe013e1e1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7680 }, { "id": "ebec0716-65ec-4465-b33c-dceb583aaa67", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7681 }, { "id": "18b17b86-16da-483f-9fcb-0c329ccb6f0a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7743 }, { "id": "b0b5cb79-1348-4624-929d-167128c054c1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7840 }, { "id": "ba51b748-e178-4332-99e2-a3e361abd6b2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7841 }, { "id": "bdd86da0-ef78-45cf-a7e4-542dcaf67ea6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7842 }, { "id": "3d758ce1-e77b-45cf-befc-e8bd36beec3b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7843 }, { "id": "680d1157-36b0-42b6-a754-acfe4365128d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7844 }, { "id": "598a512d-a7a8-4f67-bff6-2a029e74ef0f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7845 }, { "id": "eafebdcc-961f-4323-b30d-f0decaf21b23", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7846 }, { "id": "f42d32fd-687f-4279-be54-c79d19da4b11", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7848 }, { "id": "dd4b2bea-2a73-4cd5-9f86-15036b2b3894", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7849 }, { "id": "c9788ff6-d48a-41b2-a754-bf5947f9de11", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7850 }, { "id": "c2a0fc1f-286e-4c80-8f41-2f77699034a5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7851 }, { "id": "1037fc0a-a3b0-485c-a096-44709a920d31", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7852 }, { "id": "23823a06-47a7-439e-812f-f299b78f6583", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7853 }, { "id": "196cf945-e49b-430c-8aec-19d3501130e4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7854 }, { "id": "abd04b9e-f9c4-4264-93a1-c5fd1127a89e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7855 }, { "id": "219f69f6-3740-4f16-9968-441799d7e021", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7856 }, { "id": "ef010294-afc4-4e80-b789-d0cf9613a0d6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7857 }, { "id": "b81cf5b9-d12e-42ba-9b30-a2c6270dc062", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7858 }, { "id": "9306ef1c-dfb5-48bf-ae97-d730ac774a5e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7859 }, { "id": "26fe9c0b-85f6-4947-a3f9-a680df150160", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7860 }, { "id": "53469875-d5e9-4035-9cb8-b9e94d770b35", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7861 }, { "id": "4ca54668-ea4d-47d3-ad78-92d90af26cb7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7862 }, { "id": "a348b9bb-62f3-4742-882c-06e2ac0a3def", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7863 }, { "id": "c221c235-0f4b-4b5c-94aa-c514f2557d22", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7865 }, { "id": "8709b7ed-0b70-452b-8f4a-e56da8b25090", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7867 }, { "id": "24526fe7-0e0e-4cff-8bee-a70fdaac2f8e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7869 }, { "id": "45e95429-a398-41e4-9db3-dde062c08a0c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7871 }, { "id": "aaa7ed85-afa5-45fa-a5ed-56eb05678f85", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7875 }, { "id": "29065b8f-4db1-48f7-9922-b16fa2027bd8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7877 }, { "id": "c4681cb6-6b03-42d5-8542-0ef9c4eb51ee", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7879 }, { "id": "3628f628-6b83-4e1a-80e9-d9fac26053ea", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7885 }, { "id": "d37e1c1e-2b4d-43f9-8e29-bc436754ae23", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7887 }, { "id": "0467a517-829c-4838-a70f-6043886e7107", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7889 }, { "id": "5bcd14a7-78d4-4d50-b26f-abb03fd4ca13", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7893 }, { "id": "cfb3702f-0111-4ef0-ad9b-e121d9fe0bfd", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7895 }, { "id": "b617ca1e-ed52-4586-8b1f-934ba3441a01", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7897 }, { "id": "c65b0f7a-ef09-4a7d-a852-30611298b369", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7899 }, { "id": "62cece97-b5e6-46a2-a2c3-b95020315d42", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7901 }, { "id": "2eae589b-b85d-4f9d-aa04-ef27a7a17236", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7903 }, { "id": "10df7742-69c6-42cd-9140-3c0d7e4d60a1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7905 }, { "id": "3f1f080e-4e93-4c78-a370-2cb0b686ea38", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7907 }, { "id": "48236720-a65a-4fe5-86c1-744ab7821d75", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7909 }, { "id": "a5981902-a257-44f9-ae9b-796c08544c95", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7911 }, { "id": "5b5b2b53-48fb-41c6-8f72-60d4f1ac6b4f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7913 }, { "id": "c97ea80d-70fc-4cd1-acd8-cea462804f25", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7915 }, { "id": "c811319a-f4bd-47bf-b761-ec120df14162", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7917 }, { "id": "52eb99ae-c4d5-4bb2-803c-06c4bd53806f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7919 }, { "id": "f83db3df-5e1b-499e-a044-3151eeac1b60", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 7921 }, { "id": "722e7113-426d-4f91-bb5a-b808db336bd2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 8218 }, { "id": "5ec27d37-5009-4e7a-bdda-0f64d198bfd2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 84, "second": 8222 }, { "id": "abee963f-b5d1-4f8f-aaab-3a52b4f9e527", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 86, "second": 44 }, { "id": "9482ae13-3346-409b-bf95-41136a92b1ba", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 86, "second": 46 }, { "id": "2af47c20-753c-414a-a468-55cd6530d9a6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 86, "second": 8218 }, { "id": "80101232-554a-40ad-b9a0-25c16519ecd1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 86, "second": 8222 }, { "id": "60753e09-9397-4ee3-9b84-e403819ecbd4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 87, "second": 44 }, { "id": "96abaa0d-c020-4e17-a032-5e2dc6df9fb2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 87, "second": 46 }, { "id": "6827a636-1e2d-4b8c-8d70-7e83e6adab3b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 87, "second": 8218 }, { "id": "1d081eec-ff08-4ed1-8f49-5e7af4e5639d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 87, "second": 8222 }, { "id": "02727a72-3d54-40a1-b9e8-1930a3af5dba", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 44 }, { "id": "b008668d-8e22-4849-9bee-d3f202fb2ba3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 46 }, { "id": "9df56756-16f0-4fa9-bbd8-7c9a14be1c1c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 65 }, { "id": "a6d5f262-19ce-4dc8-bf95-6efb15420877", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 97 }, { "id": "732ee84a-613b-43d5-a187-653f5edbc9f3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 99 }, { "id": "05cf75f8-574d-42ac-b4b0-5e994bfbc0c9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 100 }, { "id": "9c1e8d3c-b8a5-430e-8e23-b385d041d9d1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 101 }, { "id": "69e78153-1f2b-455a-a2eb-629ffad3c4b4", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 111 }, { "id": "23d7d623-8a00-443c-a726-3429e2e12e19", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 113 }, { "id": "272b7d77-14aa-4058-b6e9-940c00d2e35f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 192 }, { "id": "50a231ad-0ecb-451e-aae8-daadb672ecc8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 193 }, { "id": "70285c80-479f-4e41-a811-f19535113c7c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 194 }, { "id": "696ac900-caa9-49dc-a912-4c4b87612e1a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 195 }, { "id": "dda8e405-aad4-4079-b6c2-71f4abebfcff", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 196 }, { "id": "72a3e26d-b524-43d6-a57a-12875a8869d9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 197 }, { "id": "0d47631a-f0fd-4356-add6-9a3a4d8eabb0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 224 }, { "id": "6507a1ab-4041-41ab-bca9-f28365265173", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 225 }, { "id": "005c1712-33a3-4722-817c-d2f4d0bdf389", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 226 }, { "id": "c4320543-fb0a-45db-bbd4-b15e6bae6510", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 227 }, { "id": "1ba711b5-c3e7-49fe-9f1b-6e10b8654c6b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 228 }, { "id": "01983a67-0b0a-45bb-ac98-a6f264671e40", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 229 }, { "id": "9fbf37f8-a3ea-426b-aa73-aab253778bca", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 230 }, { "id": "7498b78b-4ae9-46f2-98b6-894877a63dc8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 231 }, { "id": "c46509bb-96e8-48e3-8dcc-725e2301ff3f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 232 }, { "id": "3ca1fed8-905a-47e2-b3d2-aee79d376a5c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 233 }, { "id": "748104aa-6326-4779-8a82-cb60eadb3e59", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 234 }, { "id": "b32a92df-4667-4dd9-93de-7b25d0c8ce7d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 235 }, { "id": "b38c7d6d-f8be-48f0-a2db-80f7e84eea8e", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 242 }, { "id": "e515ee6e-20d2-4432-a730-83e922aba8a0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 243 }, { "id": "d7d10936-1d6d-4d85-a1d7-c7aaf4a415d7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 244 }, { "id": "d7c7988d-321a-4d14-9eed-a017d576e4f6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 245 }, { "id": "38cb9542-f6ef-46fe-b1b0-66300b5494fb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 246 }, { "id": "6f37cee7-92f0-4395-8a90-caeef0300a92", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 248 }, { "id": "8749395c-1fdf-4760-9f21-51693921af17", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 256 }, { "id": "af864ea9-fcd0-4cd6-ada0-14b4c9951a89", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 257 }, { "id": "6142a0bc-ce17-43d9-a119-8c29e49a96c2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 258 }, { "id": "8073fe70-be01-4a9c-811e-fcd2216a9aeb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 259 }, { "id": "31140552-8bb4-4098-bcf3-7e29c064ab5f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 260 }, { "id": "4ac3b9d2-e54d-4d4f-9ce6-87a066c58ff3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 261 }, { "id": "51b6362b-d07c-48e2-8cd3-3a5d58c8e1c1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 263 }, { "id": "029c2c25-c8e9-4bbe-b5ea-e2630ee46f39", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 265 }, { "id": "0b8196dd-796f-488b-961e-5d227b9193b7", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 267 }, { "id": "4ddfe0b5-eadf-48f9-84dd-40a406d47fe9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 269 }, { "id": "600c698b-29b1-4d63-be6f-611076377ad2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 271 }, { "id": "394390b3-4c80-4c3a-8c88-eb133a8f85eb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 273 }, { "id": "6e134bf6-80fb-47a2-a33a-afb614222d7a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 275 }, { "id": "8d76052d-8aa3-4655-9cc1-b8108d902d50", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 277 }, { "id": "3846bfbf-10d6-43a4-b057-839474c10250", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 279 }, { "id": "0e0a8ee5-be32-4fd8-87b9-3a4abb35e101", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 281 }, { "id": "c61b26de-601f-4b12-b352-5231973ab45c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 283 }, { "id": "b6d314e0-e682-4e34-8fbe-238f9fb2b27a", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 333 }, { "id": "82ca9690-a274-4ada-81d3-87d0b7f9fcb2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 335 }, { "id": "c2e13a57-c824-4366-9570-ddda988fef30", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 337 }, { "id": "fc7b0ce1-bc6b-47ab-9451-afbaf9596393", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 339 }, { "id": "98d0dc1a-f740-47f6-b9bf-129a49d9bd6b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 417 }, { "id": "ca1cf111-f445-40fb-92f1-043c8ba89670", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 506 }, { "id": "b0e446f2-27b1-4161-8f62-ee6b6e2dc7f6", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 507 }, { "id": "27f68f47-a0e4-4d0d-880f-167e88f438d9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 509 }, { "id": "f51da0b7-ae61-4215-8b9c-e2158b063ab9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 511 }, { "id": "b1114899-7952-4a35-811f-3ffe1b6a7511", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7680 }, { "id": "7dc4da52-3953-4a58-a38f-853b354d195b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7681 }, { "id": "591ecca1-f9e0-4147-bc12-31a2cbf8f492", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7840 }, { "id": "be880a6a-acb9-4328-bf6c-ddbf2b19eb24", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7841 }, { "id": "b389c6c3-b635-4a20-91f3-408d3a64aba2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7842 }, { "id": "073154c9-f0cc-49a7-bd72-9968a5e1c3cb", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7843 }, { "id": "6bc8de19-89c0-41c8-92a0-71e5532587d2", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7844 }, { "id": "96a84a72-0605-4322-a922-e76ae7e32786", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7845 }, { "id": "c0f83e21-7620-49dd-b4bb-a779bdc08ea3", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7846 }, { "id": "500a5487-fff9-4324-be25-053f619f80b9", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7848 }, { "id": "b6599111-906d-44a9-b6e6-a0f46b7a8818", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7849 }, { "id": "51536ce6-ced8-4d49-9b38-84b60d63aba5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7850 }, { "id": "de75cb13-af2c-4983-a339-76b31d2bfb21", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7851 }, { "id": "5069d8f6-efd5-40cc-8c75-4f8c2fe55af8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7852 }, { "id": "10284fcc-6cdc-402f-9525-468308b81b8f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7853 }, { "id": "fcb264b9-ddc8-4845-bea1-dd2a15471674", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7854 }, { "id": "ecadf4c7-e705-4175-a145-9a38d91ba74f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7855 }, { "id": "c35b699c-09eb-4e5e-906b-31cb8e22a679", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7856 }, { "id": "2547a402-6417-466d-a749-2016517bed23", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7857 }, { "id": "4b323d6e-284e-4228-be08-0c2faae6191c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7858 }, { "id": "7a18151f-128f-4da6-9381-d4b8666bac6b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7859 }, { "id": "dafcd2b0-13f5-4bf9-b99c-230c0416d42f", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7860 }, { "id": "c0546e74-67a3-46e9-9629-6b1fd5b4f521", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7861 }, { "id": "2da02f5d-46a4-4c42-b227-d4e2e5a60578", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7862 }, { "id": "829d6e8f-168b-4e15-a96e-d15ae904e2f5", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7863 }, { "id": "80d42d15-de70-4c9a-8ce3-98584c64f10b", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7865 }, { "id": "d9429bfa-4d9f-41b1-9abb-e312ff844f4d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7867 }, { "id": "773c9e89-cfb3-4ecc-865b-74bc8dcb3078", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7869 }, { "id": "d9cb8e1b-9f6f-43bb-834c-bcf62c6446a8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7871 }, { "id": "6c870cc6-19e0-44a4-a068-4702498c2e74", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7875 }, { "id": "bd039d2e-c764-41e1-b7b6-e51fde8a9d15", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7877 }, { "id": "fb9fe6dc-34a3-4e21-8b1e-cb431ecb358c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7879 }, { "id": "34be2a33-ed53-423d-abef-396f145d054c", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7885 }, { "id": "cbc6f560-0cab-4c87-99e5-f38d47c4d154", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7887 }, { "id": "3f5b61f5-916d-44dd-91ed-67e5d47567e1", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7889 }, { "id": "888e3f7f-e62b-404e-b177-45b68b15fa29", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7893 }, { "id": "0ed1c706-02ae-4b37-ab66-bf84a1cfcdde", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7895 }, { "id": "57ceb9c8-2705-4203-afa3-e7b27cbc7eec", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7897 }, { "id": "2a9de355-fefd-42b0-abe8-06ddb1831aac", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7899 }, { "id": "df61d4a7-eb1b-404d-915f-50221a6bde91", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7901 }, { "id": "2e5adc53-d7a5-4071-bec7-7ac47aaa052d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7903 }, { "id": "004082e8-b8c7-420a-9870-1df649d00153", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7905 }, { "id": "c92ee962-571d-4923-89f2-04efa623ed31", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 7907 }, { "id": "96123ffc-15b0-489a-90f5-d8d670dd3981", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 8218 }, { "id": "a8c7f685-d8d8-4232-b96b-1221cdaf76a8", "modelName": "GMKerningPair", "mvc": "1.0", "amount": -1, "first": 89, "second": 8222 }, { "id": "42bf8581-47d0-49d7-8506-5a2878108b97", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 91, "second": 74 }, { "id": "5cb0cb01-b976-4263-8159-ba8193293659", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 102, "second": 34 }, { "id": "7e0406c9-339d-43a7-be92-4486809178d0", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 102, "second": 39 }, { "id": "ada397aa-aa06-4723-9832-fb1cbb3a4655", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 102, "second": 8217 }, { "id": "dae031ec-6df8-4195-b751-ebc3123ae14d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 102, "second": 8221 }, { "id": "277f7b58-896a-458b-900b-9369e201eb6d", "modelName": "GMKerningPair", "mvc": "1.0", "amount": 1, "first": 123, "second": 74 } ], "last": 0, "ranges": [ { "x": 32, "y": 127 } ], "sampleText": "abcdef ABCDEF\\u000a0123456789 .,<>\"'&!?\\u000athe quick brown fox jumps over the lazy dog\\u000aTHE QUICK BROWN FOX JUMPS OVER THE asdadasd DOG", "size": 12, "styleName": "", "textureGroupId": "1225f6b0-ac20-43bd-a82e-be73fa0b6f4f" }
27.823476
166
0.354832
7dd6638b78f5efdfc16777474f90d40bf99155c0
19,179
yy
Yacc
rooms/Game_New/Game_New.yy
KyleMagocs/ScootPoochRebuild
f2fddf0e6f0890f8f58acdad76454a02dc88ddfa
[ "MIT" ]
null
null
null
rooms/Game_New/Game_New.yy
KyleMagocs/ScootPoochRebuild
f2fddf0e6f0890f8f58acdad76454a02dc88ddfa
[ "MIT" ]
null
null
null
rooms/Game_New/Game_New.yy
KyleMagocs/ScootPoochRebuild
f2fddf0e6f0890f8f58acdad76454a02dc88ddfa
[ "MIT" ]
null
null
null
{ "name": "Game_New", "id": "f7fa2c2d-a56c-4902-be18-aab101438657", "creationCodeFile": "RoomCreationCode.gml", "inheritCode": false, "inheritCreationOrder": false, "inheritLayers": false, "instanceCreationOrderIDs": [ "4166064f-da39-4328-bb97-593f5515ea4a", "5f77a188-136d-4343-a02a-84b7bd5d56e5", "36769732-57b6-4144-bfd7-95e7269da038", "8d474ca7-a0d9-49f6-9cbf-0084a3b78a97" ], "IsDnD": false, "layers": [ { "__type": "GMRInstanceLayer_Model:#YoYoStudio.MVCFormat", "name": "Instances", "id": "7883dd17-91b0-4396-b048-8ff8aaf7a6eb", "depth": 0, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "instances": [ {"name": "inst_2258831F","id": "4166064f-da39-4328-bb97-593f5515ea4a","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": true,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_2258831F","objId": "f2a81823-52e7-45f1-abcb-b2652a9b3861","properties": null,"rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.1","x": 192,"y": 2336}, {"name": "inst_7D842349","id": "5f77a188-136d-4343-a02a-84b7bd5d56e5","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": true,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_7D842349","objId": "7124b168-d54c-4e59-abeb-432e38a888de","properties": null,"rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.1","x": 480,"y": 2528}, {"name": "inst_6FDAEBE7","id": "36769732-57b6-4144-bfd7-95e7269da038","colour": { "Value": 4294967295 },"creationCodeFile": "InstanceCreationCode_inst_6FDAEBE7.gml","creationCodeType": ".gml","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": true,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_6FDAEBE7","objId": "989bde95-1326-4ade-8a46-3eb56f895418","properties": null,"rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.1","x": 160,"y": 2528}, {"name": "inst_32359024","id": "8d474ca7-a0d9-49f6-9cbf-0084a3b78a97","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": true,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_32359024","objId": "441ab3f3-c1a9-41d7-8ab6-e754134f084b","properties": null,"rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.1","x": 448,"y": 2016} ], "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRInstanceLayer", "mvc": "1.0", "userdefined_depth": false, "visible": true }, { "__type": "GMRTileLayer_Model:#YoYoStudio.MVCFormat", "name": "Tiles_1", "id": "03ffb908-39a3-4342-b6a6-020413e682dc", "depth": 100, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRTileLayer", "prev_tileheight": 71, "prev_tilewidth": 65, "mvc": "1.0", "tiles": { "SerialiseData": null, "SerialiseHeight": 37, "SerialiseWidth": 10, "TileSerialiseData": [ 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 1,2,2,2,2,2,3,268435459,2,268435457, 5,6,6,6,6,6,7,268435463,6,268435461, 9,10,11,10,11,10,11,10,11,268435465, 9,11,10,11,10,11,10,11,10,268435465, 9,10,11,10,11,10,11,10,11,268435465 ] }, "tilesetId": "b3ab45e6-4bf1-493e-815b-05dce733ddcf", "userdefined_depth": false, "visible": true, "x": 0, "y": 0 }, { "__type": "GMRTileLayer_Model:#YoYoStudio.MVCFormat", "name": "Tiles_2", "id": "8103a886-7be2-4a9e-9fb0-b1128e553270", "depth": 200, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRTileLayer", "prev_tileheight": 71, "prev_tilewidth": 65, "mvc": "1.0", "tiles": { "SerialiseData": null, "SerialiseHeight": 37, "SerialiseWidth": 10, "TileSerialiseData": [ 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 1,2,3,268435459,2,2,2,2,2,268435457, 5,6,7,268435463,6,6,6,6,6,268435461, 9,11,11,11,11,11,11,11,11,268435465, 9,11,11,11,11,11,11,11,11,268435465, 9,11,11,11,11,11,11,11,11,268435465, 9,11,11,11,11,11,11,11,11,268435465, 9,11,11,11,11,11,11,11,11,268435465, 9,10,11,10,11,10,10,10,11,268435465, 10,10,10,10,10,10,10,10,10,10, 2147483648,11,11,11,11,11,11,11,11,2147483648, 2147483648,11,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648, 2147483648,11,11,11,11,11,11,2147483648,2147483648,2147483648 ] }, "tilesetId": "b3ab45e6-4bf1-493e-815b-05dce733ddcf", "userdefined_depth": false, "visible": true, "x": 0, "y": 0 }, { "__type": "GMRBackgroundLayer_Model:#YoYoStudio.MVCFormat", "name": "Background", "id": "26871385-4110-444d-9249-a773568e581b", "animationFPS": 2, "animationSpeedType": "1", "colour": { "Value": 4294967295 }, "depth": 300, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": false, "hspeed": 0, "htiled": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRBackgroundLayer", "mvc": "1.0", "spriteId": "434d36f8-ad46-4f11-89cd-4885546f89a3", "stretch": false, "userdefined_animFPS": true, "userdefined_depth": false, "visible": false, "vspeed": 0, "vtiled": true, "x": 0, "y": 0 } ], "modelName": "GMRoom", "parentId": "00000000-0000-0000-0000-000000000000", "physicsSettings": { "id": "007e12c8-fec0-469b-804a-f92e09c6e4ac", "inheritPhysicsSettings": false, "modelName": "GMRoomPhysicsSettings", "PhysicsWorld": false, "PhysicsWorldGravityX": 0, "PhysicsWorldGravityY": 10, "PhysicsWorldPixToMeters": 0.1, "mvc": "1.0" }, "roomSettings": { "id": "0bccda90-3b35-46f9-bebb-0ea0d39ed992", "Height": 2560, "inheritRoomSettings": false, "modelName": "GMRoomSettings", "persistent": false, "mvc": "1.0", "Width": 650 }, "mvc": "1.0", "views": [ {"id": "2325dbae-d616-4352-b817-7ad5ba0af164","hborder": 0,"hport": 720,"hspeed": -1,"hview": 720,"inherit": false,"modelName": "GMRView","objId": "989bde95-1326-4ade-8a46-3eb56f895418","mvc": "1.0","vborder": 360,"visible": true,"vspeed": -1,"wport": 325,"wview": 325,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "74caca7e-9e49-4ae4-9a2a-6fd899e6059f","hborder": 0,"hport": 720,"hspeed": -1,"hview": 720,"inherit": false,"modelName": "GMRView","objId": "7124b168-d54c-4e59-abeb-432e38a888de","mvc": "1.0","vborder": 360,"visible": true,"vspeed": -1,"wport": 325,"wview": 325,"xport": 660,"xview": 0,"yport": 0,"yview": 0}, {"id": "cf4e1aab-8b03-44af-b0dd-33ea6396b92c","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "93d33c27-c1fb-44cc-9181-0da7a386e31b","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "9dc5ca23-e7ac-49eb-b685-f12e0c277a84","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "b7c678c1-f0e6-461e-a629-2ecfac5b74ac","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "ba6a6bf2-1a10-43cb-a334-532621febeb5","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "70f0a1f5-c4ec-480c-ada4-b8077646ec3c","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0} ], "viewSettings": { "id": "e109810d-616e-4a36-81d6-b5341cc8257e", "clearDisplayBuffer": true, "clearViewBackground": true, "enableViews": true, "inheritViewSettings": false, "modelName": "GMRoomViewSettings", "mvc": "1.0" } }
71.831461
601
0.645498
07a0c3551e2110e9da1e1def1533b9b5df507f1c
182
yy
Yacc
scripts/direction_between/direction_between.yy
danieltjewett/gms2-throwing-example
f6acdd64e2c624189b3036f199ecf4e7077e3c8b
[ "MIT" ]
1
2021-07-24T09:20:59.000Z
2021-07-24T09:20:59.000Z
scripts/direction_between/direction_between.yy
danieltjewett/gms2-throwing-example
f6acdd64e2c624189b3036f199ecf4e7077e3c8b
[ "MIT" ]
null
null
null
scripts/direction_between/direction_between.yy
danieltjewett/gms2-throwing-example
f6acdd64e2c624189b3036f199ecf4e7077e3c8b
[ "MIT" ]
1
2021-12-15T19:14:15.000Z
2021-12-15T19:14:15.000Z
{ "id": "53981380-b14b-43c2-b9e6-49770525a6da", "modelName": "GMScript", "mvc": "1.0", "name": "direction_between", "IsCompatibility": false, "IsDnD": false }
22.75
49
0.587912
853ffd1dba4e836b94d86eae6b36f57a07af58eb
94,371
yy
Yacc
PlatformerShooter2D/rooms/rTwo/rTwo.yy
Tsubanee/GameDev
4f765221e67dc05697fbb4ff6d3411d1f314b93d
[ "MIT" ]
null
null
null
PlatformerShooter2D/rooms/rTwo/rTwo.yy
Tsubanee/GameDev
4f765221e67dc05697fbb4ff6d3411d1f314b93d
[ "MIT" ]
null
null
null
PlatformerShooter2D/rooms/rTwo/rTwo.yy
Tsubanee/GameDev
4f765221e67dc05697fbb4ff6d3411d1f314b93d
[ "MIT" ]
1
2021-12-21T16:26:50.000Z
2021-12-21T16:26:50.000Z
{ "isDnd": true, "volume": 1.0, "parentRoom": null, "views": [ {"inherit":false,"visible":true,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1024,"hview":768,"xport":0,"yport":0,"wport":1024,"hport":768,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, ], "layers": [ {"instances":[],"visible":true,"depth":0,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Bullets","tags":[],"resourceType":"GMRInstanceLayer",}, {"instances":[ {"properties":[],"isDnd":true,"objectId":{"name":"oGun","path":"objects/oGun/oGun.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":416.0,"y":288.0,"resourceVersion":"1.0","name":"inst_AC1A422","tags":[],"resourceType":"GMRInstance",}, ],"visible":true,"depth":100,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Gun","tags":[],"resourceType":"GMRInstanceLayer",}, {"instances":[ {"properties":[],"isDnd":true,"objectId":{"name":"oPlayer","path":"objects/oPlayer/oPlayer.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":384.0,"y":288.0,"resourceVersion":"1.0","name":"inst_9AC29E4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oCamera","path":"objects/oCamera/oCamera.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":224.0,"y":736.0,"resourceVersion":"1.0","name":"inst_1CA45B66","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oLevelEnd","path":"objects/oLevelEnd/oLevelEnd.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":544.0,"y":96.0,"resourceVersion":"1.0","name":"inst_763DE63A","tags":[],"resourceType":"GMRInstance",}, ],"visible":true,"depth":200,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Player","tags":[],"resourceType":"GMRInstanceLayer",}, {"instances":[ {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":864.0,"y":672.0,"resourceVersion":"1.0","name":"inst_2353F9CD","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1120.0,"y":672.0,"resourceVersion":"1.0","name":"inst_52D69DC5","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1344.0,"y":672.0,"resourceVersion":"1.0","name":"inst_65F12D5D","tags":[],"resourceType":"GMRInstance",}, {"properties":[ {"propertyId":{"name":"hasweapon","path":"objects/oEnemy/oEnemy.yy",},"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"value":"True","resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMOverriddenProperty",}, ],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1440.0,"y":672.0,"resourceVersion":"1.0","name":"inst_67604B93","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1536.0,"y":672.0,"resourceVersion":"1.0","name":"inst_3F02574E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":448.0,"y":672.0,"resourceVersion":"1.0","name":"inst_25200096","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":384.0,"y":672.0,"resourceVersion":"1.0","name":"inst_3085100","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":992.0,"y":672.0,"resourceVersion":"1.0","name":"inst_40E3C185","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":928.0,"y":608.0,"resourceVersion":"1.0","name":"inst_78E86621","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":992.0,"y":512.0,"resourceVersion":"1.0","name":"inst_4BB1AEEC","tags":[],"resourceType":"GMRInstance",}, {"properties":[ {"propertyId":{"name":"hasweapon","path":"objects/oEnemy/oEnemy.yy",},"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"value":"True","resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMOverriddenProperty",}, ],"isDnd":true,"objectId":{"name":"oEnemy","path":"objects/oEnemy/oEnemy.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1216.0,"y":672.0,"resourceVersion":"1.0","name":"inst_52B86FC1","tags":[],"resourceType":"GMRInstance",}, ],"visible":true,"depth":300,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Enemy","tags":[],"resourceType":"GMRInstanceLayer",}, {"instances":[ {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":688.0,"resourceVersion":"1.0","name":"inst_5A9CD44F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":176.0,"y":656.0,"resourceVersion":"1.0","name":"inst_EBE96EC","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":176.0,"y":688.0,"resourceVersion":"1.0","name":"inst_1D968BD2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":208.0,"y":688.0,"resourceVersion":"1.0","name":"inst_24CDAE2E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":208.0,"y":720.0,"resourceVersion":"1.0","name":"inst_63CBF91D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":176.0,"y":720.0,"resourceVersion":"1.0","name":"inst_2EDC0507","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":176.0,"y":752.0,"resourceVersion":"1.0","name":"inst_54531FFE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":208.0,"y":752.0,"resourceVersion":"1.0","name":"inst_7F841D28","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":208.0,"y":784.0,"resourceVersion":"1.0","name":"inst_4BD5D80F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":176.0,"y":784.0,"resourceVersion":"1.0","name":"inst_7F6F84CE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":176.0,"y":816.0,"resourceVersion":"1.0","name":"inst_7FDB3B9E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":208.0,"y":816.0,"resourceVersion":"1.0","name":"inst_4244D833","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":240.0,"y":816.0,"resourceVersion":"1.0","name":"inst_4AE9E085","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":240.0,"y":784.0,"resourceVersion":"1.0","name":"inst_6AEFF84D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":272.0,"y":784.0,"resourceVersion":"1.0","name":"inst_23061A59","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":272.0,"y":816.0,"resourceVersion":"1.0","name":"inst_409BF2A7","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":304.0,"y":816.0,"resourceVersion":"1.0","name":"inst_718A0AC3","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":304.0,"y":784.0,"resourceVersion":"1.0","name":"inst_510CB66D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":336.0,"y":784.0,"resourceVersion":"1.0","name":"inst_3D961804","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":336.0,"y":816.0,"resourceVersion":"1.0","name":"inst_2F95218A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":368.0,"y":816.0,"resourceVersion":"1.0","name":"inst_58F2EBD2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":400.0,"y":816.0,"resourceVersion":"1.0","name":"inst_49C349B1","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":400.0,"y":784.0,"resourceVersion":"1.0","name":"inst_7A18B7F6","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":368.0,"y":784.0,"resourceVersion":"1.0","name":"inst_60AB21FE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":432.0,"y":784.0,"resourceVersion":"1.0","name":"inst_3A7FA040","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":432.0,"y":816.0,"resourceVersion":"1.0","name":"inst_3C310E1E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":464.0,"y":816.0,"resourceVersion":"1.0","name":"inst_72017F67","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":496.0,"y":816.0,"resourceVersion":"1.0","name":"inst_639C70","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":496.0,"y":784.0,"resourceVersion":"1.0","name":"inst_711F2B02","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":464.0,"y":784.0,"resourceVersion":"1.0","name":"inst_1FBFD5D9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":528.0,"y":784.0,"resourceVersion":"1.0","name":"inst_777277A4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":528.0,"y":816.0,"resourceVersion":"1.0","name":"inst_7A98D200","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":560.0,"y":816.0,"resourceVersion":"1.0","name":"inst_1A06F1EE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":560.0,"y":784.0,"resourceVersion":"1.0","name":"inst_23CCD8F2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":592.0,"y":784.0,"resourceVersion":"1.0","name":"inst_7EAF6CE5","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":592.0,"y":752.0,"resourceVersion":"1.0","name":"inst_7DF04630","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":624.0,"y":752.0,"resourceVersion":"1.0","name":"inst_12159B3D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":656.0,"y":752.0,"resourceVersion":"1.0","name":"inst_611DA588","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":688.0,"y":752.0,"resourceVersion":"1.0","name":"inst_531C1F9A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":720.0,"y":752.0,"resourceVersion":"1.0","name":"inst_3728923F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":752.0,"y":752.0,"resourceVersion":"1.0","name":"inst_6D50B0FE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":784.0,"y":752.0,"resourceVersion":"1.0","name":"inst_B3D86F9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":816.0,"y":752.0,"resourceVersion":"1.0","name":"inst_3DD651D4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":848.0,"y":752.0,"resourceVersion":"1.0","name":"inst_1D34D697","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":880.0,"y":752.0,"resourceVersion":"1.0","name":"inst_2378BE2E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":912.0,"y":752.0,"resourceVersion":"1.0","name":"inst_1091C592","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":944.0,"y":752.0,"resourceVersion":"1.0","name":"inst_1B074CD8","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":976.0,"y":752.0,"resourceVersion":"1.0","name":"inst_7C705345","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1008.0,"y":752.0,"resourceVersion":"1.0","name":"inst_1BFC3CF5","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1040.0,"y":752.0,"resourceVersion":"1.0","name":"inst_64840DEE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1072.0,"y":752.0,"resourceVersion":"1.0","name":"inst_117E463C","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1104.0,"y":752.0,"resourceVersion":"1.0","name":"inst_6FD70B17","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1136.0,"y":752.0,"resourceVersion":"1.0","name":"inst_3B524E1D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1168.0,"y":752.0,"resourceVersion":"1.0","name":"inst_1C1C8D62","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1200.0,"y":752.0,"resourceVersion":"1.0","name":"inst_79C583EE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1232.0,"y":752.0,"resourceVersion":"1.0","name":"inst_10D98A9E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1264.0,"y":752.0,"resourceVersion":"1.0","name":"inst_14A5DEF5","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1296.0,"y":752.0,"resourceVersion":"1.0","name":"inst_3CEB69D3","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1360.0,"y":752.0,"resourceVersion":"1.0","name":"inst_6A4E0DED","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1328.0,"y":752.0,"resourceVersion":"1.0","name":"inst_279AEAFF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1392.0,"y":752.0,"resourceVersion":"1.0","name":"inst_3CDA859F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1424.0,"y":752.0,"resourceVersion":"1.0","name":"inst_53EF838E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1456.0,"y":752.0,"resourceVersion":"1.0","name":"inst_E64F226","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1488.0,"y":752.0,"resourceVersion":"1.0","name":"inst_2C160236","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1520.0,"y":752.0,"resourceVersion":"1.0","name":"inst_7FD0D2A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1552.0,"y":752.0,"resourceVersion":"1.0","name":"inst_542699E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1584.0,"y":752.0,"resourceVersion":"1.0","name":"inst_283DE645","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1616.0,"y":752.0,"resourceVersion":"1.0","name":"inst_271D0793","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1648.0,"y":752.0,"resourceVersion":"1.0","name":"inst_6C408B67","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":656.0,"resourceVersion":"1.0","name":"inst_2515D428","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":624.0,"resourceVersion":"1.0","name":"inst_2E86576A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":592.0,"resourceVersion":"1.0","name":"inst_106C653B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":560.0,"resourceVersion":"1.0","name":"inst_7DF096D2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":528.0,"resourceVersion":"1.0","name":"inst_66D85C5","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":496.0,"resourceVersion":"1.0","name":"inst_4244708B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":432.0,"resourceVersion":"1.0","name":"inst_4DB564D9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":464.0,"resourceVersion":"1.0","name":"inst_BECF7DD","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":144.0,"y":400.0,"resourceVersion":"1.0","name":"inst_5CE3E15F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1680.0,"y":752.0,"resourceVersion":"1.0","name":"inst_3D3263D0","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1712.0,"y":720.0,"resourceVersion":"1.0","name":"inst_29EDDAAE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1744.0,"y":688.0,"resourceVersion":"1.0","name":"inst_2129C146","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1776.0,"y":656.0,"resourceVersion":"1.0","name":"inst_75912C21","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1808.0,"y":624.0,"resourceVersion":"1.0","name":"inst_64675F7A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1840.0,"y":592.0,"resourceVersion":"1.0","name":"inst_C9B1D14","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1680.0,"y":560.0,"resourceVersion":"1.0","name":"inst_E418F9D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1648.0,"y":528.0,"resourceVersion":"1.0","name":"inst_79B6C8D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1616.0,"y":496.0,"resourceVersion":"1.0","name":"inst_3F4683E3","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1584.0,"y":464.0,"resourceVersion":"1.0","name":"inst_7DEA648B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1552.0,"y":432.0,"resourceVersion":"1.0","name":"inst_2A075503","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1712.0,"y":560.0,"resourceVersion":"1.0","name":"inst_6DD5E247","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1744.0,"y":560.0,"resourceVersion":"1.0","name":"inst_694A673B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1520.0,"y":400.0,"resourceVersion":"1.0","name":"inst_552A3169","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1488.0,"y":368.0,"resourceVersion":"1.0","name":"inst_76CF979A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1456.0,"y":336.0,"resourceVersion":"1.0","name":"inst_2B81349B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1424.0,"y":304.0,"resourceVersion":"1.0","name":"inst_7A4E0C9F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1392.0,"y":304.0,"resourceVersion":"1.0","name":"inst_19612D70","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1360.0,"y":304.0,"resourceVersion":"1.0","name":"inst_7CD894D2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1328.0,"y":304.0,"resourceVersion":"1.0","name":"inst_11C04F9E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1296.0,"y":304.0,"resourceVersion":"1.0","name":"inst_1537C96D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1264.0,"y":304.0,"resourceVersion":"1.0","name":"inst_1E365490","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1232.0,"y":304.0,"resourceVersion":"1.0","name":"inst_6853DF4C","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1200.0,"y":304.0,"resourceVersion":"1.0","name":"inst_73EA4544","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1168.0,"y":304.0,"resourceVersion":"1.0","name":"inst_102FC7DE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1136.0,"y":304.0,"resourceVersion":"1.0","name":"inst_76E668CC","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1104.0,"y":304.0,"resourceVersion":"1.0","name":"inst_35FDB684","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1072.0,"y":304.0,"resourceVersion":"1.0","name":"inst_111E101","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1040.0,"y":304.0,"resourceVersion":"1.0","name":"inst_71E67444","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1008.0,"y":304.0,"resourceVersion":"1.0","name":"inst_34E4C858","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":976.0,"y":304.0,"resourceVersion":"1.0","name":"inst_59D81CD6","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":944.0,"y":304.0,"resourceVersion":"1.0","name":"inst_2C101F15","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":912.0,"y":304.0,"resourceVersion":"1.0","name":"inst_4EC92C1","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":880.0,"y":304.0,"resourceVersion":"1.0","name":"inst_37C1FD95","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":848.0,"y":304.0,"resourceVersion":"1.0","name":"inst_7FB90602","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":816.0,"y":304.0,"resourceVersion":"1.0","name":"inst_4060333F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":784.0,"y":304.0,"resourceVersion":"1.0","name":"inst_67129B9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":784.0,"y":272.0,"resourceVersion":"1.0","name":"inst_4749597D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":816.0,"y":240.0,"resourceVersion":"1.0","name":"inst_6F882413","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":848.0,"y":272.0,"resourceVersion":"1.0","name":"inst_1C9D512","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":848.0,"y":272.0,"resourceVersion":"1.0","name":"inst_1DD47299","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":752.0,"y":240.0,"resourceVersion":"1.0","name":"inst_61A09D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":720.0,"y":208.0,"resourceVersion":"1.0","name":"inst_45FBE5BA","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":688.0,"y":176.0,"resourceVersion":"1.0","name":"inst_2A5381B9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":624.0,"y":176.0,"resourceVersion":"1.0","name":"inst_7D15B28F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":592.0,"y":176.0,"resourceVersion":"1.0","name":"inst_7E6AA91F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":560.0,"y":176.0,"resourceVersion":"1.0","name":"inst_3BCB6CEC","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1872.0,"y":592.0,"resourceVersion":"1.0","name":"inst_199CCDA0","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1904.0,"y":592.0,"resourceVersion":"1.0","name":"inst_526F6237","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":592.0,"resourceVersion":"1.0","name":"inst_C1F7925","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":576.0,"resourceVersion":"1.0","name":"inst_28E3431B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":544.0,"resourceVersion":"1.0","name":"inst_50DCD006","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":544.0,"resourceVersion":"1.0","name":"inst_7A2CA83E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":512.0,"resourceVersion":"1.0","name":"inst_47AC17F2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":480.0,"resourceVersion":"1.0","name":"inst_1EFC0F40","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":448.0,"resourceVersion":"1.0","name":"inst_4199FB61","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":416.0,"resourceVersion":"1.0","name":"inst_2D3F7C01","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":384.0,"resourceVersion":"1.0","name":"inst_65616443","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":352.0,"resourceVersion":"1.0","name":"inst_6D80F6AD","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":320.0,"resourceVersion":"1.0","name":"inst_569D668F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":true,"objectId":{"name":"oWall","path":"objects/oWall/oWall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1936.0,"y":288.0,"resourceVersion":"1.0","name":"inst_D2FAE9C","tags":[],"resourceType":"GMRInstance",}, ],"visible":false,"depth":400,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Walls","tags":[],"resourceType":"GMRInstanceLayer",}, {"tilesetId":{"name":"tTiles","path":"tilesets/tTiles/tTiles.yy",},"x":0,"y":0,"tiles":{"SerialiseWidth":64,"SerialiseHeight":32,"TileSerialiseData":[ 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,42,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,41,33,45,2147483648,46,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,46,2147483648,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,46,0,43,22,20,20,20,20,20,36,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,0,0,0,42,0,16,47,47,47,47,47,24,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,2147483648,41,33,29,28,28,28,28,28,30,33,33,33,33,33,33,33,33,33,33,33,45,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 20,20,20,20,36,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 47,47,47,47,24,2147483648,2147483648,2147483648,0,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,0,2147483648,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 47,47,47,47,47,2147483648,2147483648,2147483648,0,0,0,0,2147483648,0,2147483648,0,0,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,16,47,47,47, 47,47,47,47,47,2147483648,2147483648,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,2147483648,2147483648,0,0,0,2147483648,2147483648,2147483648,16,47,47,47, 47,47,47,47,47,2147483648,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,46,2147483648,0,0,0,0,0,0,0,16,47,47,47, 47,47,47,47,47,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,43,33,45,0,0,0,0,0,16,47,47,47, 47,47,47,47,24,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,0,0,34,20,20,1,47,47,47, 47,47,47,47,24,2147483648,2147483648,0,0,2147483648,0,2147483648,2147483648,0,0,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,0,0,2147483648,2147483648,2147483648,0,0,0,0,0,34,1,47,47,47,47,47,47, 47,47,47,47,2,36,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,0,0,0,2147483648,2147483648,0,0,0,0,34,1,47,47,47,47,47,47,47, 47,47,47,47,47,2,36,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,0,0,0,0,0,0,2147483648,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,34,1,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,24,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2147483648,0,0,0,0,0,0,0,0,34,1,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,24,2147483648,2147483648,2147483648,2147483648,2147483648,2147483648,0,2147483648,2147483648,2147483648,2147483648,34,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,1,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,2,20,20,20,20,20,20,20,20,20,20,20,1,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, 47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47,47, ],},"visible":true,"depth":500,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Tiles","tags":[],"resourceType":"GMRTileLayer",}, {"spriteId":null,"colour":4292250156,"x":0,"y":0,"htiled":false,"vtiled":false,"hspeed":0.0,"vspeed":0.0,"stretch":false,"animationFPS":15.0,"animationSpeedType":0,"userdefinedAnimFPS":false,"visible":true,"depth":600,"userdefinedDepth":false,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"resourceVersion":"1.0","name":"Background","tags":[],"resourceType":"GMRBackgroundLayer",}, ], "inheritLayers": false, "creationCodeFile": "", "inheritCode": false, "instanceCreationOrder": [ {"name":"inst_9AC29E4","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_AC1A422","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2353F9CD","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_52D69DC5","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_65F12D5D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_67604B93","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3F02574E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_25200096","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3085100","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1CA45B66","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_5A9CD44F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_EBE96EC","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1D968BD2","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_24CDAE2E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_63CBF91D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2EDC0507","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_54531FFE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7F841D28","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4BD5D80F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7F6F84CE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7FDB3B9E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4244D833","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4AE9E085","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6AEFF84D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_23061A59","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_409BF2A7","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_718A0AC3","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_510CB66D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3D961804","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2F95218A","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_58F2EBD2","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_49C349B1","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7A18B7F6","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_60AB21FE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3A7FA040","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3C310E1E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_72017F67","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_639C70","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_711F2B02","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1FBFD5D9","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_777277A4","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7A98D200","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1A06F1EE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_23CCD8F2","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7EAF6CE5","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7DF04630","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_12159B3D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_611DA588","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_531C1F9A","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3728923F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6D50B0FE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_B3D86F9","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3DD651D4","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1D34D697","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2378BE2E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1091C592","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1B074CD8","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7C705345","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1BFC3CF5","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_64840DEE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_117E463C","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6FD70B17","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3B524E1D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1C1C8D62","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_79C583EE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_10D98A9E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_14A5DEF5","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3CEB69D3","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6A4E0DED","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_279AEAFF","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3CDA859F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_53EF838E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_E64F226","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2C160236","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7FD0D2A","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_542699E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_283DE645","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_271D0793","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6C408B67","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2515D428","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2E86576A","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_106C653B","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7DF096D2","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_66D85C5","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4244708B","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4DB564D9","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_BECF7DD","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_5CE3E15F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_40E3C185","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_78E86621","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4BB1AEEC","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_52B86FC1","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3D3263D0","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_29EDDAAE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2129C146","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_75912C21","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_64675F7A","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_C9B1D14","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_E418F9D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_79B6C8D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3F4683E3","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7DEA648B","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2A075503","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6DD5E247","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_694A673B","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_552A3169","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_76CF979A","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2B81349B","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7A4E0C9F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_19612D70","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7CD894D2","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_11C04F9E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1537C96D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1E365490","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6853DF4C","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_73EA4544","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_102FC7DE","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_76E668CC","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_35FDB684","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_111E101","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_71E67444","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_34E4C858","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_59D81CD6","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2C101F15","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4EC92C1","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_37C1FD95","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7FB90602","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4060333F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_67129B9","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4749597D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6F882413","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1C9D512","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1DD47299","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_61A09D","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_45FBE5BA","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2A5381B9","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7D15B28F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7E6AA91F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_3BCB6CEC","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_199CCDA0","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_526F6237","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_C1F7925","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_28E3431B","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_50DCD006","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_7A2CA83E","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_47AC17F2","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_1EFC0F40","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_4199FB61","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_2D3F7C01","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_65616443","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_6D80F6AD","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_569D668F","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_D2FAE9C","path":"rooms/rTwo/rTwo.yy",}, {"name":"inst_763DE63A","path":"rooms/rTwo/rTwo.yy",}, ], "inheritCreationOrder": false, "sequenceId": null, "roomSettings": { "inheritRoomSettings": false, "Width": 2048, "Height": 1024, "persistent": false, }, "viewSettings": { "inheritViewSettings": false, "enableViews": true, "clearViewBackground": false, "clearDisplayBuffer": true, }, "physicsSettings": { "inheritPhysicsSettings": false, "PhysicsWorld": false, "PhysicsWorldGravityX": 0.0, "PhysicsWorldGravityY": 10.0, "PhysicsWorldPixToMetres": 0.1, }, "parent": { "name": "Rooms", "path": "folders/Rooms.yy", }, "resourceVersion": "1.0", "name": "rTwo", "tags": [], "resourceType": "GMRoom", }
231.869779
672
0.709455
40d917fb8020cc28e5bd8a6c631bec5ab0ebe391
977
yy
Yacc
views/5612eba1-e33d-48a7-b231-fae212110859.yy
M3Kat/TE-Engine
dfb3ba310de06133812c2d5f0101fefc5c8ae02a
[ "CC-BY-4.0" ]
4
2019-03-18T15:42:28.000Z
2021-09-02T15:50:11.000Z
views/5612eba1-e33d-48a7-b231-fae212110859.yy
M3Kat/TE-Engine
dfb3ba310de06133812c2d5f0101fefc5c8ae02a
[ "CC-BY-4.0" ]
null
null
null
views/5612eba1-e33d-48a7-b231-fae212110859.yy
M3Kat/TE-Engine
dfb3ba310de06133812c2d5f0101fefc5c8ae02a
[ "CC-BY-4.0" ]
1
2022-03-22T00:45:53.000Z
2022-03-22T00:45:53.000Z
{ "id": "5612eba1-e33d-48a7-b231-fae212110859", "modelName": "GMFolder", "mvc": "1.1", "name": "5612eba1-e33d-48a7-b231-fae212110859", "children": [ "dfdb835b-6736-4086-98d9-44a4ef03fbb1", "767b2d28-c3d3-4b08-9557-cc94baa7774f", "ace526f3-edc8-4dd4-aeb3-1a0fb488af64", "8d2bf610-1034-4d6b-82f2-252ac38e3faf", "d87adfed-dff6-4251-b936-5b234b24f846", "5fc730bd-cf64-4da6-b991-8fd4c3b1486e", "3c17c58f-352d-4e67-a49c-f31cc2bce927", "138e73fb-debb-42be-910b-9d26ffc3569b", "72ab5b35-43c1-47f3-84ec-219f69502886", "0a82591c-1dec-44fb-99e7-b7c7ed82e800", "0b5b4bc9-b98b-46bf-b9bc-7649a4517351", "e2171594-e784-486f-88e6-caa7a114f0e9", "d5e10bd9-9213-4f02-b07e-cb84d31835b2", "20fbee77-e48b-460d-ace9-2c903b707324" ], "filterType": "GMScript", "folderName": "TE - Textbox Engine", "isDefaultView": false, "localisedFolderName": "" }
37.576923
51
0.642784
a5572265e1baee727345472d391987018c25d31a
4,159
y
Yacc
main/configparser.y
sjourdan/myanon
2c601aab9d1ae5e6ab3f4a64c9b156ad85abfd83
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
main/configparser.y
sjourdan/myanon
2c601aab9d1ae5e6ab3f4a64c9b156ad85abfd83
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
main/configparser.y
sjourdan/myanon
2c601aab9d1ae5e6ab3f4a64c9b156ad85abfd83
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
%{ /* * Copyright (C) 2021 Pierre POMES <pierre.pomes@gmail.com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the project nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include <stdio.h> #include <stdbool.h> #include <string.h> #include "myanon.h" #include "configparser.h" #include "myanon.h" /* Current working table */ static char table[ID_SIZE]; /* Walker on anon config */ static anon_st *cur = NULL; /* Current working anon config element */ static anon_st work; %} %define api.prefix {config_} %union { unsigned short shortval; char strval[CONFIG_SIZE]; } /* * Flex tokens */ %token SECRET STATS TABLES YES NO FIXED TEXTHASH EMAILHASH INTHASH EQ LEFT RIGHT %token <strval> STRING IDENTIFIER %token <shortval> LENGTH %start directives %% directives: directive | directive directives directive: secretline | statsline | tableline secretline: SECRET EQ STRING { mystrcpy(secret,$3,sizeof(secret)); secretlen=(unsigned short)strlen(secret); } statsline: STATS EQ YES { stats=true; } | STATS EQ NO { stats=false;} tableline: TABLES EQ LEFT tableslist RIGHT tableslist: singletable | singletable tableslist singletable: IDENTIFIER EQ { mystrcpy(table,$1,sizeof(table)); } LEFT fieldlist RIGHT fieldlist: field | field fieldlist field: IDENTIFIER { memset(&work,0,sizeof(work)); work.pos =-1 ; snprintf(work.key,KEY_LEN,"%s:%s",table,$1); } EQ action { cur = mymalloc(sizeof(anon_st)); memset(cur,0,sizeof(anon_st)); memcpy(cur,&work,sizeof(anon_st)); HASH_ADD_STR(infos, key, cur); } action: FIXED STRING { work.type = AM_FIXED; mystrcpy(work.fixedvalue,$2,sizeof(work.fixedvalue)); work.fixedvaluelen=(unsigned short)strlen(work.fixedvalue); } | TEXTHASH LENGTH { work.type = AM_TEXTHASH; work.len=(unsigned short)$2; } | EMAILHASH STRING LENGTH { work.type = AM_EMAILHASH; work.len = (unsigned short)$3; remove_quote(work.domain,$2,sizeof(work.domain)); work.domainlen=(unsigned short)strlen(work.domain); if (work.len + work.domainlen + 1 > MAX_LEN) { config_error("Requested length is too long"); exit(EXIT_FAILURE); } } | INTHASH LENGTH { work.type = AM_INTHASH; work.len=(unsigned short)$2; } %%
29.920863
80
0.63573
46c72348e7dbf444752544b6ff7f6d53ba8eaaaf
183
yy
Yacc
scripts/MakeBoneWallBottom/MakeBoneWallBottom.yy
to-inksans-fight/undertale_engine
6f115c410926215bbb8ac7d9dd439146c64295e3
[ "MIT" ]
4
2019-10-11T15:45:12.000Z
2020-11-20T05:47:33.000Z
scripts/MakeBoneWallBottom/MakeBoneWallBottom.yy
to-inksans-fight/undertale_engine
6f115c410926215bbb8ac7d9dd439146c64295e3
[ "MIT" ]
null
null
null
scripts/MakeBoneWallBottom/MakeBoneWallBottom.yy
to-inksans-fight/undertale_engine
6f115c410926215bbb8ac7d9dd439146c64295e3
[ "MIT" ]
2
2019-10-08T17:39:10.000Z
2020-09-25T09:41:48.000Z
{ "id": "86e4d815-ff42-4467-bc7c-85c38a81aca9", "modelName": "GMScript", "mvc": "1.0", "name": "MakeBoneWallBottom", "IsCompatibility": false, "IsDnD": false }
22.875
49
0.590164
409b3f4e59e16d6c8bf832f0327f3d0f696ca54d
1,008
yy
Yacc
views/297651c9-b7a7-4a65-97f1-8ceb3b64f65d.yy
friendlycosmonaut/depth-system
d97b7c42ee8d1e361ba221eb5e9aefeb2c7ac4d8
[ "MIT" ]
9
2018-01-16T15:11:13.000Z
2021-06-20T14:18:44.000Z
views/297651c9-b7a7-4a65-97f1-8ceb3b64f65d.yy
GameMakerDiscord/depth-system
d97b7c42ee8d1e361ba221eb5e9aefeb2c7ac4d8
[ "MIT" ]
1
2019-05-23T00:19:47.000Z
2019-05-23T00:19:47.000Z
views/297651c9-b7a7-4a65-97f1-8ceb3b64f65d.yy
GameMakerDiscord/depth-system
d97b7c42ee8d1e361ba221eb5e9aefeb2c7ac4d8
[ "MIT" ]
1
2020-03-29T17:46:22.000Z
2020-03-29T17:46:22.000Z
{ "id": "297651c9-b7a7-4a65-97f1-8ceb3b64f65d", "modelName": "GMFolder", "mvc": "1.1", "name": "297651c9-b7a7-4a65-97f1-8ceb3b64f65d", "children": [ "2ea73365-b6f1-4bd1-a454-d57a67e50684", "e3e41b8b-b981-42ce-aab7-e6265764c7a8", "83d63ce4-d03f-444b-b478-522ad5b314a9", "a09f41cd-a4f3-4818-9942-6c258e8a0b0e", "4c4a5f6b-851e-45f2-9d16-4e770693d0d6", "05f45e8d-a727-4650-b0c2-0ac5f793f164", "82f217a6-9373-47d2-85d9-14ce23a512a0", "5fd06095-db49-460e-9954-34d8113518c0", "f48fa589-53e5-4ce0-a010-c16b38192e31", "af01d96e-a301-41cc-9c82-eb60af19cbae", "53f34530-342f-440f-8cd3-3df3c5bfc232", "d3e83dba-5be8-436f-866d-9a5a2120adb1", "9c35e2b5-ef9d-468c-8d88-8e8636785ca0", "48b46420-2f90-4794-9064-b6fdfad99fbd", "128687b6-cf4b-4bad-bfec-52960e01a538" ], "filterType": "root", "folderName": "Default", "isDefaultView": true, "localisedFolderName": "" }
37.333333
51
0.641865
2b03fb26c08f58f5c1606083d8290b1236156aad
375,956
yy
Yacc
utils/matiec_src/stage1_2/iec_bison.yy
kinsamanka/OpenPLC_v3
fc1afcf702eebaf518971b304acf487809c804d4
[ "Apache-2.0" ]
null
null
null
utils/matiec_src/stage1_2/iec_bison.yy
kinsamanka/OpenPLC_v3
fc1afcf702eebaf518971b304acf487809c804d4
[ "Apache-2.0" ]
null
null
null
utils/matiec_src/stage1_2/iec_bison.yy
kinsamanka/OpenPLC_v3
fc1afcf702eebaf518971b304acf487809c804d4
[ "Apache-2.0" ]
null
null
null
/* * matiec - a compiler for the programming languages defined in IEC 61131-3 * * Copyright (C) 2003-2011 Mario de Sousa (msousa@fe.up.pt) * Copyright (C) 2007-2011 Laurent Bessard and Edouard Tisserant * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * * * This code is made available on the understanding that it will not be * used in safety-critical situations without a full and competent review. */ /* * An IEC 61131-3 compiler. * * Based on the * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) * */ /* * Stage 2 * ======= * * This file contains the syntax definition of the textual * languages IL and ST, as well as the textual version of SFC. * The syntax parser, comprising the 2nd stage of the overall * compiler, is generated by runing bison on this file. */ /**********************************************************************/ /**********************************************************************/ /**********************************************************************/ /**********************************************************************/ /******* *******/ /******* The following syntax does not have any conflicts. *******/ /******* *******/ /******* P L E A S E K E E P I T T H A T W A Y ! *******/ /******* =================================================== *******/ /******* *******/ /**********************************************************************/ /**********************************************************************/ /**********************************************************************/ /**********************************************************************/ /* NOTE: the following file contains many rules used merely for detecting errors in * the IEC source code being parsed. * To remove all these rules, simply execute the command (first replace all '%' with '/'): * $sed '\:%\* ERROR_CHECK_BEGIN \*%:,\:%\* ERROR_CHECK_END \*%: d' iec_bison.yy * * The above command had to be edited ('/' replaced by '%') so as not to include the C syntax that closes * comments inside this comment! * If you place the command in a shell script, be sure to remove the backslashes '\' before each asterisk '*' !! */ %{ #include <string.h> /* required for strdup() */ /* declare the token parser generated by flex... */ int yylex(void); /* declare the error handler defined at the end of this file */ void yyerror (const char *error_msg); /* produce a more verbose parsing error message */ #define YYERROR_VERBOSE /* Include debuging code. * Printing of debug info must then be activated by setting * the variable yydebug to 1. */ #define YYDEBUG 0 /* file with declaration of absyntax classes... */ #include "../absyntax/absyntax.hh" /* file with declaration of token constants. Generated by bison! */ #include "iec_bison.hh" /* The interface through which bison and flex interact. */ #include "stage1_2_priv.hh" #include "create_enumtype_conversion_functions.hh" #include "../absyntax_utils/add_en_eno_param_decl.hh" /* required for add_en_eno_param_decl_c */ /* an ugly hack!! * We will probably not need it when we decide * to cut down the abstract syntax down to size. * We keep it as it is until we get to write * stages 3 and 4 of the compiler. Who knows, * we might just find out that we really do need * the abstract syntax tree to stay as it is * afterall! */ /* for each element <elem> in list_c * <list> * execute the code <code> */ #define FOR_EACH_ELEMENT(elem, list, code) { \ symbol_c *elem; \ for(int i = 0; i < list->n; i++) { \ elem = list->elements[i]; \ code; \ } \ } /* Macros used to pass the line and column locations when * creating a new object for the abstract syntax tree. */ #define locloc(foo) foo.first_line, foo.first_column, foo.first_file, foo.first_order, foo.last_line, foo.last_column, foo.last_file, foo.last_order #define locf(foo) foo.first_line, foo.first_column, foo.first_file, foo.first_order #define locl(foo) foo.last_line, foo.last_column, foo.last_file, foo.last_order /* Redefine the default action to take for each rule, so that the filenames are correctly processed... */ # define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ if (N) \ { \ (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \ (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \ (Current).first_file = YYRHSLOC(Rhs, 1).first_file; \ (Current).first_order = YYRHSLOC(Rhs, 1).first_order; \ (Current).last_line = YYRHSLOC(Rhs, N).last_line; \ (Current).last_column = YYRHSLOC(Rhs, N).last_column; \ (Current).last_file = YYRHSLOC(Rhs, 1).last_file; \ (Current).last_order = YYRHSLOC(Rhs, 1).last_order; \ } \ else \ { \ (Current).first_line = (Current).last_line = \ YYRHSLOC(Rhs, 0).last_line; \ (Current).first_column = (Current).last_column = \ YYRHSLOC(Rhs, 0).last_column; \ (Current).first_file = (Current).last_file = \ YYRHSLOC(Rhs, 0).last_file; \ (Current).first_order = (Current).last_order = \ YYRHSLOC(Rhs, 0).last_order; \ } \ while (0) #include "../main.hh" // required for ERROR() and ERROR_MSG() macros. /*************************/ /* global variables... */ /*************************/ /* NOTE: For some strange reason bison ver 2.3 is including these declarations * in the iec_bison.hh file, which is in turn included by flex. * We cannot therefore define any variables over here, but merely declare * their existance (otherwise we get errors when linking the code, since we * would get a new variable defined each time iec_bison.hh is included!). * Even though the variables are declared 'extern' over here, they will in * fact be defined towards the end of this same file (i.e. in the prologue) */ /* NOTE: These variable are really parameters we would like the stage2__ function to pass * to the yyparse() function. However, the yyparse() function is created automatically * by bison, so we cannot add parameters to this function. The only other * option is to use global variables! yuck! */ /* A global flag used to tell the parser if overloaded funtions should be allowed. * The IEC 61131-3 standard allows overloaded funtions in the standard library, * but disallows them in user code... */ extern bool allow_function_overloading; /* A flag to tell the compiler whether to allow the declaration * of extensible function (i.e. functions that may have a variable number of * input parameters, such as AND(word#33, word#44, word#55, word#66). * This is an extension to the standard syntax. * See comments below for details why we support this! */ extern bool allow_extensible_function_parameters; /* A global flag used to tell the parser whether to allow use of DREF and '^' operators (defined in IEC 61131-3 v3) */ extern bool allow_ref_dereferencing; /* A global flag used to tell the parser whether to allow use of REF_TO ANY datatypes (non-standard extension to IEC 61131-3 v3) */ extern bool allow_ref_to_any; /* A global flag used to tell the parser whether to allow use of REF_TO as a struct or array element (non-standard extension) */ extern bool allow_ref_to_in_derived_datatypes; /* A pointer to the root of the parsing tree that will be generated by bison. */ extern symbol_c *tree_root; /************************/ /* forward declarations */ /************************/ /* The functions declared here are defined at the end of this file... */ /* Convert an il_operator_c into an identifier_c */ identifier_c *il_operator_c_2_identifier_c (symbol_c *il_operator); /* Convert an il_operator_c into an poutype_identifier_c */ poutype_identifier_c *il_operator_c_2_poutype_identifier_c(symbol_c *il_operator); /* return if current token is a syntax element */ /* ERROR_CHECK_BEGIN */ bool is_current_syntax_token(); /* ERROR_CHECK_END */ /* print an error message */ void print_err_msg(int first_line, int first_column, const char *first_filename, long int first_order, int last_line, int last_column, const char *last_filename, long int last_order, const char *additional_error_msg); %} // %glr-parser // %expect-rr 1 /* The following definitions need to be inside a '%code requires' * so that they are also included in the header files. If this were not the case, * YYLTYPE would be delcared as something in the iec.cc file, and another thing * (actually the default value of YYLTYPE) in the iec_bison.hh heder file. */ %code requires { /* define a new data type to store the locations, so we can also store * the filename in which the token is expressed. */ /* NOTE: since this code will be placed in the iec_bison.hh header file, * as well as the iec.cc file that also includes the iec_bison.hh header file, * declaring the typedef struct yyltype__local here would result in a * compilation error when compiling iec.cc, as this struct would be * declared twice. * We therefore use the #if !defined YYLTYPE ... * to make sure only the first declaration is parsed by the C++ compiler. */ #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED typedef struct YYLTYPE { int first_line; int first_column; const char *first_file; long int first_order; int last_line; int last_column; const char *last_file; long int last_order; } YYLTYPE; #define YYLTYPE_IS_DECLARED 1 #define YYLTYPE_IS_TRIVIAL 0 #endif } %union { symbol_c *leaf; list_c *list; char *ID; /* token value */ } /* TODO: DO we need to define a destructor do free memory when recovering from errors, or do the class destructors already handle this? Following is example on how to define detructors, using the syntax: %destructor { CODE } SYMBOLS %union { char *string; } %token <string> STRING %type <string> string %destructor { free ($$); } STRING string */ /*************************************/ /* Prelimenary helpful constructs... */ /*************************************/ /* A token used to identify the very end of the input file * after all includes have already been processed. * * Flex automatically returns the token with value 0 * at the end of the file. We therefore specify here * a token with that exact same value here, so we can use it * to detect the very end of the input files. */ %token END_OF_INPUT 0 /* A bogus token that, in principle, flex MUST NEVER generate */ /* USE 1: * ====== * This token is currently also being used as the default * initialisation value of the token_id member in * the symbol_c base class. * * USE 2 * ===== * This token may also be used in the future to remove * mysterious reduce/reduce conflicts due to the fact * that our grammar may not be LALR(1) but merely LR(1). * This means that bison cannot handle it without some * caoxing from ourselves. We will then need this token * to do the coaxing... */ %token BOGUS_TOKEN_ID %type <leaf> start %type <leaf> any_identifier %token <ID> prev_declared_variable_name_token %token <ID> prev_declared_direct_variable_token %token <ID> prev_declared_fb_name_token %type <leaf> prev_declared_variable_name %type <leaf> prev_declared_direct_variable %type <leaf> prev_declared_fb_name %token <ID> prev_declared_simple_type_name_token %token <ID> prev_declared_subrange_type_name_token %token <ID> prev_declared_enumerated_type_name_token %token <ID> prev_declared_array_type_name_token %token <ID> prev_declared_structure_type_name_token %token <ID> prev_declared_string_type_name_token %token <ID> prev_declared_ref_type_name_token /* defined in IEC 61131-3 v3 */ %type <leaf> prev_declared_simple_type_name %type <leaf> prev_declared_subrange_type_name %type <leaf> prev_declared_enumerated_type_name %type <leaf> prev_declared_array_type_name %type <leaf> prev_declared_structure_type_name %type <leaf> prev_declared_string_type_name %type <leaf> prev_declared_ref_type_name /* defined in IEC 61131-3 v3 */ %token <ID> prev_declared_derived_function_name_token %token <ID> prev_declared_derived_function_block_name_token %token <ID> prev_declared_program_type_name_token %type <leaf> prev_declared_derived_function_name %type <leaf> prev_declared_derived_function_block_name %type <leaf> prev_declared_program_type_name /**********************************************************************************/ /* B XXX - Things that are missing from the standard, but should have been there! */ /**********************************************************************************/ /* Pragmas that our compiler will accept. * See the comment in iec.flex for why these pragmas exist. */ %token disable_code_generation_pragma_token %token enable_code_generation_pragma_token %type <leaf> disable_code_generation_pragma %type <leaf> enable_code_generation_pragma /* All other pragmas that we do not support... */ /* In most stage 4, the text inside the pragmas will simply be copied to the output file. * This allows us to insert C code (if using stage 4 generating C code) * inside/interningled with the IEC 61131-3 code! */ %token <ID> pragma_token %type <leaf> pragma /* The joining of all previous pragmas, i.e. any possible pragma */ %type <leaf> any_pragma /* Where do these tokens belong?? They are missing from the standard! */ /* NOTE: There are other tokens related to these 'EN' ENO', that are also * missing from the standard. However, their location in the annex B is * relatively obvious, so they have been inserted in what seems to us their * correct place in order to ease understanding of the parser... * * please read the comment above the definition of 'variable' in section B1.4 for details. */ %token EN %token ENO %type <leaf> en_identifier %type <leaf> eno_identifier /* Keywords in IEC 61131-3 v3 */ %token REF %token DREF %token REF_TO %token NULL_token /* cannot use simply 'NULL', as it conflicts with the NULL keyword in C++ */ /***************************/ /* B 0 - Programming Model */ /***************************/ %type <list> library %type <leaf> library_element_declaration /*******************************************/ /* B 1.1 - Letters, digits and identifiers */ /*******************************************/ /* Done totally within flex... letter digit octal_digit hex_digit */ %token <ID> identifier_token %type <leaf> identifier /*********************/ /* B 1.2 - Constants */ /*********************/ %type <leaf> constant %type <leaf> non_int_or_real_constant /*********************************/ /* B 1.2.XX - Reference Literals */ /*********************************/ /* NOTE: The following syntax was added by MJS in order to add support for the NULL keyword, defined in IEC 61131-3 v3 * In v3 expressions that reduce to a reference datatype (REF_TO) are handled explicitly in the syntax * (e.g., any variable that is a of reference datatpe falls under the 'ref_name' rule), which means * that we would need to keep track of which variables are declared as REF_TO. * In order to reduce the changes to the current IEC 61131-3 v2 syntax, I have opted not to do this, * and simply let the ref_expressions (Ref_Assign, Ref_Compare) be interpreted as all other standard expressions * in v2. However, ref_expressions allow the use of the 'NULL' constant, which is handled explicitly * in the ref_expressions syntax of v3. * To allow the use of the 'NULL' constant in this extended v2, I have opted to interpret this 'NULL' constant * as a literal. */ %type <leaf> ref_value_null_literal /* defined in IEC 61131-3 v3 - Basically the 'NULL' keyword! */ /******************************/ /* B 1.2.1 - Numeric Literals */ /******************************/ /* Done totally within flex... bit */ %type <leaf> numeric_literal %type <leaf> integer_literal %type <leaf> signed_integer %token <ID> integer_token %type <leaf> integer %token <ID> binary_integer_token %type <leaf> binary_integer %token <ID> octal_integer_token %type <leaf> octal_integer %token <ID> hex_integer_token %type <leaf> hex_integer %token <ID> real_token %type <leaf> real %type <leaf> signed_real %type <leaf> real_literal // %type <leaf> exponent %type <leaf> bit_string_literal %type <leaf> boolean_literal %token safeboolean_true_literal_token %token safeboolean_false_literal_token %token boolean_true_literal_token %token boolean_false_literal_token %token FALSE %token TRUE /*******************************/ /* B 1.2.2 - Character Strings */ /*******************************/ %token <ID> single_byte_character_string_token %token <ID> double_byte_character_string_token %type <leaf> character_string %type <leaf> single_byte_character_string %type <leaf> double_byte_character_string /***************************/ /* B 1.2.3 - Time Literals */ /***************************/ %type <leaf> time_literal /************************/ /* B 1.2.3.1 - Duration */ /************************/ %type <leaf> duration %type <leaf> interval %type <leaf> days %type <leaf> fixed_point %type <leaf> hours %type <leaf> minutes %type <leaf> seconds %type <leaf> milliseconds %token <ID> fixed_point_token %token <ID> fixed_point_d_token %token <ID> integer_d_token %token <ID> fixed_point_h_token %token <ID> integer_h_token %token <ID> fixed_point_m_token %token <ID> integer_m_token %token <ID> fixed_point_s_token %token <ID> integer_s_token %token <ID> fixed_point_ms_token %token <ID> integer_ms_token %token <ID> end_interval_token %token <ID> erroneous_interval_token // %token TIME %token T_SHARP /************************************/ /* B 1.2.3.2 - Time of day and Date */ /************************************/ %type <leaf> time_of_day %type <leaf> daytime %type <leaf> day_hour %type <leaf> day_minute %type <leaf> day_second %type <leaf> date %type <leaf> date_literal %type <leaf> year %type <leaf> month %type <leaf> day %type <leaf> date_and_time // %token TIME_OF_DAY // %token DATE %token D_SHARP // %token DATE_AND_TIME /**********************/ /* B 1.3 - Data Types */ /**********************/ /* Strangely, the following symbol does seem to be required! */ // %type <leaf> data_type_name %type <leaf> non_generic_type_name /***********************************/ /* B 1.3.1 - Elementary Data Types */ /***********************************/ /* NOTES: * * - To make the definition of bit_string_literal more * concise, it is useful to use an extra non-terminal * symbol (i.e. a grouping or construct) that groups the * following elements (BYTE, WORD, DWORD, LWORD). * Note that the definition of bit_string_type_name * (according to the spec) includes the above elements * and an extra BOOL. * We could use an extra construct with the first four * elements to be used solely in the definition of * bit_string_literal, but with the objective of not * having to replicate the actions (if we ever need * to change them, they would need to be changed in both * bit_string_type_name and the extra grouping), we * have re-defined bit_string_type_name as only including * the first four elements. * In order to have our parser implement the specification * correctly we have augmented every occurence of * bit_string_type_name in other rules with the BOOL * token. Since bit_string_type_name only appears in * the rule for elementary_type_name, this does not * seem to be a big concession to make! * * - We have added a helper symbol to concentrate the * instantiation of STRING and WSTRING into a single * location (elementary_string_type_name). * These two elements show up in several other rules, * but we want to create the equivalent abstract syntax * in a single location of this file, in order to make * possible future changes easier to edit... */ %type <leaf> elementary_type_name %type <leaf> numeric_type_name %type <leaf> integer_type_name %type <leaf> signed_integer_type_name %type <leaf> unsigned_integer_type_name %type <leaf> real_type_name %type <leaf> date_type_name %type <leaf> bit_string_type_name /* helper symbol to concentrate the instantiation * of STRING and WSTRING into a single location */ %type <leaf> elementary_string_type_name %token BYTE %token WORD %token DWORD %token LWORD %token LREAL %token REAL %token SINT %token INT %token DINT %token LINT %token USINT %token UINT %token UDINT %token ULINT %token WSTRING %token STRING %token BOOL %token TIME %token DATE %token DATE_AND_TIME %token DT %token TIME_OF_DAY %token TOD /******************************************************/ /* Symbols defined in */ /* "Safety Software Technical Specification, */ /* Part 1: Concepts and Function Blocks, */ /* Version 1.0 – Official Release" */ /* by PLCopen - Technical Committee 5 - 2006-01-31 */ /******************************************************/ %token SAFEBYTE %token SAFEWORD %token SAFEDWORD %token SAFELWORD %token SAFELREAL %token SAFEREAL %token SAFESINT %token SAFEINT %token SAFEDINT %token SAFELINT %token SAFEUSINT %token SAFEUINT %token SAFEUDINT %token SAFEULINT %token SAFEWSTRING %token SAFESTRING %token SAFEBOOL %token SAFETIME %token SAFEDATE %token SAFEDATE_AND_TIME %token SAFEDT %token SAFETIME_OF_DAY %token SAFETOD /********************************/ /* B 1.3.2 - Generic data types */ /********************************/ /* Strangely, the following symbol does seem to be required! */ // %type <leaf> generic_type_name /* The following tokens do not seem to be used either * but we declare them so they become reserved words... */ %token ANY %token ANY_DERIVED %token ANY_ELEMENTARY %token ANY_MAGNITUDE %token ANY_NUM %token ANY_REAL %token ANY_INT %token ANY_BIT %token ANY_STRING %token ANY_DATE /********************************/ /* B 1.3.3 - Derived data types */ /********************************/ %type <leaf> derived_type_name %type <leaf> single_element_type_name // %type <leaf> simple_type_name // %type <leaf> subrange_type_name // %type <leaf> enumerated_type_name // %type <leaf> array_type_name // %type <leaf> structure_type_name %type <leaf> data_type_declaration /* helper symbol for data_type_declaration */ %type <list> type_declaration_list %type <leaf> type_declaration %type <leaf> single_element_type_declaration %type <leaf> simple_type_declaration %type <leaf> simple_spec_init %type <leaf> simple_specification %type <leaf> subrange_type_declaration %type <leaf> subrange_spec_init %type <leaf> subrange_specification %type <leaf> subrange /* A non standard construct, used to support the use of variables in array subranges. e.g.: ARRAY [12..max] OF INT */ %type <leaf> subrange_with_var %type <leaf> enumerated_type_declaration %type <leaf> enumerated_spec_init %type <leaf> enumerated_specification /* helper symbol for enumerated_value */ %type <list> enumerated_value_list %type <leaf> enumerated_value //%type <leaf> enumerated_value_without_identifier %type <leaf> array_type_declaration %type <leaf> array_spec_init %type <leaf> array_specification /* helper symbol for array_specification */ %type <list> array_subrange_list %type <leaf> array_initialization /* helper symbol for array_initialization */ %type <list> array_initial_elements_list %type <leaf> array_initial_elements %type <leaf> array_initial_element %type <leaf> structure_type_declaration %type <leaf> structure_specification %type <leaf> initialized_structure %type <leaf> structure_declaration /* helper symbol for structure_declaration */ %type <list> structure_element_declaration_list %type <leaf> structure_element_declaration %type <leaf> structure_element_name %type <leaf> structure_initialization /* helper symbol for structure_initialization */ %type <list> structure_element_initialization_list %type <leaf> structure_element_initialization //%type <leaf> string_type_name %type <leaf> string_type_declaration /* helper symbol for string_type_declaration */ %type <leaf> string_type_declaration_size /* helper symbol for string_type_declaration */ %type <leaf> string_type_declaration_init %token ASSIGN %token DOTDOT /* ".." */ %token TYPE %token END_TYPE %token ARRAY %token OF %token STRUCT %token END_STRUCT %type <leaf> ref_spec /* defined in IEC 61131-3 v3 */ %type <leaf> ref_spec_non_recursive /* helper symbol */ %type <leaf> ref_spec_init /* defined in IEC 61131-3 v3 */ %type <leaf> ref_type_decl /* defined in IEC 61131-3 v3 */ /*********************/ /* B 1.4 - Variables */ /*********************/ %type <leaf> variable %type <leaf> symbolic_variable /* helper symbol for prog_cnxn */ %type <leaf> any_symbolic_variable %type <leaf> variable_name /********************************************/ /* B.1.4.1 Directly Represented Variables */ /********************************************/ /* Done totally within flex... location_prefix size_prefix */ %token <ID> direct_variable_token //%type <leaf> direct_variable /*************************************/ /* B.1.4.2 Multi-element Variables */ /*************************************/ %type <leaf> multi_element_variable /* helper symbol for any_symbolic_variable */ %type <leaf> any_multi_element_variable %type <leaf> array_variable /* helper symbol for any_symbolic_variable */ %type <leaf> any_array_variable %type <leaf> subscripted_variable /* helper symbol for any_symbolic_variable */ %type <leaf> any_subscripted_variable %type <list> subscript_list %type <leaf> subscript %type <leaf> structured_variable /* helper symbol for any_symbolic_variable */ %type <leaf> any_structured_variable %type <leaf> record_variable /* helper symbol for any_symbolic_variable */ %type <leaf> any_record_variable %type <leaf> field_selector /******************************************/ /* B 1.4.3 - Declaration & Initialisation */ /******************************************/ %type <leaf> input_declarations /* helper symbol for input_declarations */ %type <list> input_declaration_list %type <leaf> input_declaration %type <leaf> edge_declaration /* en_param_declaration is not in the standard, but should be! */ %type <leaf> en_param_declaration %type <leaf> var_init_decl %type <leaf> var1_init_decl %type <list> var1_list %type <leaf> array_var_init_decl %type <leaf> structured_var_init_decl %type <leaf> fb_name_decl /* helper symbol for fb_name_decl */ %type <list> fb_name_list_with_colon /* helper symbol for fb_name_list_with_colon */ %type <list> var1_list_with_colon // %type <list> fb_name_list // %type <leaf> fb_name %type <leaf> output_declarations %type <leaf> var_output_init_decl %type <list> var_output_init_decl_list /* eno_param_declaration is not in the standard, but should be! */ %type <leaf> eno_param_declaration %type <leaf> input_output_declarations /* helper symbol for input_output_declarations */ %type <list> var_declaration_list %type <leaf> var_declaration %type <leaf> temp_var_decl %type <leaf> var1_declaration %type <leaf> array_var_declaration %type <leaf> structured_var_declaration %type <leaf> var_declarations %type <leaf> retentive_var_declarations %type <leaf> located_var_declarations /* helper symbol for located_var_declarations */ %type <list> located_var_decl_list %type <leaf> located_var_decl %type <leaf> external_var_declarations /* helper symbol for external_var_declarations */ %type <list> external_declaration_list %type <leaf> external_declaration %type <leaf> global_var_name %type <leaf> global_var_declarations /* helper symbol for global_var_declarations */ %type <list> global_var_decl_list %type <leaf> global_var_decl %type <leaf> global_var_spec %type <leaf> located_var_spec_init %type <leaf> location %type <list> global_var_list %type <leaf> string_var_declaration %type <leaf> single_byte_string_var_declaration %type <leaf> single_byte_string_spec %type <leaf> double_byte_string_var_declaration %type <leaf> double_byte_string_spec %type <leaf> incompl_located_var_declarations /* helper symbol for incompl_located_var_declarations */ %type <list> incompl_located_var_decl_list %type <leaf> incompl_located_var_decl %type <leaf> incompl_location %type <leaf> var_spec /* helper symbol for var_spec */ %type <leaf> string_spec /* intermediate helper symbol for: * - non_retentive_var_decls * - var_declarations */ %type <list> var_init_decl_list %token <ID> incompl_location_token %token VAR_INPUT %token VAR_OUTPUT %token VAR_IN_OUT %token VAR_EXTERNAL %token VAR_GLOBAL %token END_VAR %token RETAIN %token NON_RETAIN %token R_EDGE %token F_EDGE %token AT /***********************/ /* B 1.5.1 - Functions */ /***********************/ // %type <leaf> function_name /* helper symbol for IL language */ %type <leaf> function_name_no_clashes %type <leaf> function_name_simpleop_clashes //%type <leaf> function_name_expression_clashes /* helper symbols for ST language */ //%type <leaf> function_name_NOT_clashes %type <leaf> function_name_no_NOT_clashes //%type <leaf> standard_function_name /* helper symbols for IL language */ %type <leaf> standard_function_name_no_clashes %type <leaf> standard_function_name_simpleop_clashes %type <leaf> standard_function_name_expression_clashes /* helper symbols for ST language */ %type <leaf> standard_function_name_NOT_clashes %type <leaf> standard_function_name_no_NOT_clashes %type <leaf> derived_function_name %type <leaf> function_declaration /* helper symbol for function_declaration */ %type <leaf> function_name_declaration %type <leaf> io_var_declarations %type <leaf> function_var_decls %type <leaf> function_body %type <leaf> var2_init_decl /* intermediate helper symbol for function_declaration */ %type <list> io_OR_function_var_declarations_list /* intermediate helper symbol for function_var_decls */ %type <list> var2_init_decl_list %token <ID> standard_function_name_token %token FUNCTION %token END_FUNCTION %token CONSTANT /*****************************/ /* B 1.5.2 - Function Blocks */ /*****************************/ %type <leaf> function_block_type_name %type <leaf> standard_function_block_name %type <leaf> derived_function_block_name %type <leaf> function_block_declaration %type <leaf> other_var_declarations %type <leaf> temp_var_decls %type <leaf> non_retentive_var_decls %type <leaf> function_block_body /* intermediate helper symbol for function_declaration */ %type <list> io_OR_other_var_declarations_list /* intermediate helper symbol for temp_var_decls */ %type <list> temp_var_decls_list %token <ID> standard_function_block_name_token %token FUNCTION_BLOCK %token END_FUNCTION_BLOCK %token VAR_TEMP // %token END_VAR %token VAR // %token NON_RETAIN // %token END_VAR /**********************/ /* B 1.5.3 - Programs */ /**********************/ %type <leaf> program_type_name %type <leaf> program_declaration /* helper symbol for program_declaration */ %type <list> program_var_declarations_list %token PROGRAM %token END_PROGRAM /********************************************/ /* B 1.6 Sequential Function Chart elements */ /********************************************/ %type <list> sequential_function_chart %type <list> sfc_network %type <leaf> initial_step %type <leaf> step %type <list> action_association_list %type <leaf> step_name %type <leaf> action_association /* helper symbol for action_association */ %type <list> indicator_name_list %type <leaf> action_name %type <leaf> action_qualifier %type <leaf> qualifier %type <leaf> timed_qualifier %type <leaf> action_time %type <leaf> indicator_name %type <leaf> transition %type <leaf> steps %type <list> step_name_list %type <leaf> transition_priority %type <leaf> transition_condition %type <leaf> action %type <leaf> action_body %type <leaf> transition_name // %token ASSIGN %token ACTION %token END_ACTION %token TRANSITION %token END_TRANSITION %token FROM %token TO %token PRIORITY %token INITIAL_STEP %token STEP %token END_STEP %token L %token D %token SD %token DS %token SL %token N %token P %token P0 %token P1 /* NOTE: the following two clash with the R and S IL operators. * It will have to be handled when we include parsing of SFC... */ /* %token R %token S */ /********************************/ /* B 1.7 Configuration elements */ /********************************/ %type <leaf> configuration_name %type <leaf> resource_type_name %type <leaf> configuration_declaration // helper symbol for // - configuration_declaration // - resource_declaration // %type <list> global_var_declarations_list // helper symbol for configuration_declaration %type <leaf> optional_access_declarations // helper symbol for configuration_declaration %type <leaf> optional_instance_specific_initializations // helper symbol for configuration_declaration %type <list> resource_declaration_list %type <leaf> resource_declaration %type <leaf> single_resource_declaration // helper symbol for single_resource_declaration %type <list> task_configuration_list // helper symbol for single_resource_declaration %type <list> program_configuration_list %type <leaf> resource_name // %type <leaf> access_declarations // helper symbol for access_declarations // %type <leaf> access_declaration_list // %type <leaf> access_declaration // %type <leaf> access_path // helper symbol for access_path %type <list> any_fb_name_list %type <leaf> global_var_reference // %type <leaf> access_name %type <leaf> program_output_reference %type <leaf> program_name // %type <leaf> direction %type <leaf> task_configuration %type <leaf> task_name %type <leaf> task_initialization // 3 helper symbols for task_initialization %type <leaf> task_initialization_single %type <leaf> task_initialization_interval %type <leaf> task_initialization_priority %type <leaf> data_source %type <leaf> program_configuration // helper symbol for program_configuration %type <leaf> optional_task_name // helper symbol for program_configuration %type <leaf> optional_prog_conf_elements %type <list> prog_conf_elements %type <leaf> prog_conf_element %type <leaf> fb_task %type <leaf> prog_cnxn %type <leaf> prog_data_source %type <leaf> data_sink %type <leaf> instance_specific_initializations // helper symbol for instance_specific_initializations %type <list> instance_specific_init_list %type <leaf> instance_specific_init // helper symbol for instance_specific_init %type <leaf> fb_initialization %type <leaf> prev_declared_global_var_name %token <ID> prev_declared_global_var_name_token %type <leaf> prev_declared_program_name %token <ID> prev_declared_program_name_token %type <leaf> prev_declared_resource_name %token <ID> prev_declared_resource_name_token %type <leaf> prev_declared_configuration_name %token <ID> prev_declared_configuration_name_token // %type <leaf> prev_declared_task_name // %token <ID> prev_declared_task_name_token %token CONFIGURATION %token END_CONFIGURATION %token TASK %token RESOURCE %token ON %token END_RESOURCE %token VAR_CONFIG %token VAR_ACCESS // %token END_VAR %token WITH // %token PROGRAM // %token RETAIN // %token NON_RETAIN // %token PRIORITY %token SINGLE %token INTERVAL %token READ_WRITE %token READ_ONLY /***********************************/ /* B 2.1 Instructions and Operands */ /***********************************/ %type <list> instruction_list %type <leaf> il_instruction %type <leaf> il_incomplete_instruction %type <leaf> label %type <leaf> il_simple_operation // helper symbol for il_simple_operation //%type <tmp_symbol> il_simple_operator_clash_il_operand %type <leaf> il_expression %type <leaf> il_jump_operation %type <leaf> il_fb_call %type <leaf> il_formal_funct_call // helper symbol for il_formal_funct_call %type <leaf> il_expr_operator_clash_eol_list %type <leaf> il_operand %type <list> il_operand_list // helper symbol for il_simple_operation %type <list> il_operand_list2 %type <list> simple_instr_list %type <leaf> il_simple_instruction %type <list> il_param_list %type <list> il_param_instruction_list %type <leaf> il_param_instruction %type <leaf> il_param_last_instruction %type <leaf> il_param_assignment %type <leaf> il_param_out_assignment %token EOL /*******************/ /* B 2.2 Operators */ /*******************/ %token <ID> sendto_identifier_token %type <leaf> sendto_identifier %type <leaf> LD_operator %type <leaf> LDN_operator %type <leaf> ST_operator %type <leaf> STN_operator %type <leaf> NOT_operator %type <leaf> S_operator %type <leaf> R_operator %type <leaf> S1_operator %type <leaf> R1_operator %type <leaf> CLK_operator %type <leaf> CU_operator %type <leaf> CD_operator %type <leaf> PV_operator %type <leaf> IN_operator %type <leaf> PT_operator %type <leaf> AND_operator %type <leaf> AND2_operator %type <leaf> OR_operator %type <leaf> XOR_operator %type <leaf> ANDN_operator %type <leaf> ANDN2_operator %type <leaf> ORN_operator %type <leaf> XORN_operator %type <leaf> ADD_operator %type <leaf> SUB_operator %type <leaf> MUL_operator %type <leaf> DIV_operator %type <leaf> MOD_operator %type <leaf> GT_operator %type <leaf> GE_operator %type <leaf> EQ_operator %type <leaf> LT_operator %type <leaf> LE_operator %type <leaf> NE_operator %type <leaf> CAL_operator %type <leaf> CALC_operator %type <leaf> CALCN_operator %type <leaf> RET_operator %type <leaf> RETC_operator %type <leaf> RETCN_operator %type <leaf> JMP_operator %type <leaf> JMPC_operator %type <leaf> JMPCN_operator %type <leaf> il_simple_operator %type <leaf> il_simple_operator_clash %type <leaf> il_simple_operator_clash1 %type <leaf> il_simple_operator_clash2 %type <leaf> il_simple_operator_clash3 %type <leaf> il_simple_operator_noclash //%type <leaf> il_expr_operator %type <leaf> il_expr_operator_clash %type <leaf> il_expr_operator_noclash %type <leaf> il_assign_operator %type <leaf> il_assign_out_operator %type <leaf> il_call_operator %type <leaf> il_return_operator %type <leaf> il_jump_operator %token LD %token LDN %token ST %token STN %token NOT %token S %token R %token S1 %token R1 %token CLK %token CU %token CD %token PV %token IN %token PT %token AND %token AND2 /* character '&' in the source code*/ %token OR %token XOR %token ANDN %token ANDN2 /* characters '&N' in the source code */ %token ORN %token XORN %token ADD %token SUB %token MUL %token DIV %token MOD %token GT %token GE %token EQ %token LT %token LE %token NE %token CAL %token CALC %token CALCN %token RET %token RETC %token RETCN %token JMP %token JMPC %token JMPCN %token SENDTO /* "=>" */ /***********************/ /* B 3.1 - Expressions */ /***********************/ /* NOTE: * * - unary_operator, multiply_operator, * add_operator and comparison_operator * are not required. Their values are integrated * directly into other rules... */ %type <leaf> ref_expression /* an extension to the IEC 61131-3 v2 standard, based on the IEC 61131-3 v3 standard */ %type <leaf> deref_expression /* an extension to the IEC 61131-3 v2 standard, based on the IEC 61131-3 v3 standard */ %type <leaf> expression %type <leaf> xor_expression %type <leaf> and_expression %type <leaf> comparison %type <leaf> equ_expression // %type <leaf> comparison_operator %type <leaf> add_expression // %type <leaf> add_operator %type <leaf> term // %type <leaf> multiply_operator %type <leaf> power_expression %type <leaf> unary_expression // %type <leaf> unary_operator %type <leaf> primary_expression %type <leaf> non_int_or_real_primary_expression /* intermediate helper symbol for primary_expression */ %type <leaf> function_invocation // %token AND // %token XOR // %token OR // %token MOD // %token NOT %token OPER_NE %token OPER_GE %token OPER_LE %token OPER_EXP /********************/ /* B 3.2 Statements */ /********************/ %type <list> statement_list %type <leaf> statement /*********************************/ /* B 3.2.1 Assignment Statements */ /*********************************/ %type <leaf> assignment_statement // %token ASSIGN /* ":=" */ /*****************************************/ /* B 3.2.2 Subprogram Control Statements */ /*****************************************/ %type <leaf> subprogram_control_statement %type <leaf> return_statement %type <leaf> fb_invocation // %type <leaf> param_assignment %type <leaf> param_assignment_formal %type <leaf> param_assignment_nonformal /* helper symbols for fb_invocation */ %type <list> param_assignment_formal_list %type <list> param_assignment_nonformal_list // %token ASSIGN // %token SENDTO /* "=>" */ %token RETURN /********************************/ /* B 3.2.3 Selection Statements */ /********************************/ %type <leaf> selection_statement %type <leaf> if_statement %type <leaf> case_statement %type <leaf> case_element %type <list> case_list %type <leaf> case_list_element /* helper symbol for if_statement */ %type <list> elseif_statement_list /* helper symbol for elseif_statement_list */ %type <leaf> elseif_statement /* helper symbol for case_statement */ %type <list> case_element_list %token IF %token THEN %token ELSIF %token ELSE %token END_IF %token CASE // %token OF // %token ELSE %token END_CASE /********************************/ /* B 3.2.4 Iteration Statements */ /********************************/ %type <leaf> iteration_statement %type <leaf> for_statement %type <leaf> control_variable %type <leaf> while_statement %type <leaf> repeat_statement %type <leaf> exit_statement /* Integrated directly into for_statement */ // %type <leaf> for_list %token FOR // %token ASSIGN // %token TO %token BY %token DO %token END_FOR %token WHILE // %token DO %token END_WHILE %token REPEAT %token UNTIL %token END_REPEAT %token EXIT %% /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ /********************************************************/ start: library {$$ = $1;} ; /**********************************************************************************/ /* B XXX - Things that are missing from the standard, but should have been there! */ /**********************************************************************************/ /* the pragmas... */ disable_code_generation_pragma: disable_code_generation_pragma_token {$$ = new disable_code_generation_pragma_c(locloc(@$));} enable_code_generation_pragma: enable_code_generation_pragma_token {$$ = new enable_code_generation_pragma_c(locloc(@$));} pragma: pragma_token {$$ = new pragma_c($1, locloc(@$));} any_pragma: disable_code_generation_pragma | enable_code_generation_pragma | pragma ; /* EN/ENO */ /* Tese tokens are essentially used as variable names, so we handle them * similarly to these... */ en_identifier: EN {$$ = new identifier_c("EN", locloc(@$));} ; eno_identifier: ENO {$$ = new identifier_c("ENO", locloc(@$));} ; /*************************************/ /* Prelimenary helpful constructs... */ /*************************************/ /* NOTE: * short version: * identifier is used for previously undeclared identifiers * any_identifier is used when any identifier, previously * declared or not, is required in the syntax. * * long version: * When flex comes across an identifier, it first * searches through the currently declared variables, * functions, types, etc... to determine if it has * been previously declared. * Only if the identifier has not yet been declared * will it return an identifier_token (later turned into * an identifier symbol by the bison generated syntax parser). * * Some constructs in the syntax, such as when calling * a function 'F(var1 := 1; var2 := 2);', will accept _any_ * identifier in 'var1', even if it has been previously * declared in the current scope, since var1 belongs to * another scope (the variables declared in function F). * * For the above reason, we need to define the symbol * any_identifier. All the symbols that may become an * any_identifier are expected to be stored in the * abstract syntax as a identifier_c */ /* NOTE: * Type names, function names, function block type names and * program type names are considerd keywords once they are defined, * so may no longer be used for variable names! * BUT the spec is confusing on this issue, as it is not clear when * a function name should be considered as defined. If it is to be * considered defined only from the location from where it is declared * and onwards, it means that before it is declared its name may be * used for variable names! * This means that we must allow names previously used for functions * (et. al.) to also constitue an any_identifier! */ any_identifier: identifier | prev_declared_fb_name | prev_declared_variable_name /**/ /* ref_type_name is defined in IEC 61131-3 v3 */ | prev_declared_ref_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_simple_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_subrange_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_enumerated_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_array_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_structure_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_string_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_derived_function_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the poutype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_derived_function_block_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the poutype_identifier_c into an identifier_c, as it will be taking the place of an identifier! | prev_declared_program_type_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$));}; // change the poutype_identifier_c into an identifier_c, as it will be taking the place of an identifier! /**/ | prev_declared_resource_name | prev_declared_program_name | prev_declared_global_var_name ; /* NOTE: Notice that the symbol classes: * - derived_datatype_identifier_c * - poutype_identifier_c * are only inserted into the AST when referencing a derived dataype or a POU * (e.g. when declaring a variable, making a function call, instantiating a program in a resource, * or delaring a derived datatype that derives from another previously delcared datatype). * * In the declaration of the datatype or POU itself, the name of the datatype or POU will be stored * inside an identifier_c instead!! */ prev_declared_variable_name: prev_declared_variable_name_token {$$ = new identifier_c($1, locloc(@$));}; prev_declared_fb_name: prev_declared_fb_name_token {$$ = new identifier_c($1, locloc(@$));}; prev_declared_simple_type_name: prev_declared_simple_type_name_token {$$ = new derived_datatype_identifier_c($1, locloc(@$));}; prev_declared_subrange_type_name: prev_declared_subrange_type_name_token {$$ = new derived_datatype_identifier_c($1, locloc(@$));}; prev_declared_enumerated_type_name: prev_declared_enumerated_type_name_token {$$ = new derived_datatype_identifier_c($1, locloc(@$));}; prev_declared_array_type_name: prev_declared_array_type_name_token {$$ = new derived_datatype_identifier_c($1, locloc(@$));}; prev_declared_structure_type_name: prev_declared_structure_type_name_token {$$ = new derived_datatype_identifier_c($1, locloc(@$));}; prev_declared_string_type_name: prev_declared_string_type_name_token {$$ = new derived_datatype_identifier_c($1, locloc(@$));}; prev_declared_ref_type_name: prev_declared_ref_type_name_token {$$ = new derived_datatype_identifier_c($1, locloc(@$));}; /* defined in IEC 61131-3 v3 */ prev_declared_derived_function_name: prev_declared_derived_function_name_token {$$ = new poutype_identifier_c($1, locloc(@$));}; prev_declared_derived_function_block_name: prev_declared_derived_function_block_name_token {$$ = new poutype_identifier_c($1, locloc(@$));}; prev_declared_program_type_name: prev_declared_program_type_name_token {$$ = new poutype_identifier_c($1, locloc(@$));}; /* NOTE: The poutype_identifier_c was introduced to allow the implementation of remove_forward_dependencies_c */ /***************************/ /* B 0 - Programming Model */ /***************************/ library: /* empty */ {if (tree_root == NULL) tree_root = new library_c(); $$ = (list_c *)tree_root; } | library library_element_declaration {$$ = $1; $$->add_element($2);} | library any_pragma {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | library error library_element_declaration {$$ = $1; print_err_msg(locf(@2), locl(@2), "unknown syntax error."); yyerrok;} | library error END_OF_INPUT {$$ = $1; print_err_msg(locf(@2), locl(@2), "unknown syntax error."); yyerrok;} /* ERROR_CHECK_END */ ; library_element_declaration: data_type_declaration | function_declaration | function_block_declaration | program_declaration | configuration_declaration ; /*******************************************/ /* B 1.1 - Letters, digits and identifiers */ /*******************************************/ /* NOTE: the spec defines identifier as: * identifier ::= (letter|('_' (letter|digit))) {['_'] (letter|digit)} * In essence, any sequence of letters or digits, starting with a letter * or '_'. * * On section 2.1.3 (pg 26) , the spec states * "The keywords listed in annex C shall not be used for any other purpose, * e.g., variable names or extensions as defined in 1.5.1." * (NOTE: the spec itself does not follow this rule, as it defines standard * functions with names identidal to keywords, e.g. 'MOD', 'NOT' !!. This is * another issue altogether, and is worked around somewhere else...) * * This means that we must re-define indentifier so as to exclude * any keywords defined in annex C. * * Note also that the list includes * - Data type names * - Function names * - Function Block names * This means that any named used for a function name, data type name * or function block name, essentially becomes a keyword, and may therefore * no longer be re-used for any other use! (see NOTE 2) * * In our case, excluding the keywords is achieved in the lexical parser, * by two mechanisms: * (1) giving higher priority to the keywords (tokens) than to identifiers, * so when the lexical parser finds a keyword it will be parsed as a * token before being parsed as an identifier. * (2) when an identifier is found that is not a keyword, the lexical parser * then looks in the global symbol table, and will not return an identifier * if the name has been previously used as a data type name, function name, * or function block name! (In these cases it will return a * prev_declared_function_name_token, etc...). * * Unfortunately, the language (especially IL) uses tokens that are * not defined as keywords in the spec (e.g. 'IN', 'R1', 'S1', 'PT', etc...)! * This means that it is valid to name a function 'IN', a variable 'PT', etc... * In order to solve this potential ambiguity, flex only parses the above * identifiers as keywords / tokens if we are currently parsing IL code. * When parsing all code other than IL code, the above identifiers are treated * just like any other identifier. * * * * * NOTE 2: * I (Mario) find it strange that the writers of the spec really want * names previously used for function names, data type names or function * block names, to become full fledged keywords. I understand that they * do not want these names being used as variable names, but how about * enumeration values? How about structure element names? * If we interpret the spec literally, these would not be accepted, * which would probably burden the programmer quite a bit, in making sure * all these name don't clash! * * * * NOTE 3: The keywords, as specified in Annex C are... * * - Data type names * - Function names * - Function Block names * - ACTION...END_ACTION * - ARRAY...OF * - AT * - CASE...OF...ELSE...END_CASE * - CONFIGURATION...END_CONFIGURATION * - CONSTANT * - EN, ENO * - EXIT * - FALSE * - F_EDGE * - FOR...TO...BY...DO...END_FOR * - FUNCTION...END_FUNCTION * - FUNCTION_BLOCK...END_FUNCTION_BLOCK * - IF...THEN...ELSIF...ELSE...END_IF * - INITIAL_STEP...END_STEP * - NOT, MOD, AND, XOR, OR * - PROGRAM...WITH... * - PROGRAM...END_PROGRAM * - R_EDGE * - READ_ONLY, READ_WRITE * - REPEAT...UNTIL...END_REPEAT * - RESOURCE...ON...END_RESOURCE * - RETAIN, NON_RETAIN * - RETURN * - STEP...END_STEP * - STRUCT...END_STRUCT * - TASK * - TRANSITION...FROM...TO...END_TRANSITION * - TRUE * - TYPE...END_TYPE * - VAR...END_VAR * - VAR_INPUT...END_VAR * - VAR_OUTPUT...END_VAR * - VAR_IN_OUT...END_VAR * - VAR_TEMP...END_VAR * - VAR_EXTERNAL...END_VAR * - VAR_ACCESS...END_VAR * - VAR_CONFIG...END_VAR * - VAR_GLOBAL...END_VAR * - WHILE...DO...END_WHILE * - WITH */ identifier: identifier_token {$$ = new identifier_c($1, locloc(@$));} ; /*********************/ /* B 1.2 - Constants */ /*********************/ constant: character_string | time_literal | bit_string_literal | boolean_literal | numeric_literal /* NOTE: Our definition of numeric_literal is diferent than the one in the standard. * We will now add what is missing in our definition of numeric literal, so our * definition of constant matches what the definition of constant in the standard. */ /* NOTE: in order to remove reduce/reduce conflicts, * [between -9.5 being parsed as * (i) a signed real, * (ii) or as a real preceded by the '-' operator * ] * we need to define a variant of the constant construct * where any real or integer constant is always preceded by * a sign (i.e. the '-' or '+' characters). * (For more info, see comment in the construct non_int_or_real_primary_expression) * * For the above reason, our definition of the numeric_literal construct * is missing the integer and real constrcuts (when not preceded by a sign) * so we add then here explicitly! */ | real | integer /* NOTE: unsigned_integer, although used in some * rules, is not defined in the spec! * We therefore replaced unsigned_integer as integer */ | ref_value_null_literal /* defined in IEC 61131-3 v3. Basically the 'NULL' keyword! */ ; non_int_or_real_constant: character_string | time_literal | bit_string_literal | boolean_literal | numeric_literal /* NOTE: Our definition of numeric_literal is diferent than the one in the standard. * It is missing the integer and real when not prefixed by a sign * (i.e. -54, +42 is included in numerical_literal, * but 54, 42 is not parsed as a numeric_literal!!) */ /* NOTE: in order to remove reduce/reduce conflicts, * [between -9.5 being parsed as * (i) a signed real, * (ii) or as a real preceded by the '-' operator * ] * [and a similar situation for integers!] * we need to define a variant of the constant construct * where any real or integer constant is always preceded by * a sign (i.e. the '-' or '+' characters). * * For the above reason, our definition of the numeric_literal construct * is missing the integer and real constrcuts (when not preceded by a sign) */ ; /*********************************/ /* B 1.2.XX - Reference Literals */ /*********************************/ /* NOTE: The following syntax was added by MJS in order to add support for the NULL keyword, defined in IEC 61131-3 v3 * Please read the comment where the 'ref_value_null_literal' is declared as a <leaf> */ /* defined in IEC 61131-3 v3 - Basically the 'NULL' keyword! */ ref_value_null_literal: NULL_token {$$ = new ref_value_null_literal_c(locloc(@$));} ; /******************************/ /* B 1.2.1 - Numeric Literals */ /******************************/ /* NOTES: * * - integer is parsed by flex, but signed_integer * is parsed by bison. Flex cannot parse a signed * integer correctly! For example: '123+456' * would be parsed by flex as an {integer} {signed_integer} * instead of {integer} '+' {integer} * * - Neither flex nor bison can parse a real_literal * completely (and correctly). * Note that we cannot use the definition of real in bison as * real: signed_integer '.' integer [exponent] * exponent: {'E'|'e'} ['+'|'-'] integer * because 123e45 would be parsed by flex as * integer (123) identifier (e45). * I.e., flex never hands over an 'e' directly to * bison, but rather interprets it as an identifier. * I guess we could jump through hoops and get it * working in bison, but the following alternative * seems more straight forward... * * We therefore had to break up the definition of * real_literal in discrete parts: * real_literal: [real_type_name '#'] singned_real * signed_real: ['+'|'-'] real * Flex handles real, while bison handles signed_real * and real_literal. * * - According to the spec, integer '.' integer * may be reduced to either a real or a fixed_point. * It is nevertheless possible to figure out from the * context which of the two rules should be used in * the reduction. * Unfortunately, due to the issue described above * regarding the exponent of a real, the syntax * integer '.' integer * must be parsed by flex as a single token (i.e. * fixed_point_token). This means we must add fixed_point * to the definition of real! * * - The syntax also uses a construct * fixed_point: integer ['.' integer] * Notice that real is not defined based on fixed point, * but rather off integer thus: * real: integer '.' integer [exponent] * This means that a real may not be composed of a single * integer, unlike the construct fixed_point! * This also means that a * integer '.' integer * could be reduced to either a real or a fixed_point * construct. It is probably possible to decide by looking * at the context, BUT: * Unfortunatley, due to the reasons explained way above, * a real (with an exponent) has to be handled by flex as a * whole. This means that we cannot leave to bison (the syntax * parser) the decision of how to reduce an * integer '.' integer * (either to real or to fixed_point) * The decision on how to reduce it would need to be done by * ther lexical analyser (i.e. flex). But flex cannot do this * sort of thing. * The solution I (Mario) adopted is to have flex return * a real_token on (notice that exponent is no longer optional) * integer '.' integer exponent * and to return a fixed_point_token when it finds * integer '.' integer * We now redefine real and fixed_point to be * fixed_point: fixed_point_token | integer * real: real_token | fixed_point_token */ real: real_token {$$ = new real_c($1, locloc(@$));} | fixed_point_token {$$ = new real_c($1, locloc(@$));} ; integer: integer_token {$$ = new integer_c($1, locloc(@$));}; binary_integer: binary_integer_token {$$ = new binary_integer_c($1, locloc(@$));}; octal_integer: octal_integer_token {$$ = new octal_integer_c($1, locloc(@$));}; hex_integer: hex_integer_token {$$ = new hex_integer_c($1, locloc(@$));}; numeric_literal: integer_literal | real_literal ; integer_literal: integer_type_name '#' signed_integer {$$ = new integer_literal_c($1, $3, locloc(@$));} | integer_type_name '#' binary_integer {$$ = new integer_literal_c($1, $3, locloc(@$));} | integer_type_name '#' octal_integer {$$ = new integer_literal_c($1, $3, locloc(@$));} | integer_type_name '#' hex_integer {$$ = new integer_literal_c($1, $3, locloc(@$));} | binary_integer | octal_integer | hex_integer //|signed_integer /* We expand the construct signed_integer here, so we can remove one of its constituents */ //| integer /* REMOVED! see note in the definition of constant for reason why integer is missing here! */ | '+' integer {$$ = $2;} | '-' integer {$$ = new neg_integer_c($2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | integer_type_name signed_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between integer type name and value in integer literal."); yynerrs++;} | integer_type_name binary_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between integer type name and value in integer literal."); yynerrs++;} | integer_type_name octal_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between integer type name and value in integer literal."); yynerrs++;} | integer_type_name hex_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between integer type name and value in integer literal."); yynerrs++;} | integer_type_name '#' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for integer literal.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for integer literal."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: this construct is used in the definition of integer_literal. However, in order to remove * a reduce/reduce conflict (see NOTE in definition of constant for reason why) * it is not used directly, but rather its expansion is copied there. * * If for some reason you need to change the definition of signed_integer, don't forget * to change its expansion in integer_literal too! */ signed_integer: integer | '+' integer {$$ = $2;} | '-' integer {$$ = new neg_integer_c($2, locloc(@$));} ; real_literal: // signed_real /* We expand the construct signed_integer here, so we can remove one of its constituents */ // real /* REMOVED! see note in the definition of constant for reason why real is missing here! */ '+' real {$$ = $2;} | '-' real {$$ = new neg_real_c($2, locloc(@2));} | real_type_name '#' signed_real {$$ = new real_literal_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | real_type_name signed_real {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between real type name and value in real literal."); yynerrs++;} | real_type_name '#' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for real literal.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for real literal."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: this construct is used in the definition of real_literal. However, in order to remove * a reduce/reduce conflict (see NOTE in definition of constant for reason why) * it is not used directly, but rather its expansion is copied there. * * If for some reason you need to change the definition of signed_real, don't forget * to change its expansion in real_literal too! */ signed_real: real | '+' real {$$ = $2;} | '-' real {$$ = new neg_real_c($2, locloc(@2));} ; bit_string_literal: bit_string_type_name '#' integer /* i.e. unsigned_integer */ {$$ = new bit_string_literal_c($1, $3, locloc(@$));} | bit_string_type_name '#' binary_integer {$$ = new bit_string_literal_c($1, $3, locloc(@$));} | bit_string_type_name '#' octal_integer {$$ = new bit_string_literal_c($1, $3, locloc(@$));} | bit_string_type_name '#' hex_integer {$$ = new bit_string_literal_c($1, $3, locloc(@$));} /* NOTE: see note in the definition of constant for reason * why unsigned_integer, binary_integer, octal_integer * and hex_integer are missing here! */ /* NOTE: see note under the B 1.2.1 section of token * and grouping type definition for reason why the use of * bit_string_type_name, although seemingly incorrect, is * really correct here! */ /* ERROR_CHECK_BEGIN */ | bit_string_type_name integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between bit string type name and value in bit string literal."); yynerrs++;} | bit_string_type_name binary_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between bit string type name and value in bit string literal."); yynerrs++;} | bit_string_type_name octal_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between bit string type name and value in bit string literal."); yynerrs++;} | bit_string_type_name hex_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between bit string type name and value in bit string literal."); yynerrs++;} | bit_string_type_name '#' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for bit string literal.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for bit string literal."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; boolean_literal: boolean_true_literal_token {$$ = new boolean_literal_c(new bool_type_name_c(locloc(@$)), new boolean_true_c(locloc(@$)), locloc(@$)); } | boolean_false_literal_token {$$ = new boolean_literal_c(new bool_type_name_c(locloc(@$)), new boolean_false_c(locloc(@$)), locloc(@$)); } | safeboolean_true_literal_token {$$ = new boolean_literal_c(new safebool_type_name_c(locloc(@$)), new boolean_true_c(locloc(@$)), locloc(@$)); } | safeboolean_false_literal_token {$$ = new boolean_literal_c(new safebool_type_name_c(locloc(@$)), new boolean_false_c(locloc(@$)), locloc(@$)); } | FALSE {$$ = new boolean_literal_c(NULL, new boolean_false_c(locloc(@$)), locloc(@$)); } | TRUE {$$ = new boolean_literal_c(NULL, new boolean_true_c(locloc(@$)), locloc(@$)); } /* | BOOL '#' '1' {} | BOOL '#' '0' {} */ /* NOTE: the rules * BOOL '#' '1' * and * BOOL '#' '0' * do not work as expected... * Consider that we are using 'BOOL' and '#' as tokens * that flex hands over to bison (yacc). Because flex would * then parse the single '1' or '0' as an integer, * the rule in bison would have to be * BOOL '#' integer, followed by verifying of the * integer has the correct value! * * We therefore have flex return TRUE whenever it * comes across 'TRUE' or 'BOOL#1', and FALSE whenever * it comes across 'FALSE' or 'BOOL#0'. * Note that this means that flex will parse "BOOL#01" * as FALSE followed by an integer ('1'). * Bison should detect this as an error, so we should * be OK. * * Another option would be to change the rules to accept * BOOL '#' integer * but then check whether the integer has a correct * value! At the moment I feel that the first option * is more straight forward. */ ; /*******************************/ /* B 1.2.2 - Character Strings */ /*******************************/ /* Transform the tokens given us by flex into leafs */ single_byte_character_string: single_byte_character_string_token {$$ = new single_byte_character_string_c($1, locloc(@$));}; double_byte_character_string: double_byte_character_string_token {$$ = new double_byte_character_string_c($1, locloc(@$));}; character_string: single_byte_character_string | double_byte_character_string ; /***************************/ /* B 1.2.3 - Time Literals */ /***************************/ time_literal: time_of_day | date | date_and_time | duration ; /************************/ /* B 1.2.3.1 - Duration */ /************************/ duration: /* (T | TIME) '#' ['-'] interval */ /* NOTE: since TIME is also a data type, it is a keyword * and may therefore be handled by a token. * * Unfortunately T is not a data type, and therefore * not a keyword. This means that we may have variables named T! * Flex cannot return the token TIME when it comes across a single T! * * We therefore have flex returning the token T_SHARP * when it comes across 'T#' */ TIME '#' interval {$$ = new duration_c(new time_type_name_c(locloc(@1)), NULL, $3, locloc(@$));} | TIME '#' '-' interval {$$ = new duration_c(new time_type_name_c(locloc(@1)), new neg_time_c(locloc(@$)), $4, locloc(@$));} | T_SHARP interval {$$ = new duration_c(new time_type_name_c(locloc(@1)), NULL, $2, locloc(@$));} | T_SHARP '-' interval {$$ = new duration_c(new time_type_name_c(locloc(@1)), new neg_time_c(locloc(@$)), $3, locloc(@$));} | SAFETIME '#' interval {$$ = new duration_c(new safetime_type_name_c(locloc(@1)), NULL, $3, locloc(@$));} | SAFETIME '#' '-' interval {$$ = new duration_c(new safetime_type_name_c(locloc(@1)), new neg_time_c(locloc(@$)), $4, locloc(@$));} /* ERROR_CHECK_BEGIN */ | TIME interval {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between 'TIME' and interval in duration."); yynerrs++;} | TIME '-' interval {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between 'TIME' and interval in duration."); yynerrs++;} | TIME '#' erroneous_interval_token {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid value for duration."); yynerrs++;} | T_SHARP erroneous_interval_token {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid value for duration."); yynerrs++;} | TIME '#' '-' erroneous_interval_token {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid value for duration."); yynerrs++;} | T_SHARP '-' erroneous_interval_token {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid value for duration."); yynerrs++;} /* ERROR_CHECK_END */ ; fixed_point: integer | fixed_point_token {$$ = new fixed_point_c($1, locloc(@$));}; interval: days hours minutes seconds milliseconds end_interval_token {$$ = new interval_c($1, $2, $3, $4, $5, locloc(@$));}; ; days: /* fixed_point ('d') */ /* empty */ {$$ = NULL;} | fixed_point_d_token {$$ = new fixed_point_c($1, locloc(@$));}; | integer_d_token {$$ = new integer_c($1, locloc(@$));}; ; hours: /* fixed_point ('h') */ /* empty */ {$$ = NULL;} | fixed_point_h_token {$$ = new fixed_point_c($1, locloc(@$));}; | integer_h_token {$$ = new integer_c($1, locloc(@$));}; ; minutes: /* fixed_point ('m') */ /* empty */ {$$ = NULL;} | fixed_point_m_token {$$ = new fixed_point_c($1, locloc(@$));}; | integer_m_token {$$ = new integer_c($1, locloc(@$));}; ; seconds: /* fixed_point ('s') */ /* empty */ {$$ = NULL;} | fixed_point_s_token {$$ = new fixed_point_c($1, locloc(@$));}; | integer_s_token {$$ = new integer_c($1, locloc(@$));}; ; milliseconds: /* fixed_point ('ms') */ /* empty */ {$$ = NULL;} | fixed_point_ms_token {$$ = new fixed_point_c($1, locloc(@$));}; | integer_ms_token {$$ = new integer_c($1, locloc(@$));}; ; /************************************/ /* B 1.2.3.2 - Time of day and Date */ /************************************/ time_of_day: TIME_OF_DAY '#' daytime {$$ = new time_of_day_c(new tod_type_name_c(locloc(@1)), $3, locloc(@$));} | SAFETIME_OF_DAY '#' daytime {$$ = new time_of_day_c(new safetod_type_name_c(locloc(@1)), $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | TIME_OF_DAY daytime {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between 'TIME_OF_DAY' and daytime in time of day."); yynerrs++;} | TIME_OF_DAY '#' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for time of day.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for time of day."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; daytime: day_hour ':' day_minute ':' day_second {$$ = new daytime_c($1, $3, $5, locloc(@$));} /* ERROR_CHECK_BEGIN */ | ':' day_minute ':' day_second {$$ = NULL; print_err_msg(locf(@1), locl(@4), "no value defined for hours in daytime."); yynerrs++;} | error ':' day_minute ':' day_second {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid value defined for hours in daytime."); yyerrok;} | day_hour day_minute ':' day_second {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between hours and minutes in daytime."); yynerrs++;} | day_hour ':' ':' day_second {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no value defined for minutes in daytime."); yynerrs++;} | day_hour ':' error ':' day_second {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid value defined for minutes in daytime."); yyerrok;} | day_hour ':' day_minute day_second {$$ = NULL; print_err_msg(locl(@3), locf(@4), "':' missing between minutes and seconds in daytime."); yynerrs++;} | day_hour ':' day_minute ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@4), locf(@5), "no value defined for seconds in daytime.");} else {print_err_msg(locf(@5), locl(@5), "invalid value for seconds in daytime."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; day_hour: integer; day_minute: integer; day_second: fixed_point; date: DATE '#' date_literal {$$ = new date_c(new date_type_name_c(locloc(@1)), $3, locloc(@$));} | D_SHARP date_literal {$$ = new date_c(new date_type_name_c(locloc(@1)), $2, locloc(@$));} | SAFEDATE '#' date_literal {$$ = new date_c(new safedate_type_name_c(locloc(@1)), $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | DATE date_literal {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between 'DATE' and date literal in date."); yynerrs++;} | DATE '#' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for date.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for date."); yyclearin;} yyerrok; } | D_SHARP error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no value defined for date.");} else {print_err_msg(locf(@2), locl(@2), "invalid value for date."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; date_literal: year '-' month '-' day {$$ = new date_literal_c($1, $3, $5, locloc(@$));} /* ERROR_CHECK_BEGIN */ | '-' month '-' day {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no value defined for year in date literal."); yynerrs++;} | year month '-' day {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'-' missing between year and month in date literal."); yynerrs++;} | year '-' '-' day {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no value defined for month in date literal."); yynerrs++;} | year '-' error '-' day {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid value defined for month in date literal."); yyerrok;} | year '-' month day {$$ = NULL; print_err_msg(locl(@3), locf(@4), "'-' missing between month and day in date literal."); yynerrs++;} | year '-' month '-' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@4), locf(@5), "no value defined for day in date literal.");} else {print_err_msg(locf(@5), locl(@5), "invalid value for day in date literal."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; year: integer; month: integer; day: integer; date_and_time: DATE_AND_TIME '#' date_literal '-' daytime {$$ = new date_and_time_c(new dt_type_name_c(locloc(@1)), $3, $5, locloc(@$));} | SAFEDATE_AND_TIME '#' date_literal '-' daytime {$$ = new date_and_time_c(new safedt_type_name_c(locloc(@1)), $3, $5, locloc(@$));} /* ERROR_CHECK_BEGIN */ | DATE_AND_TIME date_literal '-' daytime {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between 'DATE_AND_TIME' and date literal in date and time."); yynerrs++;} | DATE_AND_TIME '#' '-' daytime {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no value defined for date literal in date and time."); yynerrs++;} | DATE_AND_TIME '#' error '-' daytime {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid value for date literal in date and time."); yyerrok;} | DATE_AND_TIME '#' date_literal daytime {$$ = NULL; print_err_msg(locl(@3), locf(@4), "'-' missing between date literal and daytime in date and time."); yynerrs++;} | DATE_AND_TIME '#' date_literal '-' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@4), locf(@5), "no value defined for daytime in date and time.");} else {print_err_msg(locf(@5), locl(@5), "invalid value for daytime in date and time."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /**********************/ /* B 1.3 - Data Types */ /**********************/ /* Strangely, the following symbol does seem to be required! */ /* data_type_name: non_generic_type_name | generic_type_name ; */ non_generic_type_name: elementary_type_name | derived_type_name ; /***********************************/ /* B 1.3.1 - Elementary Data Types */ /***********************************/ /******************************************************/ /* SAFExxxx Symbols defined in */ /* "Safety Software Technical Specification, */ /* Part 1: Concepts and Function Blocks, */ /* Version 1.0 – Official Release" */ /* by PLCopen - Technical Committee 5 - 2006-01-31 */ /******************************************************/ elementary_type_name: numeric_type_name | date_type_name | bit_string_type_name | elementary_string_type_name | TIME {$$ = new time_type_name_c(locloc(@$));} | BOOL {$$ = new bool_type_name_c(locloc(@$));} /* NOTE: see note under the B 1.2.1 section of token * and grouping type definition for reason why BOOL * was added to this definition. */ | SAFETIME {$$ = new safetime_type_name_c(locloc(@$));} | SAFEBOOL {$$ = new safebool_type_name_c(locloc(@$));} ; numeric_type_name: integer_type_name | real_type_name ; integer_type_name: signed_integer_type_name | unsigned_integer_type_name ; signed_integer_type_name: SINT {$$ = new sint_type_name_c(locloc(@$));} | INT {$$ = new int_type_name_c(locloc(@$));} | DINT {$$ = new dint_type_name_c(locloc(@$));} | LINT {$$ = new lint_type_name_c(locloc(@$));} | SAFESINT {$$ = new safesint_type_name_c(locloc(@$));} | SAFEINT {$$ = new safeint_type_name_c(locloc(@$));} | SAFEDINT {$$ = new safedint_type_name_c(locloc(@$));} | SAFELINT {$$ = new safelint_type_name_c(locloc(@$));} ; unsigned_integer_type_name: USINT {$$ = new usint_type_name_c(locloc(@$));} | UINT {$$ = new uint_type_name_c(locloc(@$));} | UDINT {$$ = new udint_type_name_c(locloc(@$));} | ULINT {$$ = new ulint_type_name_c(locloc(@$));} | SAFEUSINT {$$ = new safeusint_type_name_c(locloc(@$));} | SAFEUINT {$$ = new safeuint_type_name_c(locloc(@$));} | SAFEUDINT {$$ = new safeudint_type_name_c(locloc(@$));} | SAFEULINT {$$ = new safeulint_type_name_c(locloc(@$));} ; real_type_name: REAL {$$ = new real_type_name_c(locloc(@$));} | LREAL {$$ = new lreal_type_name_c(locloc(@$));} | SAFEREAL {$$ = new safereal_type_name_c(locloc(@$));} | SAFELREAL {$$ = new safelreal_type_name_c(locloc(@$));} ; date_type_name: DATE {$$ = new date_type_name_c(locloc(@$));} | TIME_OF_DAY {$$ = new tod_type_name_c(locloc(@$));} | TOD {$$ = new tod_type_name_c(locloc(@$));} | DATE_AND_TIME {$$ = new dt_type_name_c(locloc(@$));} | DT {$$ = new dt_type_name_c(locloc(@$));} | SAFEDATE {$$ = new safedate_type_name_c(locloc(@$));} | SAFETIME_OF_DAY {$$ = new safetod_type_name_c(locloc(@$));} | SAFETOD {$$ = new safetod_type_name_c(locloc(@$));} | SAFEDATE_AND_TIME {$$ = new safedt_type_name_c(locloc(@$));} | SAFEDT {$$ = new safedt_type_name_c(locloc(@$));} ; bit_string_type_name: BYTE {$$ = new byte_type_name_c(locloc(@$));} | WORD {$$ = new word_type_name_c(locloc(@$));} | DWORD {$$ = new dword_type_name_c(locloc(@$));} | LWORD {$$ = new lword_type_name_c(locloc(@$));} | SAFEBYTE {$$ = new safebyte_type_name_c(locloc(@$));} | SAFEWORD {$$ = new safeword_type_name_c(locloc(@$));} | SAFEDWORD {$$ = new safedword_type_name_c(locloc(@$));} | SAFELWORD {$$ = new safelword_type_name_c(locloc(@$));} /* NOTE: see note under the B 1.2.1 section of token * and grouping type definition for reason why the BOOL * was omitted from this definition. */ ; /* Helper symbol to concentrate the instantiation * of STRING and WSTRING into a single location. * * These two elements show up in several other rules, * but we want to create the equivalent abstract syntax * in a single location of this file, in order to make * possible future changes easier to edit... */ elementary_string_type_name: STRING {$$ = new string_type_name_c(locloc(@$));} | WSTRING {$$ = new wstring_type_name_c(locloc(@$));} | SAFESTRING {$$ = new safestring_type_name_c(locloc(@$));} | SAFEWSTRING {$$ = new safewstring_type_name_c(locloc(@$));} ; /********************************/ /* B 1.3.2 - Generic data types */ /********************************/ /* Strangely, the following symbol does not seem to be required! */ /* generic_type_name: ANY | ANY_DERIVED | ANY_ELEMENTARY | ANY_MAGNITUDE | ANY_NUM | ANY_REAL | ANY_INT | ANY_BIT | ANY_STRING | ANY_DATE ; */ /********************************/ /* B 1.3.3 - Derived data types */ /********************************/ derived_type_name: single_element_type_name | prev_declared_array_type_name | prev_declared_structure_type_name | prev_declared_string_type_name | prev_declared_ref_type_name /* as defined in IEC 61131-3 v3 */ ; single_element_type_name: prev_declared_simple_type_name /* Include the following if arrays of function blocks are to be allowed! * Since the standard does not allow them, * we leave it commented out for the time being... */ //| prev_declared_derived_function_block_name | prev_declared_subrange_type_name | prev_declared_enumerated_type_name ; /* NOTE: in order to remove a reduce/reduce conflict, * all occurences of simple_type_name, etc... * have been replaced with identifier! */ /* simple_type_name: identifier; subrange_type_name: identifier; enumerated_type_name: identifier; array_type_name: identifier; structure_type_name: identifier; */ data_type_declaration: TYPE type_declaration_list END_TYPE {$$ = new data_type_declaration_c($2, locloc(@$)); if (runtime_options.conversion_functions) include_string((create_enumtype_conversion_functions_c::get_declaration($$)).c_str());} /* ERROR_CHECK_BEGIN */ | TYPE END_TYPE {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no data type declared in data type(s) declaration."); yynerrs++;} | TYPE error type_declaration_list END_TYPE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'TYPE' in data type(s) declaration."); yyerrok;} | TYPE type_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed data type(s) declaration."); yyerrok;} | TYPE error END_TYPE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in data type(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for data_type_declaration */ type_declaration_list: type_declaration ';' {$$ = new type_declaration_list_c(locloc(@$)); $$->add_element($1);} | type_declaration_list type_declaration ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new type_declaration_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid data type declaration."); yyerrok;} | type_declaration error {$$ = new type_declaration_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of data type declaration."); yyerrok;} | type_declaration_list type_declaration error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of data type declaration."); yyerrok;} | type_declaration_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid data type declaration."); yyerrok;} | type_declaration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after data type declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; type_declaration: single_element_type_declaration | array_type_declaration | structure_type_declaration | string_type_declaration ; single_element_type_declaration: simple_type_declaration | subrange_type_declaration | enumerated_type_declaration | ref_type_decl /* defined in IEC 61131-3 v3 */ ; simple_type_declaration: /* simple_type_name ':' simple_spec_init */ /* To understand why simple_spec_init was brocken up into its consituent components in the following rules, please see note in the definition of 'enumerated_type_declaration'. */ /* PRE_PARSING or SINGLE_PHASE_PARSING */ /* The following rules will be run either by: * - the pre_parsing phase of two phase parsing (when preparsing command line option is chosen). * - the standard single phase parser (when preparsing command line option is not chosen). */ identifier ':' simple_specification {library_element_symtable.insert($1, prev_declared_simple_type_name_token);} {if (!get_preparse_state()) $$ = new simple_type_declaration_c($1, $3, locloc(@$));} | identifier ':' elementary_type_name {library_element_symtable.insert($1, prev_declared_simple_type_name_token);} ASSIGN constant {if (!get_preparse_state()) $$ = new simple_type_declaration_c($1, new simple_spec_init_c($3, $6, locf(@3), locl(@5)), locloc(@$));} | identifier ':' prev_declared_simple_type_name {library_element_symtable.insert($1, prev_declared_simple_type_name_token);} ASSIGN constant {if (!get_preparse_state()) $$ = new simple_type_declaration_c($1, new simple_spec_init_c($3, $6, locf(@3), locl(@5)), locloc(@$));} /* POST_PARSING */ /* These rules will be run after the preparser phase of two phase parsing has finished (only gets to execute if preparsing command line option is chosen). */ | prev_declared_simple_type_name ':' simple_spec_init {$$ = new simple_type_declaration_c(new identifier_c(((token_c *)$1)->value, locloc(@1)), $3, locloc(@$));} // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! /* These three rules can now be safely replaced by the original rule abvoe!! */ /* | prev_declared_simple_type_name ':' simple_specification {$$ = new simple_type_declaration_c($1, $3, locloc(@$));} | prev_declared_simple_type_name ':' elementary_type_name ASSIGN constant {$$ = new simple_type_declaration_c($1, new simple_spec_init_c($3, $5, locf(@3), locl(@5)), locloc(@$));} | prev_declared_simple_type_name ':' prev_declared_simple_type_name ASSIGN constant {$$ = new simple_type_declaration_c($1, new simple_spec_init_c($3, $5, locf(@3), locl(@5)), locloc(@$));} */ /* ERROR_CHECK_BEGIN */ | error ':' simple_spec_init {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid name defined for data type declaration.");yyerrok;} | identifier simple_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between data type name and specification in simple type declaration."); yynerrs++;} | identifier ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in data type declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in data type declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; simple_spec_init: simple_specification /* The following commented line was changed to the * next two lines so that we wouldn't * have the first element of a simple_spec_init_c() * pointing to another simple_spec_init_c! */ /* | simple_specification ASSIGN constant {$$ = new simple_spec_init_c($1, $3);} */ | elementary_type_name ASSIGN constant {$$ = new simple_spec_init_c($1, $3, locloc(@$));} | prev_declared_simple_type_name ASSIGN constant {$$ = new simple_spec_init_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | elementary_type_name constant {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in specification with initialization."); yynerrs++;} | prev_declared_simple_type_name constant {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in specification with initialization."); yynerrs++;} | elementary_type_name ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no initial value defined in specification with initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid initial value in specification with initialization."); yyclearin;} yyerrok; } | prev_declared_simple_type_name ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no initial value defined in specification with initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid initial value in specification with initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* When converting to C/C++, we need to know whether * the elementary_type_name is being used in a variable * declaration or elsewhere (ex. declaration of a derived * type), so the abstract syntax has the elementary_type_name * wrapped inside a simple_spec_init_c. * The exact same thing occurs with prev_declared_simple_type_name. * * This is why in the definition of simple_spec_init, * simple_specification was brocken up into its * constituent components... */ simple_specification: // elementary_type_name | simple_type_name elementary_type_name {$$ = new simple_spec_init_c($1, NULL, locloc(@$));} | prev_declared_simple_type_name {$$ = new simple_spec_init_c($1, NULL, locloc(@$));} ; subrange_type_declaration: /* subrange_type_name ':' subrange_spec_init */ /* PRE_PARSING or SINGLE_PHASE_PARSING */ /* The following rules will be run either by: * - the pre_parsing phase of two phase parsing (when preparsing command line option is chosen). * - the standard single phase parser (when preparsing command line option is not chosen). */ identifier ':' subrange_spec_init {library_element_symtable.insert($1, prev_declared_subrange_type_name_token);} {if (!get_preparse_state()) $$ = new subrange_type_declaration_c($1, $3, locloc(@$));} /* POST_PARSING */ /* These rules will be run after the preparser phase of two phase parsing has finished (only gets to execute if preparsing command line option is chosen). */ | prev_declared_subrange_type_name ':' subrange_spec_init {$$ = new subrange_type_declaration_c(new identifier_c(((token_c *)$1)->value, locloc(@1)), $3, locloc(@$));} // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! /* ERROR_CHECK_BEGIN */ | error ':' subrange_spec_init {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid name defined for subrange type declaration."); yyerrok;} | identifier subrange_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between data type name and specification in subrange type declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; subrange_spec_init: subrange_specification {$$ = new subrange_spec_init_c($1, NULL, locloc(@$));} | subrange_specification ASSIGN signed_integer {$$ = new subrange_spec_init_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | subrange_specification signed_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in subrange specification with initialization."); yynerrs++;} | subrange_specification ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no initial value defined in subrange specification with initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid initial value in subrange specification with initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; subrange_specification: integer_type_name '(' subrange ')' {$$ = new subrange_specification_c($1, $3, locloc(@$));} | prev_declared_subrange_type_name {$$ = new subrange_specification_c($1, NULL, locloc(@$));} /* ERROR_CHECK_BEGIN */ | integer_type_name '(' ')' {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no subrange defined in subrange specification."); yynerrs++;} | integer_type_name '(' error ')' {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid subrange defined in subrange specification."); yyerrok;} | integer_type_name '(' subrange error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing after subrange defined in subrange specification."); yyerrok;} /* ERROR_CHECK_END */ ; /* a non standard construct, used to allow the declaration of array subranges using a variable */ subrange_with_var: signed_integer DOTDOT signed_integer {$$ = new subrange_c($1, $3, locloc(@$));} | any_identifier DOTDOT signed_integer {$$ = new subrange_c(new symbolic_constant_c($1, locloc(@1)), $3, locloc(@$)); if (!runtime_options.nonliteral_in_array_size) { print_err_msg(locf(@1), locl(@1), "Use of variables in array size limits is not allowed in IEC 61131-3 (use -a option to activate support for this non-standard feature)."); yynerrs++; } } | signed_integer DOTDOT any_identifier {$$ = new subrange_c($1, new symbolic_constant_c($3, locloc(@3)), locloc(@$)); if (!runtime_options.nonliteral_in_array_size) { print_err_msg(locf(@3), locl(@3), "Use of variables in array size limits is not allowed in IEC 61131-3 (use -a option to activate support for this non-standard feature)."); yynerrs++; } } | any_identifier DOTDOT any_identifier {$$ = new subrange_c(new symbolic_constant_c($1, locloc(@1)), new symbolic_constant_c($3, locloc(@3)), locloc(@$)); if (!runtime_options.nonliteral_in_array_size) { print_err_msg(locf(@$), locl(@$), "Use of variables in array size limits is not allowed in IEC 61131-3 (use -a option to activate support for this non-standard feature)."); yynerrs++; } } /* ERROR_CHECK_BEGIN */ | signed_integer signed_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'..' missing between bounds in subrange definition."); yynerrs++;} | signed_integer DOTDOT error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for upper bound in subrange definition.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for upper bound in subrange definition."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; subrange: signed_integer DOTDOT signed_integer {$$ = new subrange_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | signed_integer signed_integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'..' missing between bounds in subrange definition."); yynerrs++;} | signed_integer DOTDOT error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for upper bound in subrange definition.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for upper bound in subrange definition."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; enumerated_type_declaration: /* enumerated_type_name ':' enumerated_spec_init */ /* NOTE: The 'identifier' used for the name of the new enumerated type is inserted early into the library_element_symtable so it may be used * in defining the default initial value of this type, using the fully qualified enumerated constant syntax: type_name#enum_value * In other words, this allows us to correclty parse the following IEC 61131-3 code: * TYPE enum_t : (x1, x2, x3) := enum_t#x3; END_TYPE * ^^^^^^^ * * However, we can only introduce it after we are sure we are parsing an enumerated_spec. For this reason, instead of using the * symbol enumerated_spec_init in this rule, we decompose it here instead! * * If it were not for the above, we could use the rule * identifier ':' enumerated_spec_init * and include the library_element_symtable.insert(...) code in the rule actions! */ /* PRE_PARSING or SINGLE_PHASE_PARSING */ /* The following rules will be run either by: * - the pre_parsing phase of two phase parsing (when preparsing command line option is chosen). * - the standard single phase parser (when preparsing command line option is not chosen). */ identifier ':' enumerated_specification {library_element_symtable.insert($1, prev_declared_enumerated_type_name_token);} {if (!get_preparse_state()) $$ = new enumerated_type_declaration_c($1, new enumerated_spec_init_c($3, NULL, locloc(@3)), locloc(@$));} | identifier ':' enumerated_specification {library_element_symtable.insert($1, prev_declared_enumerated_type_name_token);} ASSIGN enumerated_value {if (!get_preparse_state()) $$ = new enumerated_type_declaration_c($1, new enumerated_spec_init_c($3, $6, locf(@3), locl(@6)), locloc(@$));} /* POST_PARSING */ /* These rules will be run after the preparser phase of two phase parsing has finished (only gets to execute if preparsing command line option is chosen). */ /* Since the enumerated type name is placed in the library_element_symtable during preparsing, we can now safely use the single rule: */ | prev_declared_enumerated_type_name ':' enumerated_spec_init {$$ = new enumerated_type_declaration_c(new identifier_c(((token_c *)$1)->value, locloc(@1)), $3, locloc(@$));} // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! /* These two rules are equivalent to the above rule */ /* | prev_declared_enumerated_type_name ':' enumerated_specification {library_element_symtable.insert($1, prev_declared_enumerated_type_name_token);} {$$ = new enumerated_type_declaration_c($1, new enumerated_spec_init_c($3, NULL, locloc(@3)), locloc(@$));} | prev_declared_enumerated_type_name ':' enumerated_specification {library_element_symtable.insert($1, prev_declared_enumerated_type_name_token);} ASSIGN enumerated_value {$$ = new enumerated_type_declaration_c($1, new enumerated_spec_init_c($3, $6, locf(@3), locl(@6)), locloc(@$));} */ /* ERROR_CHECK_BEGIN */ | error ':' enumerated_spec_init {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid name defined for enumerated type declaration."); yyerrok;} | identifier enumerated_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between data type name and specification in enumerated type declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; enumerated_spec_init: enumerated_specification {$$ = new enumerated_spec_init_c($1, NULL, locloc(@$));} | enumerated_specification ASSIGN enumerated_value {$$ = new enumerated_spec_init_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | enumerated_specification enumerated_value {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in enumerated specification with initialization."); yynerrs++;} | enumerated_specification ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined in enumerated specification with initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid value in enumerated specification with initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; enumerated_specification: '(' enumerated_value_list ')' {$$ = $2;} | prev_declared_enumerated_type_name /* ERROR_CHECK_BEGIN */ | '(' ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no enumerated value list defined in enumerated specification."); yynerrs++;} | '(' error ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid enumerated value list defined in enumerated specification.");yyerrok;} | '(' enumerated_value_list error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "')' missing at the end of enumerated specification."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for enumerated_specification */ enumerated_value_list: enumerated_value {$$ = new enumerated_value_list_c(locloc(@$)); $$->add_element($1);} | enumerated_value_list ',' enumerated_value {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | enumerated_value_list enumerated_value {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing in enumerated value list.");} | enumerated_value_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined in enumerated value list.");} else {print_err_msg(locf(@3), locl(@3), "invalid value in enumerated value list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; enumerated_value: identifier {$$ = new enumerated_value_c(NULL, $1, locloc(@$));} | prev_declared_enumerated_type_name '#' any_identifier {$$ = new enumerated_value_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | prev_declared_enumerated_type_name any_identifier {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'#' missing between enumerated type name and value in enumerated literal."); yynerrs++;} | prev_declared_enumerated_type_name '#' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for enumerated literal.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for enumerated literal."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* enumerated_value_without_identifier: prev_declared_enumerated_type_name '#' any_identifier {$$ = new enumerated_value_c($1, $3, locloc(@$));} ; */ array_type_declaration: /* array_type_name ':' array_spec_init */ /* PRE_PARSING or SINGLE_PHASE_PARSING */ /* The following rules will be run either by: * - the pre_parsing phase of two phase parsing (when preparsing command line option is chosen). * - the standard single phase parser (when preparsing command line option is not chosen). */ identifier ':' array_spec_init {library_element_symtable.insert($1, prev_declared_array_type_name_token);} {if (!get_preparse_state()) $$ = new array_type_declaration_c($1, $3, locloc(@$));} /* POST_PARSING */ /* These rules will be run after the preparser phase of two phase parsing has finished (only gets to execute if preparsing command line option is chosen). */ | prev_declared_array_type_name ':' array_spec_init {$$ = new array_type_declaration_c(new identifier_c(((token_c *)$1)->value, locloc(@1)), $3, locloc(@$));} // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! /* ERROR_CHECK_BEGIN */ | identifier array_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between data type name and specification in array type declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; array_spec_init: array_specification {$$ = new array_spec_init_c($1, NULL, locloc(@$));} | array_specification ASSIGN array_initialization {$$ = new array_spec_init_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | array_specification array_initialization {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in array specification with initialization."); yynerrs++;} | array_specification ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no initial value defined in array specification with initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid initial value in array specification with initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; array_specification: prev_declared_array_type_name | ARRAY '[' array_subrange_list ']' OF non_generic_type_name {$$ = new array_specification_c($3, $6, locloc(@$));} | ARRAY '[' array_subrange_list ']' OF ref_spec_non_recursive /* non standard extension: Allow use of arrays storing REF_TO datatypes that are declared as 'ARRAY [1..3] OF REF_TO INT' */ /* ^^^^^^ */ /* NOTE: We use ref_spec and not ref_spec_init as for the moment I do not want to allow direct specification of initial value. * I (MJS) am not too sure whether this is currently supported in code generation, so leave it out for now. * It also does not seem to be a very good idea to allow initial value specification when declaring the array, * since the standard syntax does not allow it either for any other datatype! * NOTE: We use ref_spec_non_recursive instead of ref_spec in order to remove a reduce/reduce conflict. * Note that non_generic_type_name that is used in the previous rule already include the prev_declared_ref_type_name. * which leads to the reduce/reduce conflict, as it is also included in ref_spec. */ {$$ = new array_specification_c($3, $6, locloc(@$)); if (!allow_ref_to_in_derived_datatypes) { print_err_msg(locf(@$), locl(@$), "REF_TO may not be used in an ARRAY specification (use -R option to activate support for this non-standard syntax)."); yynerrs++; } } /* ERROR_CHECK_BEGIN */ | ARRAY array_subrange_list ']' OF non_generic_type_name {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'[' missing before subrange list in array specification."); yynerrs++;} | ARRAY '[' ']' OF non_generic_type_name {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no subrange list defined in array specification."); yynerrs++;} | ARRAY '[' error ']' OF non_generic_type_name {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid subrange list defined in array specification."); yyerrok;} | ARRAY OF non_generic_type_name {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no subrange list defined in array specification."); yynerrs++;} | ARRAY error OF non_generic_type_name {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid subrange list defined in array specification."); yyerrok;} | ARRAY '[' array_subrange_list OF non_generic_type_name {$$ = NULL; print_err_msg(locl(@3), locf(@4), "']' missing after subrange list in array specification."); yynerrs++;} | ARRAY '[' array_subrange_list ']' non_generic_type_name {$$ = NULL; print_err_msg(locl(@4), locf(@5), "'OF' missing between subrange list and item type name in array specification."); yynerrs++;} | ARRAY '[' array_subrange_list ']' OF error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no item data type defined in array specification.");} else {print_err_msg(locf(@3), locl(@3), "invalid item data type in array specification."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* helper symbol for array_specification */ array_subrange_list: /* the construct 'subrange' has been replaced with 'subrange_with_var' in order to support the declaration of array ranges using a varable: e.g. ARRAY [2..max] OF INT */ subrange_with_var {$$ = new array_subrange_list_c(locloc(@$)); $$->add_element($1);} | array_subrange_list ',' subrange_with_var {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | array_subrange_list subrange {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing in subrange list."); yynerrs++;} | array_subrange_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no subrange defined in subrange list.");} else {print_err_msg(locf(@3), locl(@3), "invalid subrange in subrange list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; array_initialization: '[' array_initial_elements_list ']' {$$ = $2;} /* ERROR_CHECK_BEGIN */ | '[' ']' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no initial values list defined in array initialization."); yynerrs++;} | '[' error ']' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid initial values list defined in array initialization."); yyerrok;} | '[' array_initial_elements_list error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "']' missing at the end of array initialization."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for array_initialization */ array_initial_elements_list: array_initial_elements {$$ = new array_initial_elements_list_c(locloc(@$)); $$->add_element($1);} | array_initial_elements_list ',' array_initial_elements {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ /* The following error checking rules have been commented out. Why? Was it a typo? * Lets keep them commented out for now... */ /* | array_initial_elements_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no array initial value in array initial values list.");} else {print_err_msg(locf(@3), locl(@3), "invalid array initial value in array initial values list."); yyclearin;} yyerrok; } */ /* ERROR_CHECK_END */ ; array_initial_elements: array_initial_element | integer '(' ')' {$$ = new array_initial_elements_c($1, NULL, locloc(@$));} | integer '(' array_initial_element ')' {$$ = new array_initial_elements_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | integer '(' error ')' {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid array initial value in array initial values list."); yyerrok;} | integer '(' array_initial_element error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing at the end of array initial value in array initial values list."); yyerrok;} /* ERROR_CHECK_END */ ; array_initial_element: constant | enumerated_value | structure_initialization | array_initialization ; structure_type_declaration: /* structure_type_name ':' structure_specification */ /* PRE_PARSING or SINGLE_PHASE_PARSING */ /* The following rules will be run either by: * - the pre_parsing phase of two phase parsing (when preparsing command line option is chosen). * - the standard single phase parser (when preparsing command line option is not chosen). */ identifier ':' structure_specification {library_element_symtable.insert($1, prev_declared_structure_type_name_token);} {if (!get_preparse_state()) $$ = new structure_type_declaration_c($1, $3, locloc(@$));} /* POST_PARSING */ /* These rules will be run after the preparser phase of two phase parsing has finished (only gets to execute if preparsing command line option is chosen). */ | prev_declared_structure_type_name ':' structure_specification {$$ = new structure_type_declaration_c(new identifier_c(((token_c *)$1)->value, locloc(@1)), $3, locloc(@$));} // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! /* ERROR_CHECK_BEGIN */ | identifier structure_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between data type name and specification in structure type declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; structure_specification: structure_declaration | initialized_structure ; initialized_structure: prev_declared_structure_type_name {$$ = new initialized_structure_c($1, NULL, locloc(@$));} | prev_declared_structure_type_name ASSIGN structure_initialization {$$ = new initialized_structure_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | prev_declared_structure_type_name structure_initialization {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in structure specification with initialization."); yynerrs++;} | prev_declared_structure_type_name ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined in structure specification with initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid value in structure specification with initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; structure_declaration: STRUCT structure_element_declaration_list END_STRUCT {$$ = $2;} /* ERROR_CHECK_BEGIN */ | STRUCT END_STRUCT {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no structure element declared in structure type declaration."); yynerrs++;} | STRUCT error structure_element_declaration_list END_STRUCT {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'STRUCT' in structure type declaration."); yyerrok;} | STRUCT structure_element_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed structure type declaration."); yyerrok;} | STRUCT error END_STRUCT {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in structure type declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for structure_declaration */ structure_element_declaration_list: structure_element_declaration ';' {$$ = new structure_element_declaration_list_c(locloc(@$)); $$->add_element($1);} | structure_element_declaration_list structure_element_declaration ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new structure_element_declaration_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid structure element declaration."); yyerrok;} | structure_element_declaration error {$$ = new structure_element_declaration_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of structure element declaration."); yyerrok;} | structure_element_declaration_list structure_element_declaration error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of structure element declaration."); yyerrok;} | structure_element_declaration_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid structure element declaration."); yyerrok;} | structure_element_declaration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after structure element declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; structure_element_declaration: structure_element_name ':' simple_spec_init {$$ = new structure_element_declaration_c($1, $3, locloc(@$));} | structure_element_name ':' subrange_spec_init {$$ = new structure_element_declaration_c($1, $3, locloc(@$));} | structure_element_name ':' enumerated_spec_init {$$ = new structure_element_declaration_c($1, $3, locloc(@$));} | structure_element_name ':' array_spec_init {$$ = new structure_element_declaration_c($1, $3, locloc(@$));} | structure_element_name ':' initialized_structure {$$ = new structure_element_declaration_c($1, $3, locloc(@$));} | structure_element_name ':' ref_spec_init /* non standard extension: Allow use of struct elements storing REF_TO datatypes (either using REF_TO or a previosuly declared ref type) */ { $$ = new structure_element_declaration_c($1, $3, locloc(@$)); if (!allow_ref_to_in_derived_datatypes) { print_err_msg(locf(@$), locl(@$), "REF_TO and reference datatypes may not be used in a STRUCT element (use -R option to activate support for this non-standard syntax)."); yynerrs++; } } /* ERROR_CHECK_BEGIN */ | structure_element_name simple_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between structure element name and simple specification."); yynerrs++;} | structure_element_name subrange_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between structure element name and subrange specification."); yynerrs++;} | structure_element_name enumerated_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between structure element name and enumerated specification."); yynerrs++;} | structure_element_name array_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between structure element name and array specification."); yynerrs++;} | structure_element_name initialized_structure {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between structure element name and structure specification."); yynerrs++;} | structure_element_name ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in structure element declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in structure element declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; structure_element_name: any_identifier; structure_initialization: '(' structure_element_initialization_list ')' {$$ = $2;} /* ERROR_CHECK_BEGIN */ | '(' error ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid structure element initialization list in structure initialization."); yyerrok;} | '(' structure_element_initialization_list error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "expecting ')' at the end of structure element initialization list in structure initialization."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for structure_initialization */ structure_element_initialization_list: structure_element_initialization {$$ = new structure_element_initialization_list_c(locloc(@$)); $$->add_element($1);} | structure_element_initialization_list ',' structure_element_initialization {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ /* The following error checking rules have been commented out. Why? Was it a typo? * Lets keep them commented out for now... */ /* | structure_element_initialization_list structure_element_initialization {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing in structure element initialization list in structure initialization."); yynerrs++;} | structure_element_initialization_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no structure element initialization defined in structure initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid structure element initialization in structure initialization."); yyclearin;} yyerrok; } */ /* ERROR_CHECK_END */ ; structure_element_initialization: structure_element_name ASSIGN constant {$$ = new structure_element_initialization_c($1, $3, locloc(@$));} | structure_element_name ASSIGN enumerated_value {$$ = new structure_element_initialization_c($1, $3, locloc(@$));} | structure_element_name ASSIGN array_initialization {$$ = new structure_element_initialization_c($1, $3, locloc(@$));} | structure_element_name ASSIGN structure_initialization {$$ = new structure_element_initialization_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | structure_element_name constant {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in structure element initialization."); yynerrs++;} | structure_element_name enumerated_value {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in enumerated structure element initialization."); yynerrs++;} | structure_element_name array_initialization {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in array structure element initialization."); yynerrs++;} | structure_element_name structure_initialization {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing in structured structure element initialization."); yynerrs++;} | structure_element_name ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no initial value defined in structured structure element initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid initial value in structured structure element initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: in order to remove a reduce/reduce conflict, * all occurences of string_type_name * have been replaced with identifier! */ /* string_type_name: identifier; */ string_type_declaration: /* string_type_name ':' elementary_string_type_name string_type_declaration_size string_type_declaration_init */ /* PRE_PARSING or SINGLE_PHASE_PARSING */ /* The following rules will be run either by: * - the pre_parsing phase of two phase parsing (when preparsing command line option is chosen). * - the standard single phase parser (when preparsing command line option is not chosen). */ identifier ':' elementary_string_type_name string_type_declaration_size string_type_declaration_init {library_element_symtable.insert($1, prev_declared_string_type_name_token);} {if (!get_preparse_state()) $$ = new string_type_declaration_c($1, $3, $4, $5, locloc(@$));} /* POST_PARSING */ /* These rules will be run after the preparser phase of two phase parsing has finished (only gets to execute if preparsing command line option is chosen). */ | prev_declared_string_type_name ':' elementary_string_type_name string_type_declaration_size string_type_declaration_init {$$ = new string_type_declaration_c(new identifier_c(((token_c *)$1)->value, locloc(@1)), $3, $4, $5, locloc(@$));} // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! ; /* helper symbol for string_type_declaration */ string_type_declaration_size: '[' integer ']' {$$ = $2;} /* REMOVED !! */ //| /* empty */ // {$$ = NULL;} ; /* The syntax contains a reduce/reduce conflict. * The optional '[' <size> ']' * has been changed to become mandatory to remove the conflict. * * The conflict arises because * new_str_type : STRING := "hello!" * may be reduced to a string_type_declaration OR * a simple_type_declaration. * * Our change forces it to be reduced to a * simple_type_declaration! * We chose this option because changing the definition * of simple_spec_init would force us to change all the other * rules in which it appears. The change we made has no * side-effects! */ /* helper symbol for string_type_declaration */ string_type_declaration_init: /* empty */ {$$ = NULL;} | ASSIGN character_string {$$ = $2;} ; /* Taken fron IEC 61131-3 v3 * // Table 14 - Reference operations * Ref_Type_Decl : Ref_Type_Name ':' Ref_Spec_Init ; * Ref_Spec_Init : Ref_Spec ( ':=' Ref_Value )? ; * Ref_Spec : 'REF_TO' Non_Gen_Type_Name ; * Ref_Type_Name : Identifier ; * Ref_Name : Identifier ; * Ref_Value : Ref_Addr | 'NULL' ; * Ref_Addr : 'REF' '(' (Symbolic_Variable | FB_Name | Class_Instance_Name ) ')' ; * Ref_Assign : Ref_Name ':=' (Ref_Name | Ref_Deref | Ref_Value ) ; * Ref_Deref : 'DREF' '(' Ref_Name ')' ; */ /* NOTE: in IEC 61131-3 v3, the formal syntax definition does not define non_generic_type_name to include FB type names. * However, in section "6.3.4.10 References", example 4 includes a REF_TO a FB type! * We have therefore explicitly added the "REF_TO function_block_type_name" to this rule! * NOTE: the REF_TO ANY is a non-standard extension to the standard. This is basically equivalent to a (void *) */ ref_spec_non_recursive: /* helper symbol, used to remove a reduce/reduce conflict in a non-standard syntax I (Mario) have added!! */ REF_TO non_generic_type_name {$$ = new ref_spec_c($2, locloc(@$));} | REF_TO function_block_type_name {$$ = new ref_spec_c($2, locloc(@$));} | REF_TO ANY {$$ = new ref_spec_c(new generic_type_any_c(locloc(@2)), locloc(@$)); if (!allow_ref_to_any) { print_err_msg(locf(@$), locl(@$), "REF_TO ANY datatypes are not allowed (use -R option to activate support for this non-standard syntax)."); yynerrs++; } } ; ref_spec: /* defined in IEC 61131-3 v3 */ ref_spec_non_recursive | prev_declared_ref_type_name ; /* The IEC 61131-3 v3 standard actually only defines the following syntax: * * Ref_Type_Decl: Ref_Type_Name ':' Ref_Spec_Init; * Ref_Spec_Init: Ref_Spec ( ':=' Ref_Value )?; * Ref_Spec : 'REF_TO' + Data_Type_Access; * * Note that the above syntax it is not possible to define a REF_TO datatype as * an alias to an already previously declared REF_TO datatype. * * I (Mario) believe that this is probably a bug in the IEC 61131-3 syntax, and I have therefore * changed that standard definition to... * * Ref_Type_Decl: Ref_Type_Name ':' Ref_Spec_Init; * Ref_Spec_Init: Ref_Spec ( ':=' Ref_Value )?; * Ref_Spec : ('REF_TO' + Data_Type_Access) | Ref_Type_Name; * * For example: * TYPE * ref1_t: REF_TO INT; * ref2_t: ref1_t; <-- without the above changes, this would not be allowed!! * END_TYPE * * This change also makes it possible to declare variables using a previously declared REF_TO datatype * For example: * VAR refvar: ref1_t; END_VAR * * This change also makes it possible to declare arrays containing a previously declared ref type. * For example: * VAR refvar: ARRAY [1..3] OF ref1_t; END_VAR <--- becomes OK * VAR refvar: ARRAY [1..3] OF REF_TO INT; END_VAR <--- still not OK. (Only becomes OK with other non-standard rules in another location of this file!) * * Interestingly, this change does NOT make it possible to declare structure elements of a previously declared ref type. * For example: * TYPE struct_t: STRUCT elem1: ref1_t; END_STRUCT; END_TYPE; <--- still not OK. (Only becomes OK with other non-standard rules in another location of this file!) * TYPE struct_t: STRUCT elem1: REF_TO INT; END_STRUCT; END_TYPE; <--- still not OK. (Only becomes OK with other non-standard rules in another location of this file!) */ ref_spec_init: /* defined in IEC 61131-3 v3 */ ref_spec {$$ = new ref_spec_init_c($1, NULL, locloc(@$));} /* For the moment, we do not support initialising reference data types... | ref_spec ASSIGN ... {$$ = new ref_spec_init_c($1, $3, locloc(@$));} */ ; ref_type_decl: /* defined in IEC 61131-3 v3 */ /* PRE_PARSING or SINGLE_PHASE_PARSING */ /* The following rules will be run either by: * - the pre_parsing phase of two phase parsing (when preparsing command line option is chosen). * - the standard single phase parser (when preparsing command line option is not chosen). */ identifier ':' ref_spec_init {library_element_symtable.insert($1, prev_declared_ref_type_name_token);} {if (!get_preparse_state()) $$ = new ref_type_decl_c($1, $3, locloc(@$));} /* POST_PARSING */ /* These rules will be run after the preparser phase of two phase parsing has finished (only gets to execute if preparsing command line option is chosen). */ | prev_declared_ref_type_name ':' ref_spec_init {$$ = new ref_type_decl_c(new identifier_c(((token_c *)$1)->value, locloc(@1)), $3, locloc(@$));} // change the derived_datatype_identifier_c into an identifier_c, as it will be taking the place of an identifier! ; /*********************/ /* B 1.4 - Variables */ /*********************/ /* NOTE: The standard is erroneous in it's definition of 'variable' because: * - The standard considers 'ENO' as a keyword... * - ...=> which means that it may never be parsed as an 'identifier'... * - ...=> and therefore may never be used as the name of a variable inside an expression. * - However, a function/FB must be able to assign the ENO parameter * it's value, doing it in an assignment statement, and therefore using the 'ENO' * character sequence as an identifier! * The obvious solution is to also allow the ENO keyword to be * used as the name of a variable. Note that this variable may be used * even though it is not explicitly declared as a function/FB variable, * as the standard requires us to define it implicitly in this case! * There are three ways of achieving this: * (i) simply not define EN and ENO as keywords in flex (lexical analyser) * and let them be considered 'identifiers'. Aditionally, add some code * so that if they are not explicitly declared, we add them automatically to * the declaration of each Functions and FB, where they would then be parsed * as a previously_declared_variable. * This approach has the advantage the EN and ENO would automatically be valid * in every location where it needs to be valid, namely in the explicit declaration * of these same variables, or when they are used within expressions. * However, this approach has the drawback that * EN and ENO could then also be used anywhere a standard identifier is allowed, * including in the naming of Functions, FBs, Programs, Configurations, Resources, * SFC Actions, SFC Steps, etc... * This would mean that we would then have to add a lexical analysis check * within the bison code (syntax analyser) to all the above constructs to make sure * that the identifier being used is not EN or ENO. * (ii) The other approach is to define EN and ENO as keywords / tokens in flex * (lexical analyser) and then change the syntax in bison to acomodate * these tokens wherever they could correctly appear. * This has the drawback that we need to do some changes to the synax defintion. * (iii) Yet a another option is to mix the above two methods. * Define EN and ENO as tokens in flex, but change (only) the syntax for * variable declaration to allow these tokens to also be used in declaring variables. * From this point onwards these tokens are then considered a previously_declared_variable, * since flex will first check for this before even checking for tokens. * * I (Mario) cuurretnly (2011) believe the cleanest method of achieving this goal * is to use option (iii) * However, considering that: * - I have already previously implemented option (ii); * - option (iii) requires that flex parse the previously_declared_variable * before parsing any token. We already support this (remeber that this is * used mainly to allow some IL operators as well as PRIORITY, etc. tokens * to be used as identifiers, since the standard does not define them as keywords), * but this part of the code in flex is often commented out as usually people do not expect * us to follow the standard in the strict sense, but rather consider those * tokens as keywords; * considering the above, we currently carry on using option (ii). */ variable: symbolic_variable | prev_declared_direct_variable | eno_identifier {$$ = new symbolic_variable_c($1, locloc(@$));} ; symbolic_variable: /* NOTE: To be entirely correct, variable_name must be replacemed by * prev_declared_variable_name | prev_declared_fb_name | prev_declared_global_var_name */ prev_declared_fb_name {$$ = new symbolic_variable_c($1, locloc(@$));} | prev_declared_global_var_name {$$ = new symbolic_variable_c($1, locloc(@$));} | prev_declared_variable_name {$$ = new symbolic_variable_c($1, locloc(@$));} | multi_element_variable /* | identifier {$$ = new symbolic_variable_c($1, locloc(@$));} */ | symbolic_variable '^' /* Dereferencing operator defined in IEC 61131-3 v3. However, implemented here differently then how it is defined in the standard! See following note for explanation! */ {$$ = new deref_operator_c($1, locloc(@$)); if (!allow_ref_dereferencing) { print_err_msg(locf(@$), locl(@$), "Derefencing REF_TO datatypes with '^' is not allowed (use -r option to activate support for this IEC 61131-3 v3 feature)."); yynerrs++; } } ; /* * NOTE: The syntax defined in the v3 standard for the dereferencing operator '^' seems to me to be un-intentionally * limited. For example * ref_to_bool_var := REF( array_of_bool [1] ); <--- Allowed! * ref_to_bool_var := REF( ref_to_array_of_bool^[1] ); <--- Allowed! * bool_var := array_of_ref_to_bool[1]^; <--- NOT Allowed! * ref_to_array_of_bool^[1] := FALSE; <--- Allowed! * I consider this a bug in the v3 standard!! * I have therefore opted to implement this by simply adding a rule to symbolic_variable * symbolic_variable: * ... * | symbolic_variable '^' * This simple rule should be able to cover all the needed dereferencing syntax! * I have also added a dereferencing expression for the DREF() operator. * Since both of them do the exact same operation, they will both be translated to the exact same * entry type in the abstract syntax tree (an deref_expression_c) */ /* NOTE: in section B 1.7, when configuring a program, symbolic_variable * is used. Nevertheless, during the parsing of a configuration, * the variables in question are out of scope, so we should * be allowing any_identifier instead of prev_declared_variable_name! * * We therefore need a new any_symbolic_variable construct that * allows the use of any_identifier instead of previously declared * variables, function blocks, etc... */ any_symbolic_variable: // variable_name -> replaced by any_identifier any_identifier {$$ = new symbolic_variable_c($1, locloc(@$));} | any_multi_element_variable ; /* for yet undeclared variable names ! */ variable_name: identifier; /********************************************/ /* B.1.4.1 Directly Represented Variables */ /********************************************/ prev_declared_direct_variable: prev_declared_direct_variable_token {$$ = new direct_variable_c($1, locloc(@$));}; /*************************************/ /* B.1.4.2 Multi-element Variables */ /*************************************/ multi_element_variable: array_variable | structured_variable ; /* please see note above any_symbolic_variable */ any_multi_element_variable: any_array_variable | any_structured_variable ; array_variable: subscripted_variable '[' subscript_list ']' {$$ = new array_variable_c($1, $3, locloc(@$));} ; /* please see note above any_symbolic_variable */ any_array_variable: any_subscripted_variable '[' subscript_list ']' {$$ = new array_variable_c($1, $3, locloc(@$));} ; subscripted_variable: symbolic_variable ; /* please see note above any_symbolic_variable */ any_subscripted_variable: any_symbolic_variable ; subscript_list: subscript {$$ = new subscript_list_c(locloc(@$)); $$->add_element($1);} | subscript_list ',' subscript {$$ = $1; $$->add_element($3);} ; subscript: expression; structured_variable: record_variable '.' field_selector {$$ = new structured_variable_c($1, $3, locloc(@$));} | record_variable '.' il_simple_operator_clash3 {$$ = new structured_variable_c($1, il_operator_c_2_identifier_c($3), locloc(@$));} ; /* please see note above any_symbolic_variable */ any_structured_variable: any_record_variable '.' field_selector {$$ = new structured_variable_c($1, $3, locloc(@$));} | any_record_variable '.' il_simple_operator_clash3 {$$ = new structured_variable_c($1, $3, locloc(@$));} ; record_variable: symbolic_variable ; /* please see note above any_symbolic_variable */ any_record_variable: any_symbolic_variable ; field_selector: any_identifier | eno_identifier ; /******************************************/ /* B 1.4.3 - Declaration & Initialisation */ /******************************************/ input_declarations: VAR_INPUT input_declaration_list END_VAR {$$ = new input_declarations_c(NULL, $2, new explicit_definition_c(), locloc(@$));} | VAR_INPUT RETAIN input_declaration_list END_VAR {$$ = new input_declarations_c(new retain_option_c(locloc(@2)), $3, new explicit_definition_c(), locloc(@$));} | VAR_INPUT NON_RETAIN input_declaration_list END_VAR {$$ = new input_declarations_c(new non_retain_option_c(locloc(@2)), $3, new explicit_definition_c(), locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR_INPUT END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in input variable(s) declaration."); yynerrs++;} | VAR_INPUT RETAIN END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in retentive input variable(s) declaration."); yynerrs++;} | VAR_INPUT NON_RETAIN END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in non-retentive input variable(s) declaration."); yynerrs++;} | VAR_INPUT error input_declaration_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_INPUT' in input variable(s) declaration."); yyerrok;} | VAR_INPUT RETAIN error input_declaration_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'RETAIN' in retentive input variable(s) declaration."); yyerrok;} | VAR_INPUT NON_RETAIN error input_declaration_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'NON_RETAIN' in non-retentive input variable(s) declaration."); yyerrok;} | VAR_INPUT input_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed input variable(s) declaration."); yyerrok;} | VAR_INPUT RETAIN input_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed retentive input variable(s) declaration."); yyerrok;} | VAR_INPUT NON_RETAIN input_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed non-retentive input variable(s) declaration."); yyerrok;} | VAR_INPUT error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in input variable(s) declaration."); yyerrok;} | VAR_INPUT RETAIN error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in retentive input variable(s) declaration."); yyerrok;} | VAR_INPUT NON_RETAIN error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in non-retentive input variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for input_declarations */ input_declaration_list: input_declaration ';' {$$ = new input_declaration_list_c(locloc(@$)); $$->add_element($1);} | input_declaration_list input_declaration ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new input_declaration_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid input variable(s) declaration."); yyerrok;} | input_declaration error {$$ = new input_declaration_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of input variable(s) declaration."); yyerrok;} | input_declaration_list input_declaration error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of input variable(s) declaration."); yyerrok;} | input_declaration_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid input variable(s) declaration."); yyerrok;} | input_declaration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after input variable(s) declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; /* NOTE: The formal definition of 'input_declaration' as defined in the standard is erroneous, * as it does not allow a user defined 'EN' input parameter. However, * The semantic description of the languages clearly states that this is allowed. * We have added the 'en_param_declaration' clause to cover for this. */ input_declaration: var_init_decl | edge_declaration | en_param_declaration ; edge_declaration: var1_list ':' BOOL R_EDGE {$$ = new edge_declaration_c(new raising_edge_option_c(locloc(@3)), $1, locloc(@$));} | var1_list ':' BOOL F_EDGE {$$ = new edge_declaration_c(new falling_edge_option_c(locloc(@3)), $1, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list BOOL R_EDGE {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in edge declaration."); yynerrs++;} | var1_list BOOL F_EDGE {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in edge declaration."); yynerrs++;} | var1_list ':' BOOL R_EDGE F_EDGE {$$ = NULL; print_err_msg(locl(@5), locf(@5), "'R_EDGE' and 'F_EDGE' can't be present at the same time in edge declaration."); yynerrs++;} | var1_list ':' BOOL F_EDGE R_EDGE {$$ = NULL; print_err_msg(locl(@5), locf(@5), "'R_EDGE' and 'F_EDGE' can't be present at the same time in edge declaration."); yynerrs++;} | var1_list ':' R_EDGE {$$ = NULL; print_err_msg(locl(@2), locf(@3), "'BOOL' missing in edge declaration."); yynerrs++;} | var1_list ':' F_EDGE {$$ = NULL; print_err_msg(locl(@2), locf(@3), "'BOOL' missing in edge declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; /* NOTE: The formal definition of the standard is erroneous, as it simply does not * consider the EN and ENO keywords! * The semantic description of the languages clearly states that these may be * used in several ways. One of them is to declare an EN input parameter. * We have added the 'en_param_declaration' clause to cover for this. * * Please read the comment above the definition of 'variable' in section B1.4 for details. */ en_param_declaration: en_identifier ':' BOOL ASSIGN boolean_literal {$$ = new en_param_declaration_c($1, new simple_spec_init_c(new bool_type_name_c(locloc(@3)), $5, locf(@3), locl(@5)), new explicit_definition_c(), locloc(@$));} | en_identifier ':' BOOL ASSIGN integer {$$ = new en_param_declaration_c($1, new simple_spec_init_c(new bool_type_name_c(locloc(@3)), $5, locf(@3), locl(@5)), new explicit_definition_c(), locloc(@$));} /* ERROR_CHECK_BEGIN */ | en_identifier BOOL ASSIGN boolean_literal {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in EN declaration."); yynerrs++;} | en_identifier BOOL ASSIGN integer {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in EN declaration."); yynerrs++;} | en_identifier ':' ASSIGN boolean_literal {$$ = NULL; print_err_msg(locl(@2), locf(@3), "'BOOL' missing in EN declaration."); yynerrs++;} | en_identifier ':' ASSIGN integer {$$ = NULL; print_err_msg(locl(@2), locf(@3), "'BOOL' missing in EN declaration."); yynerrs++;} | en_identifier ':' BOOL ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in EN declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in EN declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; var_init_decl: var1_init_decl | array_var_init_decl | structured_var_init_decl | fb_name_decl | string_var_declaration ; var1_init_decl: var1_list ':' simple_spec_init {$$ = new var1_init_decl_c($1, $3, locloc(@$));} | var1_list ':' subrange_spec_init {$$ = new var1_init_decl_c($1, $3, locloc(@$));} | var1_list ':' enumerated_spec_init {$$ = new var1_init_decl_c($1, $3, locloc(@$));} | var1_list ':' ref_spec_init /* defined in IEC 61131-3 v3 (REF_TO ...)*/ {$$ = new var1_init_decl_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list simple_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and simple specification."); yynerrs++;} | var1_list subrange_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and subrange specification."); yynerrs++;} | var1_list enumerated_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and enumerated specification."); yynerrs++;} | var1_list ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in variable declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: * The syntax * variable_name DOTDOT * is an extension to the standard!!! * * In order to be able to handle extensible standard functions * (i.e. standard functions that may have a variable number of * input parameters, such as AND(word#33, word#44, word#55, word#66), * we have extended the acceptable syntax to allow var_name '..' * in an input variable declaration. * * This allows us to parse the declaration of standard * extensible functions and load their interface definition * into the abstract syntax tree just like we do to other * user defined functions. * This has the advantage that we can later do semantic * checking of calls to functions (be it a standard or user defined * function) in (almost) exactly the same way. * * Of course, we have a flag that disables this syntax when parsing user * written code, so we only allow this extra syntax while parsing the * 'header' file that declares all the standard IEC 61131-3 functions. */ var1_list: variable_name {$$ = new var1_list_c(locloc(@$)); $$->add_element($1); variable_name_symtable.insert($1, prev_declared_variable_name_token); } | variable_name integer DOTDOT {$$ = new var1_list_c(locloc(@$)); $$->add_element(new extensible_input_parameter_c($1, $2, locloc(@$))); variable_name_symtable.insert($1, prev_declared_variable_name_token); if (!allow_extensible_function_parameters) print_err_msg(locf(@1), locl(@2), "invalid syntax in variable name declaration."); } | var1_list ',' variable_name {$$ = $1; $$->add_element($3); variable_name_symtable.insert($3, prev_declared_variable_name_token); } | var1_list ',' variable_name integer DOTDOT {$$ = $1; $$->add_element(new extensible_input_parameter_c($3, $4, locloc(@$))); variable_name_symtable.insert($3, prev_declared_variable_name_token); if (!allow_extensible_function_parameters) print_err_msg(locf(@1), locl(@2), "invalid syntax in variable name declaration."); } /* ERROR_CHECK_BEGIN */ | var1_list variable_name {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing in variable list."); yynerrs++;} | var1_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no variable name defined in variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid variable name in variable declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; array_var_init_decl: var1_list ':' array_spec_init {$$ = new array_var_init_decl_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list array_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and array specification."); yynerrs++;} /* ERROR_CHECK_END */ ; structured_var_init_decl: var1_list ':' initialized_structure {$$ = new structured_var_init_decl_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list initialized_structure {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and structured specification."); yynerrs++;} /* ERROR_CHECK_END */ ; /* NOTE: see notes above fb_name_list and var1_list * for reason why ':' was removed from this rule! * In essence, to remove a shift/reduce conflict, * the ':' was moved to var1_list and fb_name_list! */ fb_name_decl: /* fb_name_list ':' function_block_type_name */ fb_name_list_with_colon function_block_type_name {$$ = new fb_name_decl_c($1, new fb_spec_init_c($2, NULL,locloc(@2)), locloc(@$));} /*| fb_name_list ':' function_block_type_name ASSIGN structure_initialization */ | fb_name_list_with_colon function_block_type_name ASSIGN structure_initialization {$$ = new fb_name_decl_c($1, new fb_spec_init_c($2, $4, locf(@2), locl(@4)), locloc(@$));} /* ERROR_CHECK_BEGIN */ | fb_name_list_with_colon ASSIGN structure_initialization {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no function block type name defined in function block declaration with initialization."); yynerrs++;} | fb_name_list_with_colon function_block_type_name structure_initialization {$$ = NULL; print_err_msg(locl(@2), locf(@3), "':=' missing in function block declaration with initialization."); yynerrs++;} | fb_name_list_with_colon function_block_type_name ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@3), locf(@4), "no initialization defined in function block declaration.");} else {print_err_msg(locf(@4), locl(@4), "invalid initialization in function block declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: In order to remove a reduce/reduce conflict between * var1_list and fb_name_list, which are identical to each * other, fb_name_list has been redefined to be a var1_list. * * In order to remove a further shift/reduce conflict, var1_list * is imediately transfomred into var1_list_with_colon * (i.e. it includes the ':' following the list), which * means that fb_name_list is built from a * var1_list_with_colon after all! */ /* fb_name_list: (* fb_name *) identifier {$$ = new fb_name_list_c($1); variable_name_symtable.insert($1, prev_declared_fb_name_token); } (* | fb_name_list ',' fb_name *) | fb_name_list ',' identifier {$$ = $1; $$->add_element($3); variable_name_symtable.insert($3, prev_declared_fb_name_token); } ; */ fb_name_list_with_colon: var1_list_with_colon {$$ = new fb_name_list_c(locloc(@$)); /* fill up the new fb_name_list_c object with the references * contained in the var1_list_c object. */ FOR_EACH_ELEMENT(elem, $1, {$$->add_element(elem);}); delete $1; /* change the tokens associated with the symbols stored in * the variable name symbol table from prev_declared_variable_name_token * to prev_declared_fb_name_token */ FOR_EACH_ELEMENT(elem, $$, {variable_name_symtable.set(elem, prev_declared_fb_name_token);}); } ; /* helper symbol for fb_name_list_with_colon */ var1_list_with_colon: var1_list ':' ; // fb_name: identifier; output_declarations: VAR_OUTPUT var_output_init_decl_list END_VAR {$$ = new output_declarations_c(NULL, $2, new explicit_definition_c(), locloc(@$));} | VAR_OUTPUT RETAIN var_output_init_decl_list END_VAR {$$ = new output_declarations_c(new retain_option_c(locloc(@2)), $3, new explicit_definition_c(), locloc(@$));} | VAR_OUTPUT NON_RETAIN var_output_init_decl_list END_VAR {$$ = new output_declarations_c(new non_retain_option_c(locloc(@2)), $3, new explicit_definition_c(), locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR_OUTPUT END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in output variable(s) declaration."); yynerrs++;} | VAR_OUTPUT RETAIN END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in retentive output variable(s) declaration."); yynerrs++;} | VAR_OUTPUT NON_RETAIN END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in non-retentive output variable(s) declaration."); yynerrs++;} | VAR_OUTPUT error var_output_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_OUPUT' in output variable(s) declaration."); yyerrok;} | VAR_OUTPUT RETAIN error var_output_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'RETAIN' in retentive output variable(s) declaration."); yyerrok;} | VAR_OUTPUT NON_RETAIN error var_output_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'NON_RETAIN' in non-retentive output variable(s) declaration."); yyerrok;} | VAR_OUTPUT var_output_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed output variable(s) declaration."); yyerrok;} | VAR_OUTPUT RETAIN var_output_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed retentive output variable(s) declaration."); yyerrok;} | VAR_OUTPUT NON_RETAIN var_output_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed non-retentive output variable(s) declaration."); yyerrok;} | VAR_OUTPUT error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in output variable(s) declaration."); yyerrok;} | VAR_OUTPUT RETAIN error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in retentive output variable(s) declaration."); yyerrok;} | VAR_OUTPUT NON_RETAIN error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in non-retentive output variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* NOTE: The formal definition of 'var_output_init_decl' as defined in the standard is erroneous, * as it does not allow a user defined 'ENO' output parameter. However, * The semantic description of the languages clearly states that this is allowed. * We have added the 'eno_param_declaration' clause to cover for this. * * Please read the comment above the definition of 'variable' in section B1.4 for details. */ var_output_init_decl: var_init_decl | eno_param_declaration ; var_output_init_decl_list: var_output_init_decl ';' {$$ = new var_init_decl_list_c(locloc(@$)); $$->add_element($1);} | var_output_init_decl_list var_output_init_decl ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | var_output_init_decl_list var_output_init_decl error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of variable(s) declaration."); yyerrok;} | var_output_init_decl_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* NOTE: The formal definition of the standard is erroneous, as it simply does not * consider the EN and ENO keywords! * The semantic description of the languages clearly states that these may be * used in several ways. One of them is to declare an ENO output parameter. * We have added the 'eno_param_declaration' clause to cover for this. * * Please read the comment above the definition of 'variable' in section B1.4 for details. */ eno_param_declaration: eno_identifier ':' BOOL /* NOTE We do _NOT_ include this variable in the previously_declared_variable symbol table! * Please read the comment above the definition of 'variable' for the reason for this. */ {$$ = new eno_param_declaration_c($1, new bool_type_name_c(locloc(@$)), new explicit_definition_c(), locloc(@$));} /* ERROR_CHECK_BEGIN */ | eno_identifier BOOL {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and specification in ENO declaration."); yynerrs++;} | eno_identifier ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in ENO declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in ENO declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; input_output_declarations: VAR_IN_OUT var_declaration_list END_VAR {$$ = new input_output_declarations_c($2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR_IN_OUT END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in in_out variable(s) declaration."); yynerrs++;} | VAR_IN_OUT error var_declaration_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_IN_OUT' in in_out variable(s) declaration."); yyerrok;} | VAR_IN_OUT var_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed in_out variable(s) declaration."); yyerrok;} | VAR_IN_OUT error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in in_out variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for input_output_declarations */ var_declaration_list: var_declaration ';' {$$ = new var_declaration_list_c(locloc(@$)); $$->add_element($1);} | var_declaration_list var_declaration ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new var_declaration_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid variable(s) declaration."); yyerrok;} | var_declaration error {$$ = new var_declaration_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of variable(s) declaration."); yyerrok;} | var_declaration_list var_declaration error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of variable(s) declaration."); yyerrok;} | var_declaration_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid variable(s) declaration."); yyerrok;} | var_declaration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after variable(s) declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; var_declaration: temp_var_decl | fb_name_decl ; temp_var_decl: var1_declaration | array_var_declaration | structured_var_declaration | string_var_declaration ; var1_declaration: var1_list ':' simple_specification {$$ = new var1_init_decl_c($1, $3, locloc(@$));} | var1_list ':' subrange_specification {$$ = new var1_init_decl_c($1, $3, locloc(@$));} | var1_list ':' enumerated_specification {$$ = new var1_init_decl_c($1, $3, locloc(@$));} | var1_list ':' ref_spec /* defined in IEC 61131-3 v3 (REF_TO ...)*/ {$$ = new var1_init_decl_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list simple_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and simple specification."); yynerrs++;} | var1_list subrange_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and subrange specification."); yynerrs++;} | var1_list enumerated_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and enumerated specification."); yynerrs++;} /* ERROR_CHECK_END */ ; array_var_declaration: var1_list ':' array_specification {$$ = new array_var_declaration_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list array_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and array specification."); yynerrs++;} /* ERROR_CHECK_END */ ; structured_var_declaration: var1_list ':' prev_declared_structure_type_name {$$ = new structured_var_declaration_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list prev_declared_structure_type_name {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and structured specification."); yynerrs++;} /* ERROR_CHECK_END */ ; var_declarations: VAR var_init_decl_list END_VAR {$$ = new var_declarations_c(NULL, $2, locloc(@$));} | VAR CONSTANT var_init_decl_list END_VAR {$$ = new var_declarations_c(new constant_option_c(locloc(@2)), $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in variable(s) declaration."); yynerrs++;} | VAR CONSTANT END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in constant variable(s) declaration."); yynerrs++;} | VAR error var_init_decl_list END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@3), "unexpected token after 'VAR' in variable(s) declaration."); yyerrok;} | VAR CONSTANT error var_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'CONSTANT' in constant variable(s) declaration."); yyerrok;} | VAR var_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed variable(s) declaration."); yyerrok;} | VAR CONSTANT var_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed constant variable(s) declaration."); yyerrok;} | VAR error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in variable(s) declaration."); yyerrok;} | VAR CONSTANT error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in constant variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; retentive_var_declarations: VAR RETAIN var_init_decl_list END_VAR {$$ = new retentive_var_declarations_c($3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR RETAIN END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in retentive variable(s) declaration."); yynerrs++;} | VAR RETAIN error var_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'RETAIN' in retentive variable(s) declaration."); yyerrok;} | VAR RETAIN var_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed retentive variable(s) declaration."); yyerrok;} | VAR RETAIN error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in retentive variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; located_var_declarations: VAR located_var_decl_list END_VAR {$$ = new located_var_declarations_c(NULL, $2, locloc(@$));} | VAR CONSTANT located_var_decl_list END_VAR {$$ = new located_var_declarations_c(new constant_option_c(locloc(@2)), $3, locloc(@$));} | VAR RETAIN located_var_decl_list END_VAR {$$ = new located_var_declarations_c(new retain_option_c(locloc(@2)), $3, locloc(@$));} | VAR NON_RETAIN located_var_decl_list END_VAR {$$ = new located_var_declarations_c(new non_retain_option_c(locloc(@2)), $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR NON_RETAIN END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in non-retentive located variable(s) declaration."); yynerrs++;} | VAR error located_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR' in located variable(s) declaration."); yyerrok;} | VAR CONSTANT error located_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'CONSTANT' in constant located variable(s) declaration."); yyerrok;} | VAR RETAIN error located_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'RETAIN' in retentive located variable(s) declaration."); yyerrok;} | VAR NON_RETAIN error located_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'NON_RETAIN' in non-retentive located variable(s) declaration."); yyerrok;} | VAR located_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed located variable(s) declaration."); yyerrok;} | VAR CONSTANT located_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed constant located variable(s) declaration."); yyerrok;} | VAR RETAIN located_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed retentive located variable(s) declaration."); yyerrok;} | VAR NON_RETAIN located_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed non-retentive located variable(s) declaration."); yyerrok;} | VAR NON_RETAIN error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in non retentive variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for located_var_declarations */ located_var_decl_list: located_var_decl ';' {$$ = new located_var_decl_list_c(locloc(@$)); $$->add_element($1);} | located_var_decl_list located_var_decl ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new located_var_decl_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid located variable declaration."); yyerrok;} | located_var_decl error {$$ = new located_var_decl_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of located variable declaration."); yyerrok;} | located_var_decl_list located_var_decl error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of located variable declaration."); yyerrok;} | located_var_decl_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid located variable declaration."); yyerrok;} | located_var_decl_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after located variable declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; located_var_decl: variable_name location ':' located_var_spec_init {$$ = new located_var_decl_c($1, $2, $4, locloc(@$)); variable_name_symtable.insert($1, prev_declared_variable_name_token); } | location ':' located_var_spec_init {$$ = new located_var_decl_c(NULL, $1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | variable_name location located_var_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between located variable location and specification."); yynerrs++;} | location located_var_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between located variable location and specification."); yynerrs++;} | variable_name location ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in located variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in located variable declaration."); yyclearin;} yyerrok; } | location ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in located variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in located variable declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; external_var_declarations: VAR_EXTERNAL external_declaration_list END_VAR {$$ = new external_var_declarations_c(NULL, $2, locloc(@$));} | VAR_EXTERNAL CONSTANT external_declaration_list END_VAR {$$ = new external_var_declarations_c(new constant_option_c(locloc(@2)), $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR_EXTERNAL END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in external variable(s) declaration."); yynerrs++;} | VAR_EXTERNAL CONSTANT END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in constant external variable(s) declaration."); yynerrs++;} | VAR_EXTERNAL error external_declaration_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_EXTERNAL' in external variable(s) declaration."); yyerrok;} | VAR_EXTERNAL CONSTANT error external_declaration_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'CONSTANT' in constant external variable(s) declaration."); yyerrok;} | VAR_EXTERNAL external_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed external variable(s) declaration."); yyerrok;} | VAR_EXTERNAL CONSTANT external_declaration_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed constant external variable(s) declaration."); yyerrok;} | VAR_EXTERNAL error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in external variable(s) declaration."); yyerrok;} | VAR_EXTERNAL CONSTANT error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in constant external variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for external_var_declarations */ external_declaration_list: external_declaration ';' {$$ = new external_declaration_list_c(locloc(@$)); $$->add_element($1);} | external_declaration_list external_declaration ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new external_declaration_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid external variable declaration."); yyerrok;} | external_declaration error {$$ = new external_declaration_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of external variable declaration."); yyerrok;} | external_declaration_list external_declaration error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of external variable declaration."); yyerrok;} | external_declaration_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid external variable declaration."); yyerrok;} | external_declaration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after external variable declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; /* Warning: When handling VAR_EXTERNAL declarations, the constant folding algorithm may (depending on the command line parameters) * set the symbol_c->const_value annotations on both the external_var_name as well as on its VAR_EXTERNAL datatype specification symbol. * Setting the const_value on the datatype specification symbol of a VAR_EXTERNAL declaration is only possible if the declaration of * several external variables in a list is not allowed (as each variable could have a potentially distinct initial value). * VAR_EXTERNAL * a, b, c, d: INT; (* incorrect syntax! *) * END_VAR * * If anybody considers extending this standard syntax to allow the above syntax (several variables in a list), then be sure to go * and fix the constant folding algorithm (more precisely, the constant_folding_c::handle_var_extern_global_pair() function. */ external_declaration: global_var_name ':' simple_specification {$$ = new external_declaration_c($1, $3, locloc(@$)); variable_name_symtable.insert($1, prev_declared_variable_name_token); } | global_var_name ':' subrange_specification {$$ = new external_declaration_c($1, $3, locloc(@$)); variable_name_symtable.insert($1, prev_declared_variable_name_token); } | global_var_name ':' enumerated_specification {$$ = new external_declaration_c($1, $3, locloc(@$)); variable_name_symtable.insert($1, prev_declared_variable_name_token); } | global_var_name ':' array_specification {$$ = new external_declaration_c($1, $3, locloc(@$)); variable_name_symtable.insert($1, prev_declared_variable_name_token); } | global_var_name ':' prev_declared_structure_type_name {$$ = new external_declaration_c($1, $3, locloc(@$)); variable_name_symtable.insert($1, prev_declared_variable_name_token); } | global_var_name ':' function_block_type_name {$$ = new external_declaration_c($1, new fb_spec_init_c($3, NULL, locloc(@3)), locloc(@$)); variable_name_symtable.insert($1, prev_declared_fb_name_token); } | global_var_name ':' ref_spec /* defined in IEC 61131-3 v3 (REF_TO ...)*/ {$$ = new external_declaration_c($1, $3, locloc(@$)); variable_name_symtable.insert($1, prev_declared_fb_name_token); } /* ERROR_CHECK_BEGIN */ | global_var_name simple_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between external variable name and simple specification."); yynerrs++;} | global_var_name subrange_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between external variable name and subrange specification."); yynerrs++;} | global_var_name enumerated_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between external variable name and enumerated specification."); yynerrs++;} | global_var_name array_specification {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between external variable name and array specification."); yynerrs++;} | global_var_name prev_declared_structure_type_name {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between external variable name and structured specification."); yynerrs++;} | global_var_name function_block_type_name {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between external variable name and function block type specification."); yynerrs++;} | global_var_name ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in external variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in external variable declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; global_var_name: identifier; global_var_declarations: VAR_GLOBAL global_var_decl_list END_VAR {$$ = new global_var_declarations_c(NULL, $2, locloc(@$));} | VAR_GLOBAL CONSTANT global_var_decl_list END_VAR {$$ = new global_var_declarations_c(new constant_option_c(locloc(@2)), $3, locloc(@$));} | VAR_GLOBAL RETAIN global_var_decl_list END_VAR {$$ = new global_var_declarations_c(new retain_option_c(locloc(@2)), $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR_GLOBAL END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in global variable(s) declaration."); yynerrs++;} | VAR_GLOBAL CONSTANT END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in constant global variable(s) declaration."); yynerrs++;} | VAR_GLOBAL RETAIN END_VAR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable declared in retentive global variable(s) declaration."); yynerrs++;} | VAR_GLOBAL error global_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_GLOBAL' in global variable(s) declaration."); yyerrok;} | VAR_GLOBAL CONSTANT error global_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'CONSTANT' in constant global variable(s) declaration."); yyerrok;} | VAR_GLOBAL RETAIN error global_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'RETAIN' in retentive global variable(s) declaration."); yyerrok;} | VAR_GLOBAL global_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed global variable(s) declaration."); yyerrok;} | VAR_GLOBAL CONSTANT global_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed constant global variable(s) declaration."); yyerrok;} | VAR_GLOBAL RETAIN global_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed retentive global variable(s) declaration."); yyerrok;} | VAR_GLOBAL error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in global variable(s) declaration."); yyerrok;} | VAR_GLOBAL CONSTANT error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in constant global variable(s) declaration."); yyerrok;} | VAR_GLOBAL RETAIN error END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unknown error in constant global variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for global_var_declarations */ global_var_decl_list: global_var_decl ';' {$$ = new global_var_decl_list_c(locloc(@$)); $$->add_element($1);} | global_var_decl_list global_var_decl ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new global_var_decl_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid global variable(s) declaration."); yyerrok;} | global_var_decl error {$$ = new global_var_decl_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of global variable(s) declaration."); yyerrok;} | global_var_decl_list global_var_decl error {$$ = $1; print_err_msg(locl(@1), locf(@2), "';' missing at end of global variable(s) declaration."); yyerrok;} | global_var_decl_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid global variable(s) declaration."); yyerrok;} | global_var_decl_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after global variable(s) declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; global_var_decl: /* NOTE : This possibility defined in standard has no sense and generate a conflict (disabled) global_var_spec ':' {$$ = new global_var_decl_c($1, NULL, locloc(@$));} */ global_var_spec ':' located_var_spec_init {$$ = new global_var_decl_c($1, $3, locloc(@$));} | global_var_spec ':' function_block_type_name {$$ = new global_var_decl_c($1, new fb_spec_init_c($3, NULL, locloc(@3)), locloc(@$));} /* ERROR_CHECK_BEGIN */ | global_var_list located_var_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between global variable list and type specification."); yynerrs++;} | global_var_name location located_var_spec_init {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between global variable specification and type specification."); yynerrs++;} | global_var_spec function_block_type_name {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between global variable specification and function block type specification."); yynerrs++;} | global_var_spec ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in global variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in global variable declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; global_var_spec: global_var_list {$$ = $1;} | location {$$ = new global_var_spec_c(NULL, $1, locloc(@$));} | global_var_name location {$$ = new global_var_spec_c($1, $2, locloc(@$)); variable_name_symtable.insert($1, prev_declared_global_var_name_token); } ; located_var_spec_init: simple_spec_init | subrange_spec_init | enumerated_spec_init | array_spec_init | initialized_structure | single_byte_string_spec | double_byte_string_spec | ref_spec_init /* defined in IEC 61131-3 v3 (REF_TO ...) */ ; location: AT direct_variable_token {$$ = new location_c(new direct_variable_c($2, locloc(@$)), locloc(@$)); direct_variable_symtable.insert($2, prev_declared_direct_variable_token); } /* ERROR_CHECK_BEGIN */ | AT error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no location defined in location declaration.");} else {print_err_msg(locf(@2), locl(@2), "invalid location in global location declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; global_var_list: global_var_name {$$ = new global_var_list_c(locloc(@$)); $$->add_element($1); variable_name_symtable.insert($1, prev_declared_global_var_name_token); } | global_var_list ',' global_var_name {$$ = $1; $$->add_element($3); variable_name_symtable.insert($3, prev_declared_global_var_name_token); } /* ERROR_CHECK_BEGIN */ | global_var_list global_var_name {$$ = new global_var_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "',' missing in global variable list."); yynerrs++;} | global_var_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no variable name defined in global variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid variable name in global variable declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; string_var_declaration: single_byte_string_var_declaration | double_byte_string_var_declaration ; single_byte_string_var_declaration: var1_list ':' single_byte_string_spec {$$ = new single_byte_string_var_declaration_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list single_byte_string_spec {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and string type specification."); yynerrs++;} /* ERROR_CHECK_END */ ; /* NOTE: The constructs * * [W]STRING * and * [W]STRING ASSIGN single_byte_character_string * * were removed as they are already contained * within a other constructs. * * single_byte_string_spec is used in: * - single_byte_string_var_declaration -> * -> string_var_declaration ---> var_init_decl * |--> temp_var_decl * |--> var2_init_decl * - located_var_spec_init * * STRING [ASSIGN string_constant] -> elementary_string_type_name -> * -> simple_spec -> simple_specification -> simple_spec_init -> * -> located_var_spec_init * * STRING [ASSIGN string_constant] -> elementary_string_type_name -> * -> simple_spec -> simple_specification -> simple_spec_init -> * -> var1_init_decl -> var_init_decl * * STRING [ASSIGN string_constant] -> elementary_string_type_name -> * -> simple_spec -> simple_specification -> simple_spec_init -> * -> var1_init_decl -> var2_init_decl * * STRING [ASSIGN string_constant] -> elementary_string_type_name -> * -> simple_spec -> simple_specification -> * -> var1_declaration -> temp_var_decl */ single_byte_string_spec: /* STRING {$$ = new single_byte_string_spec_c(NULL, NULL);} */ STRING '[' integer ']' {$$ = new single_byte_string_spec_c(new single_byte_limited_len_string_spec_c(new string_type_name_c(locloc(@1)), $3, locloc(@$)), NULL, locloc(@$));} /* | STRING ASSIGN single_byte_character_string {$$ = new single_byte_string_spec_c($1, NULL, $3, locloc(@$));} */ | STRING '[' integer ']' ASSIGN single_byte_character_string {$$ = new single_byte_string_spec_c(new single_byte_limited_len_string_spec_c(new string_type_name_c(locloc(@1)), $3, locloc(@$)), $6, locloc(@$));} /* ERROR_CHECK_BEGIN */ | STRING '[' error ']' {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid length value for limited string type specification."); yyerrok;} | STRING '[' error ']' ASSIGN single_byte_character_string {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid length value for limited string type specification."); yyerrok;} | STRING '[' ']' {$$ = NULL; print_err_msg(locl(@2), locf(@3), "missing length value for limited string type specification."); yynerrs++;} | STRING '[' ']' ASSIGN single_byte_character_string {$$ = NULL; print_err_msg(locl(@2), locf(@3), "missing length value for limited string type specification."); yynerrs++;} | STRING '[' integer error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "expecting ']' after length definition for limited string type specification."); yyerrok;} | STRING '[' integer ']' single_byte_character_string {$$ = NULL; print_err_msg(locl(@4), locf(@5), "':=' missing before limited string type initialization."); yynerrs++;} | STRING '[' integer ']' ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@5), locf(@6), "no initial value defined in limited string type initialization.");} else {print_err_msg(locf(@6), locl(@6), "invalid initial value in limited string type initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; double_byte_string_var_declaration: var1_list ':' double_byte_string_spec {$$ = new double_byte_string_var_declaration_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | var1_list double_byte_string_spec {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between variable list and double byte string type specification."); yynerrs++;} /* ERROR_CHECK_END */ ; double_byte_string_spec: /* WSTRING {$$ = new double_byte_string_spec_c($1, NULL, NULL, locloc(@$));} */ WSTRING '[' integer ']' {$$ = new double_byte_string_spec_c(new double_byte_limited_len_string_spec_c(new wstring_type_name_c(locloc(@1)), $3, locloc(@$)), NULL, locloc(@$));} /* | WSTRING ASSIGN double_byte_character_string {$$ = new double_byte_string_spec_c($1, NULL, $3, locloc(@$));} */ | WSTRING '[' integer ']' ASSIGN double_byte_character_string {$$ = new double_byte_string_spec_c(new double_byte_limited_len_string_spec_c(new wstring_type_name_c(locloc(@1)), $3, locloc(@$)), $6, locloc(@$));} /* ERROR_CHECK_BEGIN */ | WSTRING '[' error ']' {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid length value for limited double byte string type specification."); yyerrok;} | WSTRING '[' error ']' ASSIGN single_byte_character_string {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid length value for limited double byte string type specification."); yyerrok;} | WSTRING '[' ']' {$$ = NULL; print_err_msg(locl(@2), locf(@3), "missing length value for limited double byte string type specification."); yynerrs++;} | WSTRING '[' ']' ASSIGN single_byte_character_string {$$ = NULL; print_err_msg(locl(@2), locf(@3), "missing length value for limited double byte string type specification."); yynerrs++;} | WSTRING '[' integer error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "expecting ']' after length definition for limited double byte string type specification."); yyerrok;} | WSTRING '[' integer ']' single_byte_character_string {$$ = NULL; print_err_msg(locl(@4), locf(@5), "':=' missing before limited double byte string type initialization."); yynerrs++;} | WSTRING '[' integer ']' ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@5), locf(@6), "no initial value defined double byte in limited string type initialization.");} else {print_err_msg(locf(@6), locl(@6), "invalid initial value in limited double byte string type initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; incompl_located_var_declarations: VAR incompl_located_var_decl_list END_VAR {$$ = new incompl_located_var_declarations_c(NULL, $2, locloc(@$));} | VAR RETAIN incompl_located_var_decl_list END_VAR {$$ = new incompl_located_var_declarations_c(new retain_option_c(locloc(@2)), $3, locloc(@$));} | VAR NON_RETAIN incompl_located_var_decl_list END_VAR {$$ = new incompl_located_var_declarations_c(new non_retain_option_c(locloc(@2)), $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR incompl_located_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed incomplete located variable(s) declaration."); yyerrok;} | VAR RETAIN incompl_located_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed incomplete retentive located variable(s) declaration."); yyerrok;} | VAR NON_RETAIN incompl_located_var_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed incomplete non-retentive located variable(s) declaration."); yyerrok;} | VAR error incompl_located_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR' in incomplete located variable(s) declaration."); yyerrok;} | VAR RETAIN error incompl_located_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'RETAIN' in retentive located variable(s) declaration."); yyerrok;} | VAR NON_RETAIN error incompl_located_var_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'NON_RETAIN' in non-retentive located variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for incompl_located_var_declarations */ incompl_located_var_decl_list: incompl_located_var_decl ';' {$$ = new incompl_located_var_decl_list_c(locloc(@$)); $$->add_element($1);} | incompl_located_var_decl_list incompl_located_var_decl ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | incompl_located_var_decl error {$$ = new incompl_located_var_decl_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of incomplete located variable declaration."); yyerrok;} | incompl_located_var_decl_list incompl_located_var_decl error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of incomplete located variable declaration."); yyerrok;} | incompl_located_var_decl_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid incomplete located variable declaration."); yyerrok;} | incompl_located_var_decl_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after incomplete located variable declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; incompl_located_var_decl: variable_name incompl_location ':' var_spec {$$ = new incompl_located_var_decl_c($1, $2, $4, locloc(@$));} /* ERROR_CHECK_BEGIN */ | variable_name incompl_location var_spec {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing between incomplete located variable and type specification."); yynerrs++; } | variable_name incompl_location ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no specification defined in incomplete located variable declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid specification in incomplete located variable declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; incompl_location: AT incompl_location_token {$$ = new incompl_location_c($2, locloc(@$));} ; var_spec: simple_specification | subrange_specification | enumerated_specification | array_specification | prev_declared_structure_type_name | string_spec ; /* helper symbol for var_spec */ string_spec: /* STRING {$$ = new single_byte_limited_len_string_spec_c($1, NULL, locloc(@$));} */ STRING '[' integer ']' {$$ = new single_byte_limited_len_string_spec_c(new string_type_name_c(locloc(@1)), $3, locloc(@$));} /* | WSTRING {$$ = new double_byte_limited_len_string_spec_c($1, NULL, locloc(@$));} */ | WSTRING '[' integer ']' {$$ = new double_byte_limited_len_string_spec_c(new wstring_type_name_c(locloc(@1)), $3, locloc(@$));} ; /* intermediate helper symbol for: * - non_retentive_var_decls * - var_declarations */ var_init_decl_list: var_init_decl ';' {$$ = new var_init_decl_list_c(locloc(@$)); $$->add_element($1);} | var_init_decl_list var_init_decl ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | var_init_decl_list var_init_decl error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of variable(s) declaration."); yyerrok;} | var_init_decl_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /***********************/ /* B 1.5.1 - Functions */ /***********************/ /* function_name: prev_declared_derived_function_name | standard_function_name ; */ /* The following rules should be set such as: * function_name: function_name_no_clashes | function_name_simpleop_clashes | function_name_expression_clashes * function_name: function_name_no_NOT_clashes | function_name_NOT_clashes; */ function_name_no_clashes: prev_declared_derived_function_name | standard_function_name_no_clashes; function_name_simpleop_clashes: standard_function_name_simpleop_clashes; //function_name_expression_clashes: standard_function_name_expression_clashes; function_name_no_NOT_clashes: prev_declared_derived_function_name | standard_function_name_no_NOT_clashes; //function_name_NOT_clashes: standard_function_name_NOT_clashes; /* NOTE: The list of standard function names * includes the standard functions MOD(), NOT() * * Strangely enough, MOD and NOT are reserved keywords, * so shouldn't be used for function names. * * The specification contradicts itself! * Our workaround is to treat MOD as a token, * but to include this token as a * standard_function_name. * * The names of all other standard functions get * preloaded into the library_element_symbol_table * with the token value of * standard_function_name_token * Actually, simply for completeness, MOD is also * loaded into the library_element_symbol_table, but * it is irrelevant since flex will catch MOD as a * token, before it interprets it as an identifier, * and looks in the library_element_symbol_table to check * whether it has been previously declared. * * NOTE: The same as the above also occurs with the IL * operators NOT AND OR XOR ADD SUB MUL DIV MOD * GT GE EQ LT LE NE. * Note that MOD is once again in the list! * Anyway, we give these the same treatement as * MOD, since we are writing a parser for ST and * IL simultaneously. If this were not the case, * the ST parser would not need the tokens NOT AND ... * * NOTE: Note that 'NOT' is special, as it conflicts * with two operators: the IL 'NOT' operator, and * the unary operator 'NOT' in ST!! * * NOTE: The IL language is ambiguous, since using NOT, AND, ... * may be interpreted as either an IL operator, or * as a standard function call! * I (Mario) opted to interpret it as an IL operator. * This requires changing the syntax for IL language * function calling, to exclude all function with * names that clash with IL operators. I therefore * created the constructs * function_name_without_clashes * standard_function_name_without_clashes * to include all function names, except those that clash * with IL operators. These constructs are only used * within the IL language! */ /* The following rules should be set such as: * standard_function_name: standard_function_name_no_clashes | standard_function_name_simpleop_clashes | standard_function_name_expression_clashes * standard_function_name: standard_function_name_no_NOT_clashes | standard_function_name_NOT_clashes; */ /* standard_function_name: standard_function_name_no_clashes | standard_function_name_expression_clashes | standard_function_name_NOT_clashes //| standard_function_name_simpleop_only_clashes ; */ standard_function_name_no_NOT_clashes: standard_function_name_no_clashes | standard_function_name_expression_clashes //| standard_function_name_simpleop_only_clashes ; /* standard_function_name_no_clashes is only used in function invocations, so we use the poutype_identifier_c class! */ standard_function_name_no_clashes: standard_function_name_token {$$ = new poutype_identifier_c($1, locloc(@$));} ; standard_function_name_simpleop_clashes: standard_function_name_NOT_clashes //| standard_function_name_simpleop_only_clashes ; /* standard_function_name_NOT_clashes is only used in function invocations, so we use the poutype_identifier_c class! */ standard_function_name_NOT_clashes: NOT {$$ = new poutype_identifier_c(strdup("NOT"), locloc(@$));} ; /* Add here any other IL simple operators that collide * with standard function names! * Don't forget to uncomment the equivalent lines in * - standard_function_name_simpleop_clashes * - standard_function_name * - standard_function_name_no_NOT_clashes */ /* standard_function_name_simpleop_only_clashes: ; */ /* standard_function_name_expression_clashes is only used in function invocations, so we use the poutype_identifier_c class! */ standard_function_name_expression_clashes: AND {$$ = new poutype_identifier_c(strdup("AND"), locloc(@$));} | OR {$$ = new poutype_identifier_c(strdup("OR"), locloc(@$));} | XOR {$$ = new poutype_identifier_c(strdup("XOR"), locloc(@$));} | ADD {$$ = new poutype_identifier_c(strdup("ADD"), locloc(@$));} | SUB {$$ = new poutype_identifier_c(strdup("SUB"), locloc(@$));} | MUL {$$ = new poutype_identifier_c(strdup("MUL"), locloc(@$));} | DIV {$$ = new poutype_identifier_c(strdup("DIV"), locloc(@$));} | MOD {$$ = new poutype_identifier_c(strdup("MOD"), locloc(@$));} | GT {$$ = new poutype_identifier_c(strdup("GT"), locloc(@$));} | GE {$$ = new poutype_identifier_c(strdup("GE"), locloc(@$));} | EQ {$$ = new poutype_identifier_c(strdup("EQ"), locloc(@$));} | LT {$$ = new poutype_identifier_c(strdup("LT"), locloc(@$));} | LE {$$ = new poutype_identifier_c(strdup("LE"), locloc(@$));} | NE {$$ = new poutype_identifier_c(strdup("NE"), locloc(@$));} /* AND_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} //NOTE: AND2 (corresponding to the source code string '&') does not clash // with a standard function name, so should be commented out! //| AND2_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | OR_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | XOR_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | ADD_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | SUB_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | MUL_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | DIV_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | MOD_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | GT_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | GE_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | EQ_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | LT_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | LE_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} | NE_operator {$$ = il_operator_c_2_poutype_identifier_c($1);} */ ; derived_function_name: identifier /* will never occur during normal parsing, only needed for preparsing to change it to a prev_declared_derived_function_name! */ | prev_declared_derived_function_name {$$ = new identifier_c(((token_c *)$1)->value, locloc(@$)); // transform the poutype_identifier_c into an identifier_c if (get_preparse_state() && !allow_function_overloading) {print_err_msg(locloc(@$), "Function overloading not allowed. Invalid identifier.\n"); yynerrs++;} } | AND {$$ = new identifier_c("AND", locloc(@$)); if (!allow_function_overloading) {print_err_msg(locloc(@$), "Function overloading not allowed. Invalid identifier.\n"); yynerrs++;} } | OR {$$ = new identifier_c("OR", locloc(@$)); if (!allow_function_overloading) {print_err_msg(locloc(@$), "Function overloading not allowed. Invalid identifier.\n"); yynerrs++;} } | XOR {$$ = new identifier_c("XOR", locloc(@$)); if (!allow_function_overloading) {print_err_msg(locloc(@$), "Function overloading not allowed. Invalid identifier.\n"); yynerrs++;} } | NOT {$$ = new identifier_c("NOT", locloc(@$)); if (!allow_function_overloading) {print_err_msg(locloc(@$), "Function overloading not allowed. Invalid identifier.\n"); yynerrs++;} } | MOD {$$ = new identifier_c("MOD", locloc(@$)); if (!allow_function_overloading) {print_err_msg(locloc(@$), "Function overloading not allowed. Invalid identifier.\n"); yynerrs++;} } ; function_declaration: /* FUNCTION derived_function_name ':' elementary_type_name io_OR_function_var_declarations_list function_body END_FUNCTION */ /* PRE_PARSING: The rules expected to be applied by the preparser. */ FUNCTION derived_function_name END_FUNCTION /* rule that is only expected to be used during preparse state => MUST print an error if used outside preparse() state!! */ {$$ = NULL; if (get_preparse_state()) {library_element_symtable.insert($2, prev_declared_derived_function_name_token);} else {print_err_msg(locl(@1), locf(@3), "FUNCTION with no variable declarations and no body."); yynerrs++;} } /* POST_PARSING and STANDARD_PARSING: The rules expected to be applied after the preparser has finished. */ | function_name_declaration ':' elementary_type_name io_OR_function_var_declarations_list function_body END_FUNCTION {$$ = new function_declaration_c($1, $3, $4, $5, locloc(@$)); if (!runtime_options.disable_implicit_en_eno) add_en_eno_param_decl_c::add_to($$); /* add EN and ENO declarations, if not already there */ variable_name_symtable.pop(); direct_variable_symtable.pop(); library_element_symtable.insert($1, prev_declared_derived_function_name_token); } /* | FUNCTION derived_function_name ':' derived_type_name io_OR_function_var_declarations_list function_body END_FUNCTION */ | function_name_declaration ':' derived_type_name io_OR_function_var_declarations_list function_body END_FUNCTION {$$ = new function_declaration_c($1, $3, $4, $5, locloc(@$)); if (!runtime_options.disable_implicit_en_eno) add_en_eno_param_decl_c::add_to($$); /* add EN and ENO declarations, if not already there */ variable_name_symtable.pop(); direct_variable_symtable.pop(); library_element_symtable.insert($1, prev_declared_derived_function_name_token); } /* ERROR_CHECK_BEGIN */ | function_name_declaration elementary_type_name io_OR_function_var_declarations_list function_body END_FUNCTION {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing after function name in function declaration."); yynerrs++;} | function_name_declaration derived_type_name io_OR_function_var_declarations_list function_body END_FUNCTION {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing after function name in function declaration."); yynerrs++;} | function_name_declaration ':' io_OR_function_var_declarations_list function_body END_FUNCTION {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no return type defined in function declaration."); yynerrs++;} | function_name_declaration ':' error io_OR_function_var_declarations_list function_body END_FUNCTION {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid return type defined in function declaration."); yyerrok;} | function_name_declaration ':' elementary_type_name function_body END_FUNCTION {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no variable(s) declared in function declaration."); yynerrs++;} | function_name_declaration ':' derived_type_name function_body END_FUNCTION {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no variable(s) declared in function declaration."); yynerrs++;} | function_name_declaration ':' elementary_type_name io_OR_function_var_declarations_list END_FUNCTION {$$ = NULL; print_err_msg(locl(@4), locf(@5), "no body defined in function declaration."); yynerrs++;} | function_name_declaration ':' derived_type_name io_OR_function_var_declarations_list END_FUNCTION {$$ = NULL; print_err_msg(locl(@4), locf(@5), "no body defined in function declaration."); yynerrs++;} | function_name_declaration ':' elementary_type_name END_FUNCTION {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no variable(s) declared and body defined in function declaration."); yynerrs++;} | function_name_declaration ':' derived_type_name END_FUNCTION {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no variable(s) declared and body defined in function declaration."); yynerrs++;} | function_name_declaration ':' elementary_type_name io_OR_function_var_declarations_list function_body END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locf(@3), "unclosed function declaration."); yynerrs++;} | function_name_declaration ':' derived_type_name io_OR_function_var_declarations_list function_body END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@3), "unclosed function declaration."); yynerrs++;} | function_name_declaration error END_FUNCTION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in function declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for function_declaration */ /* NOTE: due to reduce/reduce conflicts between identifiers * being reduced to either a variable or an enumerator value, * we were forced to keep a symbol table of the names * of all declared variables. Variables are no longer * created from simple identifier_token, but from * prev_declared_variable_name_token. * * BUT, in functions the function name itself may be used as * a variable! In order to be able to parse this correctly, * the token parser (flex) must return a prev_declared_variable_name_token * when it comes across the function name, while parsing * the function itself. * We do this by inserting the function name into the variable * symbol table, and having flex return a prev_declared_variable_name_token * whenever it comes across it. * When we finish parsing the function the variable name * symbol table is cleared of all entries, and the function * name is inserted into the library element symbol table. This * means that from then onwards flex will return a * derived_function_name_token whenever it comes across the * function name. * * In order to insert the function name into the variable_name * symbol table BEFORE the function body gets parsed, we * need the parser to reduce a construct that contains the * the function name. That is why we created this extra * construct (function_name_declaration), i.e. to force * the parser to reduce it, before parsing the function body! */ function_name_declaration: /* FUNCTION derived_function_name */ FUNCTION derived_function_name {$$ = $2; /* the function name functions as a * variable within the function itself! * * Remember that the variable_name_symtable * is cleared once the end of the function * is parsed. */ variable_name_symtable.insert($2, prev_declared_variable_name_token); } /* ERROR_CHECK_BEGIN */ | FUNCTION error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no function name defined in function declaration.");} else {print_err_msg(locf(@2), locl(@2), "invalid function name in function declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* intermediate helper symbol for function_declaration */ io_OR_function_var_declarations_list: io_var_declarations {$$ = new var_declarations_list_c(locloc(@1));$$->add_element($1);} | function_var_decls {$$ = new var_declarations_list_c(locloc(@1));$$->add_element($1);} | io_OR_function_var_declarations_list io_var_declarations {$$ = $1; $$->add_element($2);} | io_OR_function_var_declarations_list function_var_decls {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | io_OR_function_var_declarations_list retentive_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected retentive variable(s) declaration in function declaration."); yynerrs++;} | io_OR_function_var_declarations_list located_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected located variable(s) declaration in function declaration."); yynerrs++;} | io_OR_function_var_declarations_list external_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected external variable(s) declaration in function declaration."); yynerrs++;} | io_OR_function_var_declarations_list global_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected global variable(s) declaration in function declaration."); yynerrs++;} | io_OR_function_var_declarations_list incompl_located_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected incomplete located variable(s) declaration in function declaration."); yynerrs++;} | io_OR_function_var_declarations_list temp_var_decls {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected temporary located variable(s) declaration in function declaration."); yynerrs++;} | io_OR_function_var_declarations_list non_retentive_var_decls {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected non-retentive variable(s) declaration in function declaration."); yynerrs++;} /*| io_OR_function_var_declarations_list access_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected access variable(s) declaration in function declaration."); yynerrs++;}*/ | io_OR_function_var_declarations_list instance_specific_initializations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected instance specific initialization(s) in function declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; io_var_declarations: input_declarations | output_declarations | input_output_declarations ; function_var_decls: VAR CONSTANT var2_init_decl_list END_VAR {$$ = new function_var_decls_c(new constant_option_c(locloc(@2)), $3, locloc(@$));} | VAR var2_init_decl_list END_VAR {$$ = new function_var_decls_c(NULL, $2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR error var2_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR' in function variable(s) declaration."); yyerrok;} | VAR CONSTANT error var2_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'CONSTANT' in constant function variable(s) declaration."); yyerrok;} | VAR var2_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed function variable(s) declaration."); yyerrok;} | VAR CONSTANT var2_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed constant function variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* intermediate helper symbol for function_var_decls */ var2_init_decl_list: var2_init_decl ';' {$$ = new var2_init_decl_list_c(locloc(@$)); $$->add_element($1);} | var2_init_decl_list var2_init_decl ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | var2_init_decl error {$$ = new var2_init_decl_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of function variable(s) declaration."); yyerrok;} | var2_init_decl_list var2_init_decl error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of function variable(s) declaration."); yyerrok;} | var2_init_decl_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid function variable(s) declaration."); yyerrok;} | var2_init_decl_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after function variable(s) declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; function_body: statement_list {$$ = $1;} /* if we leave it for the default action we get a type clash! */ | instruction_list {$$ = $1;} /* if we leave it for the default action we get a type clash! */ /* | ladder_diagram | function_block_diagram */ ; var2_init_decl: var1_init_decl | array_var_init_decl | structured_var_init_decl | string_var_declaration ; /*****************************/ /* B 1.5.2 - Function Blocks */ /*****************************/ function_block_type_name: prev_declared_derived_function_block_name | standard_function_block_name ; standard_function_block_name: standard_function_block_name_token {$$ = new identifier_c($1, locloc(@$));}; derived_function_block_name: identifier; function_block_declaration: /* PRE_PARSING: The rules expected to be applied by the preparser. Will only run if pre-parsing command line option is ON. */ FUNCTION_BLOCK derived_function_block_name END_FUNCTION_BLOCK /* rule that is only expected to be used during preparse state => MUST print an error if used outside preparse() state!! */ {$$ = NULL; if (get_preparse_state()) {library_element_symtable.insert($2, prev_declared_derived_function_block_name_token);} else {print_err_msg(locl(@1), locf(@3), "FUNCTION_BLOCK with no variable declarations and no body."); yynerrs++;} } /* POST_PARSING: The rules expected to be applied after the preparser runs. Will only run if pre-parsing command line option is ON. */ | FUNCTION_BLOCK prev_declared_derived_function_block_name io_OR_other_var_declarations_list function_block_body END_FUNCTION_BLOCK {$$ = new function_block_declaration_c($2, $3, $4, locloc(@$)); if (!runtime_options.disable_implicit_en_eno) add_en_eno_param_decl_c::add_to($$); /* add EN and ENO declarations, if not already there */ /* Clear the variable_name_symtable. Since we have finished parsing the function block, * the variable names are now out of scope, so are no longer valid! */ variable_name_symtable.pop(); direct_variable_symtable.pop(); } /* STANDARD_PARSING: The rules expected to be applied in single-phase parsing. Will only run if pre-parsing command line option is OFF. */ | FUNCTION_BLOCK derived_function_block_name io_OR_other_var_declarations_list function_block_body END_FUNCTION_BLOCK {$$ = new function_block_declaration_c($2, $3, $4, locloc(@$)); library_element_symtable.insert($2, prev_declared_derived_function_block_name_token); if (!runtime_options.disable_implicit_en_eno) add_en_eno_param_decl_c::add_to($$); /* add EN and ENO declarations, if not already there */ /* Clear the variable_name_symtable. Since we have finished parsing the function block, * the variable names are now out of scope, so are no longer valid! */ variable_name_symtable.pop(); direct_variable_symtable.pop(); } /* ERROR_CHECK_BEGIN */ | FUNCTION_BLOCK io_OR_other_var_declarations_list function_block_body END_FUNCTION_BLOCK {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no function block name defined in function block declaration."); yynerrs++;} | FUNCTION_BLOCK error io_OR_other_var_declarations_list function_block_body END_FUNCTION_BLOCK {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid function block name in function block declaration."); yyerrok;} | FUNCTION_BLOCK derived_function_block_name function_block_body END_FUNCTION_BLOCK {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable(s) declared in function declaration."); yynerrs++;} | FUNCTION_BLOCK derived_function_block_name io_OR_other_var_declarations_list END_FUNCTION_BLOCK {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no body defined in function block declaration."); yynerrs++;} /* Rule already covered by the rule to handle the preparse state! | FUNCTION_BLOCK derived_function_block_name END_FUNCTION_BLOCK {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable(s) declared and body defined in function block declaration."); yynerrs++;} */ | FUNCTION_BLOCK derived_function_block_name io_OR_other_var_declarations_list function_block_body END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "no variable(s) declared and body defined in function block declaration."); yynerrs++;} | FUNCTION_BLOCK error END_FUNCTION_BLOCK {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in function block declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* intermediate helper symbol for function_declaration */ /* { io_var_declarations | other_var_declarations } */ /* * NOTE: we re-use the var_declarations_list_c */ io_OR_other_var_declarations_list: io_var_declarations {$$ = new var_declarations_list_c(locloc(@$));$$->add_element($1);} | other_var_declarations {$$ = new var_declarations_list_c(locloc(@$));$$->add_element($1);} | io_OR_other_var_declarations_list io_var_declarations {$$ = $1; $$->add_element($2);} | io_OR_other_var_declarations_list other_var_declarations {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | io_OR_other_var_declarations_list located_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected located variable(s) declaration in function block declaration."); yynerrs++;} | io_OR_other_var_declarations_list global_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected global variable(s) declaration in function block declaration."); yynerrs++;} /*| io_OR_other_var_declarations_list access_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected access variable(s) declaration in function block declaration."); yynerrs++;}*/ | io_OR_other_var_declarations_list instance_specific_initializations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected instance specific initialization(s) in function block declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; /* NOTE: * The IEC specification gives the following definition: * other_var_declarations ::= * external_var_declarations * | var_declarations * | retentive_var_declarations * | non_retentive_var_declarations * | temp_var_decls * | incompl_located_var_declarations * * Nvertheless, the symbol non_retentive_var_declarations * is not defined in the spec. This seems to me (Mario) * to be a typo, so non_retentive_var_declarations * has been replaced with non_retentive_var_decls * in the following rule! */ other_var_declarations: temp_var_decls | non_retentive_var_decls | external_var_declarations | var_declarations | retentive_var_declarations | incompl_located_var_declarations ; temp_var_decls: VAR_TEMP temp_var_decls_list END_VAR {$$ = new temp_var_decls_c($2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR_TEMP END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in temporary variable(s) declaration."); yynerrs++;} | VAR_TEMP temp_var_decls_list error END_OF_INPUT {$$ = NULL; print_err_msg(locl(@1), locf(@2), "unclosed temporary variable(s) declaration."); yyerrok;} | VAR_TEMP error temp_var_decls_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_TEMP' in function variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* intermediate helper symbol for temp_var_decls */ temp_var_decls_list: temp_var_decl ';' {$$ = new temp_var_decls_list_c(locloc(@$)); $$->add_element($1);} | temp_var_decls_list temp_var_decl ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new temp_var_decls_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid temporary variable(s) declaration."); yyerrok;} | temp_var_decl error {$$ = new temp_var_decls_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at end of temporary variable(s) declaration."); yyerrok;} | temp_var_decls_list temp_var_decl error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of temporary variable(s) declaration."); yyerrok;} | temp_var_decls_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid temporary variable(s) declaration."); yyerrok;} | temp_var_decls_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after temporary variable(s) declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; non_retentive_var_decls: VAR NON_RETAIN var_init_decl_list END_VAR {$$ = new non_retentive_var_decls_c($3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR NON_RETAIN var_init_decl_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unclosed non-retentive temporary variable(s) declaration."); yyerrok;} | VAR NON_RETAIN error var_init_decl_list END_VAR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'NON_RETAIN' in non-retentive temporary variable(s) declaration."); yyerrok;} /* ERROR_CHECK_END */ ; function_block_body: statement_list {$$ = $1;} | instruction_list {$$ = $1;} | sequential_function_chart {$$ = $1;} /* | ladder_diagram | function_block_diagram | <other languages> */ ; /**********************/ /* B 1.5.3 - Programs */ /**********************/ program_type_name: identifier; program_declaration: /* PRE_PARSING: The rules expected to be applied by the preparser. Will only run if pre-parsing command line option is ON. */ PROGRAM program_type_name END_PROGRAM /* rule that is only expected to be used during preparse state => MUST print an error if used outside preparse() state!! */ {$$ = NULL; if (get_preparse_state()) {library_element_symtable.insert($2, prev_declared_program_type_name_token);} else {print_err_msg(locl(@1), locf(@3), "PROGRAM with no variable declarations and no body."); yynerrs++;} } /* POST_PARSING: The rules expected to be applied after the preparser runs. Will only run if pre-parsing command line option is ON. */ | PROGRAM prev_declared_program_type_name program_var_declarations_list function_block_body END_PROGRAM {$$ = new program_declaration_c($2, $3, $4, locloc(@$)); /* Clear the variable_name_symtable. Since we have finished parsing the program declaration, * the variable names are now out of scope, so are no longer valid! */ variable_name_symtable.pop(); direct_variable_symtable.pop(); } /* STANDARD_PARSING: The rules expected to be applied in single-phase parsing. Will only run if pre-parsing command line option is OFF. */ | PROGRAM program_type_name {library_element_symtable.insert($2, prev_declared_program_type_name_token);} program_var_declarations_list function_block_body END_PROGRAM {$$ = new program_declaration_c($2, $4, $5, locloc(@$)); /* Clear the variable_name_symtable. Since we have finished parsing the program declaration, * the variable names are now out of scope, so are no longer valid! */ variable_name_symtable.pop(); direct_variable_symtable.pop(); } /* ERROR_CHECK_BEGIN */ | PROGRAM program_var_declarations_list function_block_body END_PROGRAM {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no program name defined in program declaration.");} | PROGRAM error program_var_declarations_list function_block_body END_PROGRAM {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid program name in program declaration."); yyerrok;} | PROGRAM prev_declared_program_type_name function_block_body END_PROGRAM {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable(s) declared in program declaration."); yynerrs++;} | PROGRAM prev_declared_program_type_name program_var_declarations_list END_PROGRAM {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no body defined in program declaration."); yynerrs++;} /* Rule already covered by the rule to handle the preparse state! | PROGRAM prev_declared_program_type_name END_PROGRAM {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no variable(s) declared and body defined in program declaration."); yynerrs++;} */ | PROGRAM prev_declared_program_type_name program_var_declarations_list function_block_body END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed program declaration."); yynerrs++;} | PROGRAM error END_PROGRAM {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in program declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for program_declaration */ /* * NOTE: we re-use the var_declarations_list_c */ program_var_declarations_list: io_var_declarations {$$ = new var_declarations_list_c(locloc(@$)); $$->add_element($1);} | other_var_declarations {$$ = new var_declarations_list_c(locloc(@$)); $$->add_element($1);} | located_var_declarations {$$ = new var_declarations_list_c(locloc(@$)); $$->add_element($1);} | program_var_declarations_list io_var_declarations {$$ = $1; $$->add_element($2);} | program_var_declarations_list other_var_declarations {$$ = $1; $$->add_element($2);} | program_var_declarations_list located_var_declarations {$$ = $1; $$->add_element($2);} /* | program_var_declarations_list program_access_decls {$$ = $1; $$->add_element($2);} */ /* ERROR_CHECK_BEGIN */ | program_var_declarations_list global_var_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected global variable(s) declaration in function block declaration."); yynerrs++;} /*| program_var_declarations_list access_declarations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected access variable(s) declaration in function block declaration."); yynerrs++;}*/ | program_var_declarations_list instance_specific_initializations {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected instance specific initialization(s) in function block declaration."); yynerrs++; } /* ERROR_CHECK_END */ ; /* TODO ... */ /* program_access_decls: VAR_ACCESS program_access_decl_list END_VAR ; */ /* helper symbol for program_access_decls */ /* program_access_decl_list: program_access_decl ';' | program_access_decl_list program_access_decl ';' ; */ /* program_access_decl: access_name ':' symbolic_variable ':' non_generic_type_name | access_name ':' symbolic_variable ':' non_generic_type_name direction ; */ /********************************************/ /* B 1.6 Sequential Function Chart elements * /********************************************/ sequential_function_chart: sfc_network {$$ = new sequential_function_chart_c(locloc(@$)); $$->add_element($1);} | sequential_function_chart sfc_network {$$ = $1; $$->add_element($2);} ; sfc_network: initial_step {$$ = new sfc_network_c(locloc(@$)); $$->add_element($1);} | sfc_network step {$$ = $1; $$->add_element($2);} | sfc_network transition {$$ = $1; $$->add_element($2);} | sfc_network action {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | sfc_network error {$$ = $1; print_err_msg(locl(@1), locf(@2), "unexpected token after SFC network in sequencial function chart."); yyerrok;} /* ERROR_CHECK_END */ ; initial_step: INITIAL_STEP step_name ':' action_association_list END_STEP // INITIAL_STEP identifier ':' action_association_list END_STEP {$$ = new initial_step_c($2, $4, locloc(@$)); variable_name_symtable.insert($2, prev_declared_variable_name_token); // A step name may later be used as a structured variable!! } /* ERROR_CHECK_BEGIN */ | INITIAL_STEP ':' action_association_list END_STEP {$$ = NULL; print_err_msg(locf(@1), locl(@2), "no step name defined in initial step declaration."); yynerrs++;} | INITIAL_STEP error ':' action_association_list END_STEP {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid step name defined in initial step declaration."); yyerrok;} | INITIAL_STEP step_name action_association_list END_STEP {$$ = NULL; print_err_msg(locl(@2), locf(@3), "':' missing after step name in initial step declaration."); yynerrs++;} | INITIAL_STEP step_name ':' error END_STEP {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid action association list in initial step declaration."); yyerrok;} | INITIAL_STEP step_name ':' action_association_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@3), "unclosed initial step declaration."); yynerrs++;} | INITIAL_STEP error END_STEP {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in initial step declaration."); yyerrok;} /* ERROR_CHECK_END */ ; step: STEP step_name ':' action_association_list END_STEP // STEP identifier ':' action_association_list END_STEP {$$ = new step_c($2, $4, locloc(@$)); variable_name_symtable.insert($2, prev_declared_variable_name_token); // A step name may later be used as a structured variable!! } /* ERROR_CHECK_BEGIN */ | STEP ':' action_association_list END_STEP {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no step name defined in step declaration."); yynerrs++;} | STEP error ':' action_association_list END_STEP {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid step name defined in step declaration."); yyerrok;} | STEP step_name action_association_list END_STEP {$$ = NULL; print_err_msg(locl(@2), locf(@3), "':' missing after step name in step declaration."); yynerrs++;} | STEP step_name ':' error END_STEP {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid action association list in step declaration."); yyerrok;} | STEP step_name ':' action_association_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@3), "invalid action association list in step declaration."); yynerrs++;} | STEP error END_STEP {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in step declaration."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for: * - initial_step * - step */ action_association_list: /* empty */ {$$ = new action_association_list_c(locloc(@$));} | action_association_list action_association ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | action_association_list action_association error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at end of action association declaration."); yyerrok;} | action_association_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after action association declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; // step_name: identifier; step_name: any_identifier; action_association: action_name '(' {cmd_goto_sfc_qualifier_state();} action_qualifier {cmd_pop_state();} indicator_name_list ')' {$$ = new action_association_c($1, $4, $6, locloc(@$));} /* ERROR_CHECK_BEGIN */ /*| action_name '(' error ')' {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid qualifier defined in action association."); yyerrok;}*/ /* ERROR_CHECK_END */ ; /* helper symbol for action_association */ indicator_name_list: /* empty */ {$$ = new indicator_name_list_c(locloc(@$));} | indicator_name_list ',' indicator_name {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | indicator_name_list indicator_name {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing at end of action association declaration."); yynerrs++;} | indicator_name_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no indicator defined in indicator list.");} else {print_err_msg(locf(@3), locl(@3), "invalid indicator in indicator list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; // action_name: identifier; action_name: any_identifier; action_qualifier: /* empty */ {$$ = NULL;} | qualifier {$$ = new action_qualifier_c($1, NULL, locloc(@$));} | timed_qualifier ',' action_time {$$ = new action_qualifier_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | timed_qualifier action_time {$$ = NULL; print_err_msg(locl(@1), locf(@2), "',' missing between timed qualifier and action time in action qualifier."); yynerrs++;} | timed_qualifier ',' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no action time defined in action qualifier.");} else {print_err_msg(locf(@3), locl(@3), "invalid action time in action qualifier."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; qualifier: N {$$ = new qualifier_c(strdup("N"), locloc(@$));} | R {$$ = new qualifier_c(strdup("R"), locloc(@$));} | S {$$ = new qualifier_c(strdup("S"), locloc(@$));} | P {$$ = new qualifier_c(strdup("P"), locloc(@$));} | P0 {$$ = new qualifier_c(strdup("P0"), locloc(@$));} | P1 {$$ = new qualifier_c(strdup("P1"), locloc(@$));} ; timed_qualifier: L {$$ = new timed_qualifier_c(strdup("L"), locloc(@$));} | D {$$ = new timed_qualifier_c(strdup("D"), locloc(@$));} | SD {$$ = new timed_qualifier_c(strdup("SD"), locloc(@$));} | DS {$$ = new timed_qualifier_c(strdup("DS"), locloc(@$));} | SL {$$ = new timed_qualifier_c(strdup("SL"), locloc(@$));} ; /* NOTE: A step_name may be used as a structured vaqriable, in order to access the status bit (e.g. Step1.X) * or the time it has been active (e.g. Step1.T). * In order to allow the step name to be used as a variable inside ST expressions (only ST expressions ??) * when defining transitions, we need to add the step_name to the list of previously declared variables. * This allows the step name to be used as a variable inside all transition expressions, as the user * can clearly define the transition _after_ the step itself has been defined/declared, so the * 'variable' is previously 'declared'. * * However, when defining/declaring a step, a variable name can also be used to define a timed * action association. In this case, we may have a circular reference: * e.g. * ... * STEP step1: * action1 (D,t#100ms); * end_step * * STEP step2: * action1 (D,step3.T); <---- forward reference to step3.T !!!!!! * end_step * * STEP step3: * action1 (D,step2.T); <---- back reference to step2.T * end_step * * * There is no way the user can always use the step3.T variable only after it has * been 'declared'. So adding the steps to the list of previously declared variables * when the steps are declared is not a solution to the above situation. * * Fortunately, the standard does not allow ST expressions in the above syntax * (i.e. when defining the delay of a timed actions), but only either a * Time literal, or a variable. * This is why we change the definition of action_time from * action_time: * duration * | variable * ; * * to: * action_time: * duration * | any_symbolic_variable * ; * * NOTE that this same problem does not occur with the 'indicator_name': it does not * make sense to set/indicate a step1.X variable, as these variables are read-only! */ action_time: duration //| variable | any_symbolic_variable ; indicator_name: variable; // transition_name: identifier; transition_name: any_identifier; steps: step_name {$$ = new steps_c($1, NULL, locloc(@$));} | '(' step_name_list ')' {$$ = new steps_c(NULL, $2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | '(' step_name_list error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "expecting ')' at the end of step list in transition declaration."); yyerrok;} | '(' error ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid step list in transition declaration."); yyerrok;} /* ERROR_CHECK_END */ ; step_name_list: step_name ',' step_name {$$ = new step_name_list_c(locloc(@$)); $$->add_element($1); $$->add_element($3);} | step_name_list ',' step_name {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | step_name_list step_name {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing in step list."); yynerrs++;} | step_name_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no step name defined in step list.");} else {print_err_msg(locf(@3), locl(@3), "invalid step name in step list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: flex will automatically pop() out of body_state to previous state. * We do not need to give a command from bison to return to previous flex state, * after forcing flex to go to body_state. */ transition: TRANSITION transition_priority FROM steps TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = new transition_c(NULL, $2, $4, $6, $8, locloc(@$));} //| TRANSITION identifier FROM steps TO steps ... | TRANSITION transition_name transition_priority FROM steps TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = new transition_c($2, $3, $5, $7, $9, locloc(@$));} /* ERROR_CHECK_BEGIN */ | TRANSITION error transition_priority FROM steps TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid transition name defined in transition declaration."); yyerrok;} | TRANSITION transition_name error FROM steps TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid transition priority defined in transition declaration."); yyerrok;} | TRANSITION transition_priority FROM TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no origin step(s) defined in transition declaration."); yynerrs++;} | TRANSITION transition_name transition_priority FROM TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@4), locf(@5), "no origin step(s) defined in transition declaration."); yynerrs++;} | TRANSITION transition_priority FROM error TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid origin step(s) defined in transition declaration."); yyerrok;} | TRANSITION transition_name transition_priority FROM error TO steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locf(@5), locl(@5), "invalid origin step(s) defined in transition declaration."); yyerrok;} | TRANSITION transition_priority FROM steps steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@4), locf(@5), "'TO' missing between origin step(s) and destination step(s) in transition declaration."); yynerrs++;} | TRANSITION transition_name transition_priority FROM steps steps {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@5), locf(@6), "'TO' missing between origin step(s) and destination step(s) in transition declaration."); yynerrs++;} | TRANSITION transition_priority FROM steps TO {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@5), locf(@7), "no destination step(s) defined in transition declaration."); yynerrs++;} | TRANSITION transition_name transition_priority FROM steps TO {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@6), locf(@8), "no destination step(s) defined in transition declaration."); yynerrs++;} | TRANSITION transition_priority FROM steps TO error {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locf(@6), locl(@6), "invalid destination step(s) defined in transition declaration."); yyerrok;} | TRANSITION transition_name transition_priority FROM steps TO error {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locf(@7), locl(@7), "invalid destination step(s) defined in transition declaration."); yyerrok;} | TRANSITION transition_priority {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@2), locf(@4), "no origin and destination step(s) defined in transition declaration."); yynerrs++;} | TRANSITION transition_name transition_priority {cmd_goto_body_state();} transition_condition END_TRANSITION {$$ = NULL; print_err_msg(locl(@3), locf(@5), "no origin and destination step(s) defined in transition declaration."); yynerrs++;} /*| TRANSITION transition_priority FROM steps TO steps {cmd_goto_body_state();} transition_condition error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@6), "unclosed transition declaration."); yyerrok;} | TRANSITION transition_name transition_priority FROM steps TO steps {cmd_goto_body_state();} transition_condition error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@7), "unclosed transition declaration."); yyerrok;}*/ | TRANSITION error END_TRANSITION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in transition declaration."); yyerrok;} /* ERROR_CHECK_END */ ; transition_priority: /* empty */ {$$ = NULL;} | '(' {cmd_goto_sfc_priority_state();} PRIORITY {cmd_pop_state();} ASSIGN integer ')' {$$ = $6;} /* ERROR_CHECK_BEGIN */ /* The following error checking rules have been intentionally commented out. */ /* | '(' ASSIGN integer ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'PRIORITY' missing between '(' and ':=' in transition declaration with priority."); yynerrs++;} | '(' error ASSIGN integer ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "expecting 'PRIORITY' between '(' and ':=' in transition declaration with priority."); yyerrok;} */ /* ERROR_CHECK_END */ ; transition_condition: ':' eol_list simple_instr_list {$$ = new transition_condition_c($3, NULL, locloc(@$));} | ASSIGN expression ';' {$$ = new transition_condition_c(NULL, $2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | eol_list simple_instr_list {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing before IL condition in transition declaration."); yynerrs++;} | ':' eol_list error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no instructions defined in IL condition of transition declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid instructions in IL condition of transition declaration."); yyclearin;} yyerrok; } | ASSIGN ';' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no expression defined in ST condition of transition declaration."); yynerrs++;} | ASSIGN error ';' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid expression defined in ST condition of transition declaration."); yyerrok;} | ASSIGN expression error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "expecting ';' after expression defined in ST condition of transition declaration."); yyerrok;} /* ERROR_CHECK_END */ ; action: // ACTION identifier ':' ... ACTION action_name {cmd_goto_body_state();} action_body END_ACTION {$$ = new action_c($2, $4, locloc(@$));} /* ERROR_CHECK_BEGIN */ | ACTION {cmd_goto_body_state();} action_body END_ACTION {$$ = NULL; print_err_msg(locl(@1), locf(@3), "no action name defined in action declaration."); yynerrs++;} | ACTION error {cmd_goto_body_state();} action_body END_ACTION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid action name defined in action declaration."); yyerrok;} | ACTION action_name {cmd_goto_body_state();} function_block_body END_ACTION {$$ = NULL; print_err_msg(locl(@2), locf(@4), "':' missing after action name in action declaration."); yynerrs++;} /*| ACTION action_name {cmd_goto_body_state();} action_body END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed action declaration."); yyerrok;}*/ | ACTION error END_ACTION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in action declaration."); yyerrok;} /* ERROR_CHECK_END */ ; action_body: ':' function_block_body {$$ = $2;} /* ERROR_CHECK_BEGIN */ | ':' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no body defined in action declaration.");} else {print_err_msg(locf(@2), locl(@2), "invalid body defined in action declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /********************************/ /* B 1.7 Configuration elements */ /********************************/ /* NOTE: * It is not clear from reading the specification to which namespace * the names of resources, tasks and programs belong to. * * The following syntax assumes that resource and program names belong to the * same namespace as the variables defined within * the resource/configuration (i.e. VAR_GLOBAL). * Task names belong to a namespace all of their own, since they don't * produce conflicts in the syntax parser, so we might just as well * leave them be! ;-) * The above decision was made taking into * account that inside a VAR_CONFIG declaration global variables * may be referenced starting off from the resource name as: * resource_name.program_name.variable_name * Notice how resource names and program names are used in a very similar * manner as are variable names. * Using a single namespace for all the above mentioned names * also makes it easier to write the syntax parser!! ;-) Using a private * namespace for each of the name types (resource names, program names, * global varaiable names), i.e. letting the names be re-used across * each of the groups (resource, program, global variables), produces * reduce/reduce conflicts in the syntax parser. Actually, it is only * the resource names that need to be distinguished into a * prev_declared_resource_name so as not to conflict with [gloabl] variable * names in the 'data' construct. * The program names are only tracked to make sure that two programs do not * get the same name. * * Using a single namespace does have the drawback that the user will * not be able to re-use names for resources or programs if these * have already been used to name a variable! * * If it ever becomes necessary to change this interpretation of * the syntax, then this section of the syntax parser must be updated! */ prev_declared_global_var_name: prev_declared_global_var_name_token {$$ = new identifier_c($1, locloc(@$));}; prev_declared_resource_name: prev_declared_resource_name_token {$$ = new identifier_c($1, locloc(@$));}; prev_declared_program_name: prev_declared_program_name_token {$$ = new identifier_c($1, locloc(@$));}; prev_declared_configuration_name: prev_declared_configuration_name_token {$$ = new identifier_c($1, locloc(@$));}; // prev_declared_task_name: prev_declared_task_name_token {$$ = new identifier_c($1, locloc(@$));}; configuration_name: identifier; /* NOTE: The specification states that valid resource type names * are implementation defined, i.e. each implementaion will define * what resource types it supports. * We are implementing this syntax parser to be used by any * implementation, so at the moment we accept any identifier * as a resource type name. * This implementation should probably be changed in the future. We * should probably have a resource_type_name_token, and let the * implementation load the global symbol library with the * accepted resource type names before parsing the code. * */ resource_type_name: any_identifier; configuration_declaration: /* PRE_PARSING: The rules expected to be applied by the preparser. Will only run if pre-parsing command line option is ON. */ CONFIGURATION configuration_name END_CONFIGURATION /* rule that is only expected to be used during preparse state */ {$$ = NULL; if (get_preparse_state()) {library_element_symtable.insert($2, prev_declared_configuration_name_token);} else {print_err_msg(locl(@1), locf(@3), "no resource(s) nor program(s) defined in configuration declaration."); yynerrs++;} } /* POST_PARSING: The rules expected to be applied after the preparser runs. Will only run if pre-parsing command line option is ON. */ | CONFIGURATION prev_declared_configuration_name global_var_declarations_list single_resource_declaration {variable_name_symtable.pop(); direct_variable_symtable.pop();} optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = new configuration_declaration_c($2, $3, $4, $6, $7, locloc(@$)); variable_name_symtable.pop(); direct_variable_symtable.pop(); } | CONFIGURATION prev_declared_configuration_name global_var_declarations_list resource_declaration_list optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = new configuration_declaration_c($2, $3, $4, $5, $6, locloc(@$)); variable_name_symtable.pop(); direct_variable_symtable.pop(); } /* STANDARD_PARSING: The rules expected to be applied in single-phase parsing. Will only run if pre-parsing command line option is OFF. */ | CONFIGURATION configuration_name global_var_declarations_list single_resource_declaration {variable_name_symtable.pop(); direct_variable_symtable.pop();} optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = new configuration_declaration_c($2, $3, $4, $6, $7, locloc(@$)); variable_name_symtable.pop(); direct_variable_symtable.pop(); library_element_symtable.insert($2, prev_declared_configuration_name_token); } | CONFIGURATION configuration_name global_var_declarations_list resource_declaration_list optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = new configuration_declaration_c($2, $3, $4, $5, $6, locloc(@$)); variable_name_symtable.pop(); direct_variable_symtable.pop(); library_element_symtable.insert($2, prev_declared_configuration_name_token); } /* ERROR_CHECK_BEGIN */ | CONFIGURATION global_var_declarations_list single_resource_declaration {variable_name_symtable.pop(); direct_variable_symtable.pop();} optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no configuration name defined in configuration declaration."); yynerrs++;} | CONFIGURATION global_var_declarations_list resource_declaration_list optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no configuration name defined in configuration declaration."); yynerrs++;} | CONFIGURATION error global_var_declarations_list single_resource_declaration {variable_name_symtable.pop(); direct_variable_symtable.pop();} optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid configuration name defined in configuration declaration."); yyerrok;} | CONFIGURATION error global_var_declarations_list resource_declaration_list optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid configuration name defined in configuration declaration."); yyerrok;} /* Rule already covered by the rule to handle the preparse state! | CONFIGURATION configuration_name global_var_declarations_list optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no resource(s) defined in configuration declaration."); yynerrs++;} */ | CONFIGURATION configuration_name global_var_declarations_list error optional_access_declarations optional_instance_specific_initializations END_CONFIGURATION {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid resource(s) defined in configuration declaration."); yyerrok;} /*| CONFIGURATION configuration_name global_var_declarations_list single_resource_declaration {variable_name_symtable.pop(); direct_variable_symtable.pop();} optional_access_declarations optional_instance_specific_initializations END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed configuration declaration."); yyerrok;}*/ | CONFIGURATION configuration_name global_var_declarations_list resource_declaration_list optional_access_declarations optional_instance_specific_initializations END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed configuration declaration."); yyerrok;} | CONFIGURATION error END_CONFIGURATION {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in configuration declaration."); yyerrok;} /* ERROR_CHECK_END */ ; // helper symbol for // - configuration_declaration // - resource_declaration // /* NOTE: The IEC 61131-3 v2 standard defines this list as being: [global_var_declarations] * e.g.: * 'CONFIGURATION' configuration_name [global_var_declarations] ... * * However, this means that a single VAR_GLOBAL ... END_VAR construct is allowed * in each CONFIGURATION or RESOURCE declaration. If the user wishes to have global * variables with distinct properties (e.g. some with RETAIN, others with CONSTANT, * and yet other variables with none of these qualifiers), the syntax defined in the * standard does not allow this. * Amazingly, IEC 61131-3 v3 also does not seem to allow it either!! * Since this is most likely a bug in the standard, we are changing the syntax slightly * to become: * 'CONFIGURATION' configuration_name {global_var_declarations} ... * * Remember that: * {S}, closure, meaning zero or more concatenations of S. * [S], option, meaning zero or one occurrence of S. */ global_var_declarations_list: // empty {$$ = new global_var_declarations_list_c(locloc(@$));} | global_var_declarations_list global_var_declarations {$$ = $1; $$->add_element($2);} ; // helper symbol for configuration_declaration // optional_access_declarations: // empty {$$ = NULL;} //| access_declarations ; // helper symbol for configuration_declaration // optional_instance_specific_initializations: // empty {$$ = NULL;} | instance_specific_initializations ; // helper symbol for configuration_declaration // resource_declaration_list: resource_declaration {$$ = new resource_declaration_list_c(locloc(@$)); $$->add_element($1);} | resource_declaration_list resource_declaration {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | resource_declaration_list error {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected token after resource declaration."); yyerrok;} /* ERROR_CHECK_END */ ; resource_declaration: RESOURCE {variable_name_symtable.push();direct_variable_symtable.push();} resource_name {variable_name_symtable.insert($3, prev_declared_resource_name_token);} ON resource_type_name global_var_declarations_list single_resource_declaration END_RESOURCE {$$ = new resource_declaration_c($3, $6, $7, $8, locloc(@$)); variable_name_symtable.pop(); direct_variable_symtable.pop(); variable_name_symtable.insert($3, prev_declared_resource_name_token); } /* ERROR_CHECK_BEGIN */ | RESOURCE {variable_name_symtable.push();direct_variable_symtable.push();} ON resource_type_name global_var_declarations_list single_resource_declaration END_RESOURCE {$$ = NULL; print_err_msg(locl(@1), locf(@3), "no resource name defined in resource declaration."); yynerrs++;} /*| RESOURCE {variable_name_symtable.push();direct_variable_symtable.push();} resource_name ON resource_type_name global_var_declarations_list single_resource_declaration END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@5), "unclosed resource declaration."); yyerrok;}*/ | RESOURCE error END_RESOURCE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in resource declaration."); yyerrok;} /* ERROR_CHECK_END */ ; single_resource_declaration: task_configuration_list program_configuration_list {$$ = new single_resource_declaration_c($1, $2, locloc(@$));} ; // helper symbol for single_resource_declaration // task_configuration_list: // empty {$$ = new task_configuration_list_c(locloc(@$));} | task_configuration_list task_configuration ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | task_configuration_list task_configuration error {$$ = $1; print_err_msg(locl(@1), locf(@2), "';' missing at the end of task configuration in resource declaration."); yyerrok;} | task_configuration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after task configuration in resource declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; // helper symbol for single_resource_declaration // program_configuration_list: program_configuration ';' {$$ = new program_configuration_list_c(locloc(@$)); $$->add_element($1);} | program_configuration_list program_configuration ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | program_configuration error {$$ = new program_configuration_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at the end of program configuration in resource declaration."); yyerrok;} | program_configuration_list program_configuration error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at the end of program configuration in resource declaration."); yyerrok;} | program_configuration_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid program configuration in resource declaration."); yyerrok;} | program_configuration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after program configuration in resource declaration."); yynerrs++;} /* ERROR_CHECK_END */ ; resource_name: identifier; /* access_declarations: VAR_ACCESS access_declaration_list END_VAR {$$ = NULL;} // ERROR_CHECK_BEGIN // | VAR_ACCESS END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in access variable(s) declaration."); yynerrs++;} | VAR_ACCESS error access_declaration_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_ACCESS' in access variable(s) declaration."); yyerrok;} | VAR_ACCESS access_declaration_list error END_VAR {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed access variable(s) declaration."); yyerrok;} | VAR_ACCESS error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in access variable(s) declaration."); yyerrok;} // ERROR_CHECK_END // ; // helper symbol for access_declarations // access_declaration_list: access_declaration ';' | access_declaration_list access_declaration ';' // ERROR_CHECK_BEGIN // | error ';' {$$ = // create a new list //; print_err_msg(locf(@1), locl(@1), "invalid access variable declaration."); yyerrok;} | access_declaration error {$$ = // create a new list //; print_err_msg(locl(@1), locf(@2), "';' missing at the end of access variable declaration."); yyerrok;} | access_declaration_list access_declaration error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at the end of access variable declaration."); yyerrok;} | access_declaration_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid access variable declaration."); yyerrok;} | access_declaration_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after access variable declaration."); yynerrs++;} // ERROR_CHECK_END // ; access_declaration: access_name ':' access_path ':' non_generic_type_name | access_name ':' access_path ':' non_generic_type_name direction ; access_path: prev_declared_direct_variable | prev_declared_resource_name '.' prev_declared_direct_variable | any_fb_name_list symbolic_variable | prev_declared_resource_name '.' any_fb_name_list symbolic_variable | prev_declared_program_name '.' any_fb_name_list symbolic_variable | prev_declared_resource_name '.' prev_declared_program_name '.' any_fb_name_list symbolic_variable ; */ // helper symbol for // - access_path // - instance_specific_init // /* NOTE: The fb_name_list refers to funtion block variables * that have been declared in a scope outside the one we are * currently parsing, so we must accept them to be any_identifier! * * Beware that other locations of this syntax parser also require * a fb_name_list. In those locations the function blocks are being declared, * so only currently un-used identifiers (i.e. identifier) may be accepted. * * In order to distinguish the two, here we use any_fb_name_list, while * in the the locations we simply use fb_name_list! */ any_fb_name_list: // empty {$$ = new any_fb_name_list_c(locloc(@$));} //| fb_name_list fb_name '.' | any_fb_name_list any_identifier '.' {$$ = $1; $$->add_element($2);} ; global_var_reference: // [resource_name '.'] global_var_name ['.' structure_element_name] // prev_declared_global_var_name {$$ = new global_var_reference_c(NULL, $1, NULL, locloc(@$));} | prev_declared_global_var_name '.' structure_element_name {$$ = new global_var_reference_c(NULL, $1, $3, locloc(@$));} | prev_declared_resource_name '.' prev_declared_global_var_name {$$ = new global_var_reference_c($1, $3, NULL, locloc(@$));} | prev_declared_resource_name '.' prev_declared_global_var_name '.' structure_element_name {$$ = new global_var_reference_c($1, $3, $5, locloc(@$));} ; //access_name: identifier; program_output_reference: /* NOTE: * program_output_reference is merely used within data_source. * data_source is merely used within task_initialization * task_initialization appears in a configuration declaration * _before_ the programs are declared, so we cannot use * prev_declared_program_name, as what might seem correct at first. * * The semantic checker must later check whether the identifier * used really refers to a program declared after the task * initialization! */ // prev_declared_program_name '.' symbolic_variable program_name '.' symbolic_variable {$$ = new program_output_reference_c($1, $3, locloc(@$));} ; program_name: identifier; /* direction: READ_WRITE {$$ = NULL;} | READ_ONLY {$$ = NULL;} ; */ task_configuration: TASK task_name task_initialization {$$ = new task_configuration_c($2, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | TASK task_initialization {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no task name defined in task declaration."); yynerrs++;} | TASK error task_initialization {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid task name defined in task declaration."); yyerrok;} | TASK task_name error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no task initialization defined in task declaration.");} else {print_err_msg(locf(@3), locl(@3), "invalid task initialization in task declaration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: The specification does not mention the namespace to which task names * should belong to. Unlike resource and program names, for the moment we * let the task names belong to their own private namespace, as they do not * produce any conflicts in the syntax parser. * If in the future our interpretation of the spec. turns out to be incorrect, * the definition of task_name may have to be changed! */ task_name: any_identifier; task_initialization: // '(' [SINGLE ASSIGN data_source ','] [INTERVAL ASSIGN data_source ','] PRIORITY ASSIGN integer ')' // '(' {cmd_goto_task_init_state();} task_initialization_single task_initialization_interval task_initialization_priority ')' {$$ = new task_initialization_c($3, $4, $5, locloc(@$));} ; task_initialization_single: // [SINGLE ASSIGN data_source ','] /* empty */ {$$ = NULL;} | SINGLE ASSIGN {cmd_pop_state();} data_source ',' {cmd_goto_task_init_state();} {$$ = $4;} /* ERROR_CHECK_BEGIN */ | SINGLE {cmd_pop_state();} data_source ',' {cmd_goto_task_init_state();} {$$ = NULL; print_err_msg(locl(@1), locf(@3), "':=' missing after 'SINGLE' in task initialization."); yynerrs++;} | SINGLE ASSIGN {cmd_pop_state();} ',' {cmd_goto_task_init_state();} {$$ = NULL; print_err_msg(locl(@2), locf(@4), "no data source defined in 'SINGLE' statement of task initialization."); yynerrs++;} | SINGLE ASSIGN {cmd_pop_state();} error ',' {cmd_goto_task_init_state();} {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid data source defined in 'SINGLE' statement of task initialization."); yyerrok;} /* ERROR_CHECK_END */ ; task_initialization_interval: // [INTERVAL ASSIGN data_source ','] /* empty */ {$$ = NULL;} | INTERVAL ASSIGN {cmd_pop_state();} data_source ',' {cmd_goto_task_init_state();} {$$ = $4;} /* ERROR_CHECK_BEGIN */ | INTERVAL {cmd_pop_state();} data_source ',' {cmd_goto_task_init_state();} {$$ = NULL; print_err_msg(locl(@1), locf(@3), "':=' missing after 'INTERVAL' in task initialization.");} | INTERVAL ASSIGN {cmd_pop_state();} ',' {cmd_goto_task_init_state();} {$$ = NULL; print_err_msg(locl(@2), locf(@4), "no data source defined in 'INTERVAL' statement of task initialization."); yynerrs++;} | INTERVAL ASSIGN {cmd_pop_state();} error ',' {cmd_goto_task_init_state();} {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid data source defined in 'INTERVAL' statement of task initialization."); yyerrok;} /* ERROR_CHECK_END */ ; task_initialization_priority: // PRIORITY ASSIGN integer PRIORITY ASSIGN {cmd_pop_state();} integer {$$ = $4;} /* ERROR_CHECK_BEGIN */ | PRIORITY {cmd_pop_state();} integer {$$ = NULL; print_err_msg(locl(@1), locf(@3), "':=' missing after 'PRIORITY' in task initialization."); yynerrs++;} | PRIORITY ASSIGN {cmd_pop_state();} error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@4), "no priority number defined in 'PRIORITY' statement of task initialization.");} else {print_err_msg(locf(@4), locl(@4), "invalid priority number in 'PRIORITY' statement of task initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; data_source: constant | global_var_reference | program_output_reference | prev_declared_direct_variable ; program_configuration: // PROGRAM [RETAIN | NON_RETAIN] program_name [WITH task_name] ':' program_type_name ['(' prog_conf_elements ')'] // PROGRAM program_name optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = new program_configuration_c(NULL, $2, $3, $5, $6, locloc(@$)); variable_name_symtable.insert($2, prev_declared_program_name_token); } | PROGRAM RETAIN program_name optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = new program_configuration_c(new retain_option_c(locloc(@2)), $3, $4, $6, $7, locloc(@$)); variable_name_symtable.insert($3, prev_declared_program_name_token); } | PROGRAM NON_RETAIN program_name optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = new program_configuration_c(new non_retain_option_c(locloc(@2)), $3, $4, $6, $7, locloc(@$)); variable_name_symtable.insert($3, prev_declared_program_name_token); } /* ERROR_CHECK_BEGIN */ | PROGRAM program_name optional_task_name ':' identifier optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@5), locl(@5), "invalid program type name after ':' in program configuration."); yynerrs++;} | PROGRAM RETAIN program_name optional_task_name ':' identifier optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@6), locl(@6), "invalid program type name after ':' in program configuration."); yynerrs++;} | PROGRAM NON_RETAIN program_name optional_task_name ':' identifier optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@6), locl(@6), "invalid program type name after ':' in program configuration."); yynerrs++;} | PROGRAM error program_name optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'PROGRAM' in program configuration."); yyerrok;} | PROGRAM RETAIN error program_name optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'RETAIN' in retentive program configuration."); yyerrok;} | PROGRAM NON_RETAIN error program_name optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@3), locl(@3), "unexpected token after 'NON_RETAIN' in non-retentive program configuration."); yyerrok;} | PROGRAM optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no program name defined in program configuration."); yynerrs++;} | PROGRAM RETAIN optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no program name defined in retentive program configuration."); yynerrs++;} | PROGRAM NON_RETAIN optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no program name defined in non-retentive program configuration."); yynerrs++;} | PROGRAM error optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid program name defined in program configuration."); yyerrok;} | PROGRAM RETAIN error optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid program name defined in retentive program configuration."); yyerrok;} | PROGRAM NON_RETAIN error optional_task_name ':' prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid program name defined in non-retentive program configuration."); yyerrok;} | PROGRAM program_name optional_task_name prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@3), locf(@4), "':' missing after program name or optional task name in program configuration."); yynerrs++;} | PROGRAM RETAIN program_name optional_task_name prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@4), locf(@5), "':' missing after program name or optional task name in retentive program configuration."); yynerrs++;} | PROGRAM NON_RETAIN program_name optional_task_name prev_declared_program_type_name optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@4), locf(@5), "':' missing after program name or optional task name in non-retentive program configuration."); yynerrs++;} | PROGRAM program_name optional_task_name ':' optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@4), locf(@5), "no program type defined in program configuration."); yynerrs++;} | PROGRAM RETAIN program_name optional_task_name ':' optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@5), locf(@6), "no program type defined in retentive program configuration."); yynerrs++;} | PROGRAM NON_RETAIN program_name optional_task_name ':' optional_prog_conf_elements {$$ = NULL; print_err_msg(locl(@5), locf(@6), "no program type defined in non-retentive program configuration."); yynerrs++;} /* ERROR_CHECK_END */ ; // helper symbol for program_configuration // optional_task_name: // empty // {$$ = NULL;} | WITH task_name {$$ = $2;} /* ERROR_CHECK_BEGIN */ | WITH error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no task name defined in optional task name of program configuration.");} else {print_err_msg(locf(@2), locl(@2), "invalid task name in optional task name of program configuration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; // helper symbol for program_configuration // optional_prog_conf_elements: // empty // {$$ = NULL;} | '(' prog_conf_elements ')' {$$ = $2;} /* ERROR_CHECK_BEGIN */ | '(' error ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid program configuration elements in program configuration."); yyerrok;} | '(' prog_conf_elements error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "')' missing at the end of program configuration elements in program configuration."); yyerrok;} /* ERROR_CHECK_END */ ; prog_conf_elements: prog_conf_element {$$ = new prog_conf_elements_c(locloc(@$)); $$->add_element($1);} | prog_conf_elements ',' prog_conf_element {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | prog_conf_elements prog_conf_element {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing in program configuration elements list."); yynerrs++;} | prog_conf_elements ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value defined for program configuration element in program configuration list.");} else {print_err_msg(locf(@3), locl(@3), "invalid value for program configuration element in program configuration list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; prog_conf_element: fb_task | prog_cnxn ; fb_task: // fb_name WITH task_name /* NOTE: The fb_name refers to funtion block variables * that have been declared in a scope outside the one we are * currently parsing, so we must accept them to be any_identifier! */ any_identifier WITH task_name {$$ = new fb_task_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | any_identifier WITH error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no task name defined in function block configuration.");} else {print_err_msg(locf(@3), locl(@3), "invalid task name in function block configuration."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: * The semantics of configuring a program are rather confusing, so here is * my (Mario) understanding on the issue... * * A function/program may have as its input variables a simple variable * (BYTE, WORD, etc...), an array (ARRAY [1 .. 3] OF BYTE, ...) , or a structure. * Nevertheless, when calling this function from within a st or il language statement * it is not possible to allocate a value to a single element of the array or structure * typed input variable, as the accepted syntax is simply '(' variable_name ':=' variable ')' * Notice how the variable_name does not include things such as 'a.elem1' or 'a[1]'! * * Nevertheless, when configuring a program from within a configuration, * it becomes possible to allocate values to individual elements of the * array or structured type input variable, as the syntax is now * '(' symbolic_variable ':=' data_sink|prog_data_source ')' * Notice how the symbolic_variable _does_ include things such as 'a.elem1' or 'a[1]'! * * Conclusion: Unlike other locations in the syntax where SENDTO appears, * here it is not valid to replace symbolic_variable with any_identifier! * Nevertheless, it is also not correct to leave symbolic_variable as it is, * as we have defined it to only include previously declared variables, * which is not the case in this situation. Here symbolic_variable is refering * to variables that were defined within the scope of the program that is being * called, and _not_ within the scope of the configuration that is calling the * program, so the variables in question are not declared in the current scope! * * We therefore need to define a new symbolic_variable, that accepts any_identifier * instead of previosuly declared variable names, to be used in the definition of * prog_cnxn! */ prog_cnxn: any_symbolic_variable ASSIGN prog_data_source {$$ = new prog_cnxn_assign_c($1, $3, locloc(@$));} | any_symbolic_variable SENDTO data_sink {$$ = new prog_cnxn_sendto_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | any_symbolic_variable constant {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing between parameter and value in program configuration element."); yynerrs++;} | any_symbolic_variable enumerated_value {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing between parameter and value in program configuration element."); yynerrs++;} | any_symbolic_variable data_sink {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' or '=>' missing between parameter and variable in program configuration element."); yynerrs++;} | any_symbolic_variable ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no value or variable defined in program configuration assignment element.");} else {print_err_msg(locf(@3), locl(@3), "invalid value or variable in program configuration assignment element."); yyclearin;} yyerrok; } | any_symbolic_variable SENDTO error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no variable defined in program configuration sendto element.");} else {print_err_msg(locf(@3), locl(@3), "invalid variable in program configuration sendto element."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; prog_data_source: constant | enumerated_value | global_var_reference | prev_declared_direct_variable ; data_sink: global_var_reference | prev_declared_direct_variable ; instance_specific_initializations: VAR_CONFIG instance_specific_init_list END_VAR {$$ = new instance_specific_initializations_c($2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | VAR_CONFIG END_VAR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no variable declared in configuration variable(s) initialization."); yynerrs++;} | VAR_CONFIG error instance_specific_init_list END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unexpected token after 'VAR_CONFIG' in configuration variable(s) initialization."); yyerrok;} | VAR_CONFIG instance_specific_init_list error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed configuration variable(s) initialization."); yyerrok;} | VAR_CONFIG error END_VAR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in configuration variable(s) initialization."); yyerrok;} /* ERROR_CHECK_END */ ; // helper symbol for instance_specific_initializations // instance_specific_init_list: instance_specific_init ';' {$$ = new instance_specific_init_list_c(locloc(@$)); $$->add_element($1);} | instance_specific_init_list instance_specific_init ';' {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | error ';' {$$ = new instance_specific_init_list_c(locloc(@$)); print_err_msg(locf(@1), locl(@1), "invalid configuration variable initialization."); yyerrok;} | instance_specific_init error {$$ = new instance_specific_init_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at the end of configuration variable initialization."); yyerrok;} | instance_specific_init_list instance_specific_init error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at the end of configuration variable initialization."); yyerrok;} | instance_specific_init_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid configuration variable initialization."); yyerrok;} | instance_specific_init_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after configuration variable initialization."); yynerrs++;} /* ERROR_CHECK_END */ ; instance_specific_init: // // resource_name '.' program_name '.' {fb_name '.'} // ((variable_name [location] ':' located_var_spec_init) | (fb_name ':' function_block_type_name ':=' structure_initialization)) // // prev_declared_resource_name '.' prev_declared_program_name '.' any_fb_name_list variable_name ':' located_var_spec_init /* NOTE: variable_name has been changed to any_identifier (and not simply identifier) because the * variables being referenced have been declared outside the scope currently being parsed! */ /* NOTE: program_name has not been changed to prev_declared_program_name because the * programs being referenced have been declared outside the scope currently being parsed! * The programs are only kept inside the scope of the resource in which they are defined. */ prev_declared_resource_name '.' program_name '.' any_fb_name_list any_identifier ':' located_var_spec_init {$$ = new instance_specific_init_c($1, $3, $5, $6, NULL, $8, locloc(@$));} | prev_declared_resource_name '.' program_name '.' any_fb_name_list any_identifier location ':' located_var_spec_init {$$ = new instance_specific_init_c($1, $3, $5, $6, $7, $9, locloc(@$));} | prev_declared_resource_name '.' program_name '.' any_fb_name_list any_identifier ':' fb_initialization {$5->add_element($6); $$ = new instance_specific_init_c($1, $3, $5, NULL, NULL, $8, locloc(@$));} ; /* helper symbol for instance_specific_init */ fb_initialization: function_block_type_name ASSIGN structure_initialization {$$ = new fb_initialization_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | function_block_type_name structure_initialization {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':=' missing between function block name and initialization in function block initialization."); yynerrs++;} | function_block_type_name ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no initial value defined in function block initialization.");} else {print_err_msg(locf(@3), locl(@3), "invalid initial value in function block initialization."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /***********************************/ /* B 2.1 Instructions and Operands */ /***********************************/ /* helper symbol for many IL instructions, etc... */ /* eat up any extra EOL tokens... */ eol_list: EOL | eol_list EOL ; instruction_list: il_instruction {$$ = new instruction_list_c(locloc(@$)); $$->add_element($1);} | any_pragma eol_list {$$ = new instruction_list_c(locloc(@1)); $$->add_element($1);} /* locloc(@1) is not a bug! We ignore trailing EOLs when determining symbol location! */ | instruction_list il_instruction {$$ = $1; $$->add_element($2);} | instruction_list any_pragma {$$ = $1; $$->add_element($2);} ; il_instruction: il_incomplete_instruction eol_list {$$ = new il_instruction_c(NULL, $1, locloc(@1));} /* locloc(@1) is not a bug! We ignore trailing EOLs when determining symbol location! */ | label ':' il_incomplete_instruction eol_list {$$ = new il_instruction_c($1, $3, locf(@1), locl(@3));} /* locf(@1), locl(@3) is not a bug! We ignore trailing EOLs when determining symbol location! */ | label ':' eol_list {$$ = new il_instruction_c($1, NULL, locf(@1), locl(@2));} /* locf(@1), locl(@2) is not a bug! We ignore trailing EOLs when determining symbol location! */ /* ERROR_CHECK_BEGIN */ | error eol_list {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid IL instruction."); yyerrok;} | il_incomplete_instruction error {$$ = NULL; print_err_msg(locl(@1), locf(@2), "EOL missing at the end of IL instruction."); yyerrok;} | error ':' il_incomplete_instruction eol_list {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid label in IL instruction."); yyerrok;} | label il_incomplete_instruction eol_list {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing after label in IL instruction."); yynerrs++;} | label ':' error eol_list {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid IL instruction."); yyerrok;} | label ':' il_incomplete_instruction error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "EOL missing at the end of IL instruction."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for il_instruction */ il_incomplete_instruction: il_simple_operation | il_expression | il_jump_operation | il_fb_call | il_formal_funct_call | il_return_operator ; label: identifier; il_simple_operation: // (il_simple_operator [il_operand]) | (function_name [il_operand_list]) il_simple_operator {$$ = new il_simple_operation_c($1, NULL, locloc(@$));} /* * Note: Bison is getting confused with the following rule, * i.e. it is finding conflicts where there seemingly are really none. * The rule was therefore replaced by the equivalent following * two rules. */ /* | il_simple_operator il_operand {$$ = new il_simple_operation_c($1, $2, locloc(@$));} */ | il_simple_operator_noclash il_operand {$$ = new il_simple_operation_c($1, $2, locloc(@$));} | il_simple_operator_clash il_operand {$$ = new il_simple_operation_c($1, $2, locloc(@$));} /* NOTE: the line * | il_simple_operator * already contains the 'NOT' operator, as well as all the * expression operators ('MOD', 'AND', etc...), all of which * may also be a function name! This means that these operators/functions, * without any operands, could be reduced to either an operator or a * function call. * * I (Mario) have chosen to reduce it to an operator. * In order to do this, we must remove from the syntax that defines * function calls all the functions whose names clash with the IL operators. * * The line * | function_name * has been replaced with the lines * | function_name_no_clashes * in order to include all possible function names except * those whose names coincide with operators !! */ | function_name_no_clashes {$$ = new il_function_call_c($1, NULL, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c /* NOTE: the line * | il_simple_operator il_operand * already contains the 'NOT', 'MOD', etc. operators, followed by a single il_operand. * However, this same code (MOD x) may also be reduced to a function call to the MOD * function. This means that (MOD, AND,...) could be interpret as a function name * or as an IL operator! This would lead us to a reduce/reduce conflict! * * I (Mario) have chosen to reduce it to an operand, rather than a function call. * In order to do this, we must remove from the syntax that defines * function calls all the functions whose names clash with the IL operators. * * The line * | function_name il_operand_list * has been replaced with the line * | function_name_no_clashes il_operand_list * in order to include all possible function names except * for the function names which clash with expression and simple operators. * * Note that: * this alternative syntax does not cover the possibility of * the function 'NOT', 'MOD', etc... being called with more than one il_operand, * in which case it is always a function call, and not an IL instruction. * We therefore need to include an extra rule where the * function_name_expression_clashes and function_name_simpleop_clashes * are followed by a il_operand_list with __two__ or more il_operands!! */ | function_name_no_clashes il_operand_list {$$ = new il_function_call_c($1, $2, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c | il_simple_operator_clash il_operand_list2 {$$ = new il_function_call_c(il_operator_c_2_poutype_identifier_c($1), $2, locloc(@$));} ; il_expression: // il_expr_operator '(' [il_operand] EOL {EOL} [simple_instr_list] ')' /* IMPORTANT NOTE: * When the <il_operand> exists, and to make it easier to handle the <il_operand> as a general case (i.e. without C++ code handling this as a special case), * we will create an equivalent LD <il_operand> IL instruction, and prepend it into the <simple_instr_list>. * The remainder of the compiler may from now on assume that the code being compiled does not contain any IL code like * LD 1 * ADD ( 2 * SUB 3 * ) * * but instead, the equivalent code * LD 1 * ADD ( * LD 2 * SUB 3 * ) * * Note, however, that in the first case, we still store in the il_expression_c a pointer to the <il_operand> (the literal '2' in the above example), in case * somewhere further on in the compiler we really want to handle it as a special case. To handle it as a special case, it should be easy to simply delete the first * artificial entry in <simple_instr_list> with il_expression->simple_instr_list->remove_element(0) !! */ /* * Note: Bison is getting confused with the use of il_expr_operator, * i.e. it is finding conflicts where there seemingly are really none. * il_expr_operator was therefore replaced by the equivalent * il_expr_operator_noclash | il_expr_operator_clash. */ il_expr_operator_noclash '(' eol_list ')' {$$ = new il_expression_c($1, NULL, NULL, locloc(@$));} | il_expr_operator_noclash '(' il_operand eol_list ')' { simple_instr_list_c *tmp_simple_instr_list = new simple_instr_list_c(locloc(@3)); tmp_simple_instr_list ->insert_element(new il_simple_instruction_c(new il_simple_operation_c(new LD_operator_c(locloc(@3)), $3, locloc(@3)), locloc(@3)), 0); $$ = new il_expression_c($1, $3, tmp_simple_instr_list, locloc(@$)); } | il_expr_operator_noclash '(' eol_list simple_instr_list ')' {$$ = new il_expression_c($1, NULL, $4, locloc(@$));} | il_expr_operator_noclash '(' il_operand eol_list simple_instr_list ')' { simple_instr_list_c *tmp_simple_instr_list = dynamic_cast <simple_instr_list_c *> $5; tmp_simple_instr_list ->insert_element(new il_simple_instruction_c(new il_simple_operation_c(new LD_operator_c(locloc(@3)), $3, locloc(@3)), locloc(@3)), 0); $$ = new il_expression_c($1, $3, $5, locloc(@$)); } | il_expr_operator_clash '(' eol_list ')' {$$ = new il_expression_c($1, NULL, NULL, locloc(@$));} | il_expr_operator_clash '(' il_operand eol_list ')' { simple_instr_list_c *tmp_simple_instr_list = new simple_instr_list_c(locloc(@3)); tmp_simple_instr_list ->insert_element(new il_simple_instruction_c(new il_simple_operation_c(new LD_operator_c(locloc(@3)), $3, locloc(@3)), locloc(@3)), 0); $$ = new il_expression_c($1, $3, tmp_simple_instr_list, locloc(@$)); } | il_expr_operator_clash '(' il_operand eol_list simple_instr_list ')' { simple_instr_list_c *tmp_simple_instr_list = dynamic_cast <simple_instr_list_c *> $5; tmp_simple_instr_list ->insert_element(new il_simple_instruction_c(new il_simple_operation_c(new LD_operator_c(locloc(@3)), $3, locloc(@3)), locloc(@3)), 0); $$ = new il_expression_c($1, $3, $5, locloc(@$)); } | il_expr_operator_clash_eol_list simple_instr_list ')' {$$ = new il_expression_c($1, NULL, $2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | il_expr_operator_noclash '(' eol_list error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing at the end of IL expression."); yyerrok;} | il_expr_operator_noclash '(' il_operand eol_list error {$$ = NULL; print_err_msg(locl(@4), locf(@5), "')' missing at the end of IL expression."); yyerrok;} | il_expr_operator_noclash '(' eol_list simple_instr_list error {$$ = NULL; print_err_msg(locl(@4), locf(@5), "')' missing at the end of IL expression."); yyerrok;} | il_expr_operator_noclash '(' il_operand eol_list simple_instr_list error {$$ = NULL; print_err_msg(locl(@5), locf(@6), "')' missing at the end of IL expression."); yyerrok;} | il_expr_operator_clash '(' il_operand eol_list error {$$ = NULL; print_err_msg(locl(@4), locf(@5), "')' missing at the end of IL expression."); yyerrok;} | il_expr_operator_clash '(' il_operand eol_list simple_instr_list error {$$ = NULL; print_err_msg(locl(@5), locf(@6), "')' missing at the end of IL expression."); yyerrok;} | il_expr_operator_clash_eol_list simple_instr_list error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "')' missing at the end of IL expression."); yyerrok;} /* ERROR_CHECK_END */ ; il_jump_operation: il_jump_operator label {$$ = new il_jump_operation_c($1, $2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | il_jump_operator error {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid label defined in IL jump operation."); yyerrok;} /* ERROR_CHECK_END */ ; il_fb_call: // il_call_operator fb_name ['(' (EOL {EOL} [il_param_list]) | [il_operand_list] ')'] il_call_operator prev_declared_fb_name {$$ = new il_fb_call_c($1, $2, NULL, NULL, locloc(@$));} | il_call_operator prev_declared_fb_name '(' ')' {$$ = new il_fb_call_c($1, $2, NULL, NULL, locloc(@$));} | il_call_operator prev_declared_fb_name '(' eol_list ')' {$$ = new il_fb_call_c($1, $2, NULL, NULL, locloc(@$));} | il_call_operator prev_declared_fb_name '(' il_operand_list ')' {$$ = new il_fb_call_c($1, $2, $4, NULL, locloc(@$));} | il_call_operator prev_declared_fb_name '(' eol_list il_param_list ')' {$$ = new il_fb_call_c($1, $2, NULL, $5, locloc(@$));} /* ERROR_CHECK_BEGIN */ | il_call_operator error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no function block name defined in IL function block call.");} else {print_err_msg(locf(@2), locl(@2), "invalid function block name in IL function block call."); yyclearin;} yyerrok; } | il_call_operator '(' ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no function block name defined in IL function block call."); yynerrs++;} | il_call_operator '(' eol_list ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no function block name defined in IL function block call."); yynerrs++;} | il_call_operator '(' il_operand_list ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no function block name defined in IL function block call."); yynerrs++;} | il_call_operator '(' eol_list il_param_list ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no function block name defined in IL function block call."); yynerrs++;} | il_call_operator error '(' ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid function block name defined in IL function block call."); yyerrok;} | il_call_operator error '(' eol_list ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid function block name defined in IL function block call."); yyerrok;} | il_call_operator error '(' il_operand_list ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid function block name defined in IL function block call."); yyerrok;} | il_call_operator error '(' eol_list il_param_list ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid function block name defined in IL function block call."); yyerrok;} | il_call_operator prev_declared_fb_name ')' {$$ = NULL; print_err_msg(locl(@2), locf(@3), "'(' missing after function block name defined in IL function block call."); yynerrs++;} | il_call_operator prev_declared_fb_name il_operand_list ')' {$$ = NULL; print_err_msg(locl(@2), locf(@3), "'(' missing after function block name defined in IL function block call."); yynerrs++;} | il_call_operator prev_declared_fb_name '(' error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing at the end of IL function block call."); yyerrok;} | il_call_operator prev_declared_fb_name '(' eol_list error {$$ = NULL; print_err_msg(locl(@4), locf(@5), "')' missing at the end of IL function block call."); yyerrok;} | il_call_operator prev_declared_fb_name '(' il_operand_list error {$$ = NULL; print_err_msg(locl(@4), locf(@5), "')' missing at the end of IL function block call."); yyerrok;} /* ERROR_CHECK_END */ ; /* NOTE: Please read note above the definition of function_name_without_clashes */ il_formal_funct_call: // function_name '(' EOL {EOL} [il_param_list] ')' /* function_name '(' eol_list ')' */ /* NOTE: il_formal_funct_call is only used in the definition of * - il_incomplete_instruction * - il_simple_instruction * In both of the above, il_expression also * shows up as another option. This means that the functions whose * names clash with expressions, followed by '(' eol_list ')', are * already included. We must therefore leave them out in this * definition in order to remove reduce/reduce conflicts. * * In summary: 'MOD' '(' eol_list ')', and all other functions whose * names clash with expressions may be interpreted by the syntax by * two different routes. I (Mario) chose to interpret them * as operators, rather than as function calls! * (AND MOD OR XOR ADD DIV EQ GT GE LT LE MUL NE SUB) */ function_name_no_clashes '(' eol_list ')' {$$ = new il_formal_funct_call_c($1, NULL, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c | function_name_simpleop_clashes '(' eol_list ')' {$$ = new il_formal_funct_call_c($1, NULL, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c /* | function_name '(' eol_list il_param_list ')' */ /* For the above syntax, we no longer have two ways of interpreting the * same syntax. The above is always a function call! * However, some of the functions that we may be calling * may have the same name as an IL operator. This means that * flex will be parsing them and handing them over to bison as * IL operator tokens, and not as function name tokens. * (when parsing ST, flex no longer recognizes IL operators, * so will always return the correct function name, unless that * name also coincides with an operator used in ST -> XOR, OR, MOD, AND, NOT) * * We must therefore interpret the IL operators as function names! */ | function_name_no_clashes '(' eol_list il_param_list ')' {$$ = new il_formal_funct_call_c($1, $4, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c | function_name_simpleop_clashes '(' eol_list il_param_list ')' {$$ = new il_formal_funct_call_c($1, $4, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c /* The following line should read: * * | function_name_expression_clashes '(' eol_list il_param_list ')' * * but the function_name_expression_clashes had to be first reduced to * an intermediary symbol in order to remove a reduce/reduce conflict. * In essence, the syntax requires more than one look ahead token * in order to be parsed. We resolve this by reducing a collection of * symbols into a temporary symbol (il_expr_operator_clash_eol_list), that * will later be replaced by the correct symbol. The correct symbol will * now be determined by a single look ahead token, as all the common * symbols have been reduced to the temporary symbol * il_expr_operator_clash_eol_list ! * * Unfortunately, this work around results in the wrong symbol * being created for the abstract syntax tree. * We need to figure out which symbol was created, destroy it, * and create the correct symbol for our case. * This is a lot of work, so I put it in a function * at the end of this file... il_operator_c_2_poutype_identifier_c() */ | il_expr_operator_clash_eol_list il_param_list ')' {$$ = new il_formal_funct_call_c(il_operator_c_2_poutype_identifier_c($1), $2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | function_name_no_clashes '(' eol_list error ')' {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid parameter list defined in IL formal function call."); yyerrok;} | function_name_simpleop_clashes '(' eol_list error ')' {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid parameter list defined in IL formal function call."); yyerrok;} | il_expr_operator_clash_eol_list error ')' {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid parameter list defined in IL formal function call."); yyerrok;} /* ERROR_CHECK_END */ ; il_expr_operator_clash_eol_list: il_expr_operator_clash '(' eol_list {$$ = $1;} /* ERROR_CHECK_BEGIN */ | il_expr_operator_clash '(' error {$$ = $1; print_err_msg(locl(@2), locf(@3), "EOL missing after '(' in IL instruction."); yyerrok;} /* ERROR_CHECK_END */ ; il_operand: variable | enumerated_value | constant ; il_operand_list: il_operand {$$ = new il_operand_list_c(locloc(@$)); $$->add_element($1);} | il_operand_list2 ; /* List with 2 or more il_operands */ il_operand_list2: il_operand ',' il_operand {$$ = new il_operand_list_c(locloc(@$)); $$->add_element($1); $$->add_element($3);} | il_operand_list2 ',' il_operand {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | il_operand_list2 il_operand {$$ = $1; print_err_msg(locl(@1), locf(@2), "',' missing in IL operand list."); yynerrs++;} | il_operand ',' error {$$ = new il_operand_list_c(locloc(@$)); if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no operand defined in IL operand list.");} else {print_err_msg(locf(@3), locl(@3), "invalid operand name in IL operand list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; simple_instr_list: il_simple_instruction {$$ = new simple_instr_list_c(locloc(@$)); $$->add_element($1);} | simple_instr_list il_simple_instruction {$$ = $1; $$->add_element($2);} ; il_simple_instruction: il_simple_operation eol_list {$$ = new il_simple_instruction_c($1, locloc(@1));} /* locloc(@1) is not a bug! We ignore trailing EOLs when determining symbol location! */ | il_expression eol_list {$$ = new il_simple_instruction_c($1, locloc(@1));} /* locloc(@1) is not a bug! We ignore trailing EOLs when determining symbol location! */ | il_formal_funct_call eol_list {$$ = new il_simple_instruction_c($1, locloc(@1));} /* locloc(@1) is not a bug! We ignore trailing EOLs when determining symbol location! */ /* ERROR_CHECK_BEGIN */ | il_expression error {$$ = NULL; print_err_msg(locl(@1), locf(@2), "EOL missing after expression IL instruction."); yyerrok;} | il_formal_funct_call error {$$ = NULL; print_err_msg(locl(@1), locf(@2), "EOL missing after formal function call IL instruction."); yyerrok;} /* ERROR_CHECK_END */ ; /* NOTE: the correct definition of il_param_list is * il_param_list ::= {il_param_instruction} il_param_last_instruction * * where {...} denotes zero or many il_param_instruction's. * * We could do this by defining the following: * il_param_list: il_param_instruction_list il_param_last_instruction; * il_param_instruction_list : ** empty ** | il_param_instruction_list il_param_instruction; * * Unfortunately, the above leads to reduce/reduce conflicts. * The chosen alternative (as follows) does not have any conflicts! * il_param_list: il_param_last_instruction | il_param_instruction_list il_param_last_instruction; * il_param_instruction_list : il_param_instruction_list | il_param_instruction_list il_param_instruction; */ il_param_list: il_param_instruction_list il_param_last_instruction {$$ = $1; $$->add_element($2);} | il_param_last_instruction {$$ = new il_param_list_c(locloc(@$)); $$->add_element($1);} /* ERROR_CHECK_BEGIN */ | il_param_instruction_list error {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid parameter assignment in parameter assignment list."); yyerrok;} | il_param_last_instruction il_param_last_instruction {$$ = new il_param_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "',' missing at the end of parameter assignment in parameter assignment list."); yynerrs++;} | il_param_instruction_list il_param_last_instruction il_param_last_instruction {$$ = $1; print_err_msg(locl(@2), locf(@3), "',' missing at the end of parameter assignment in parameter assignment list."); yynerrs++;} /* ERROR_CHECK_END */ ; /* Helper symbol for il_param_list */ il_param_instruction_list: il_param_instruction {$$ = new il_param_list_c(locloc(@$)); $$->add_element($1);} | il_param_instruction_list il_param_instruction {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | il_param_last_instruction il_param_instruction {$$ = new il_param_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "',' missing at the end of parameter assignment in parameter assignment list."); yynerrs++;} | il_param_instruction_list il_param_last_instruction il_param_instruction {$$ = $1; print_err_msg(locl(@2), locf(@3), "',' missing at the end of parameter assignment in parameter assignment list."); yynerrs++;} /* ERROR_CHECK_END */ ; il_param_instruction: il_param_assignment ',' eol_list | il_param_out_assignment ',' eol_list /* ERROR_CHECK_BEGIN */ | il_param_assignment ',' error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "EOL missing at the end of parameter assignment in parameter assignment list."); yyerrok;} | il_param_out_assignment ',' error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "EOL missing at the end of parameter out assignment in parameter assignment list."); yyerrok;} /* ERROR_CHECK_END */ ; il_param_last_instruction: il_param_assignment eol_list | il_param_out_assignment eol_list /* ERROR_CHECK_BEGIN */ | il_param_assignment error {$$ = NULL; print_err_msg(locl(@1), locf(@2), "EOL missing at the end of last parameter assignment in parameter assignment list."); yyerrok;} | il_param_out_assignment error {$$ = NULL; print_err_msg(locl(@1), locf(@2), "EOL missing at the end of last parameter out assignment in parameter assignment list."); yyerrok;} /* ERROR_CHECK_END */ ; il_param_assignment: il_assign_operator il_operand {$$ = new il_param_assignment_c($1, $2, NULL, locloc(@$));} | il_assign_operator '(' eol_list simple_instr_list ')' {$$ = new il_param_assignment_c($1, NULL, $4, locloc(@$));} /* ERROR_CHECK_BEGIN */ | error il_operand {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid operator in parameter assignment."); yyerrok;} | error '(' eol_list simple_instr_list ')' {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid operator in parameter assignment."); yyerrok;} | il_assign_operator error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no operand defined in parameter assignment.");} else {print_err_msg(locf(@2), locl(@2), "invalid operand in parameter assignment."); yyclearin;} yyerrok; } | il_assign_operator '(' eol_list ')' {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no instruction list defined in parameter assignment."); yynerrs++;} | il_assign_operator '(' eol_list error ')' {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid instruction list defined in parameter assignment."); yyerrok;} | il_assign_operator '(' eol_list simple_instr_list error {$$ = NULL; print_err_msg(locl(@4), locf(@5), "')' missing at the end of instruction list defined in parameter assignment."); yyerrok;} /* ERROR_CHECK_END */ ; il_param_out_assignment: il_assign_out_operator variable {$$ = new il_param_out_assignment_c($1, $2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | il_assign_out_operator error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no variable defined in IL operand list.");} else {print_err_msg(locf(@2), locl(@2), "invalid variable in IL operand list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /*******************/ /* B 2.2 Operators */ /*******************/ sendto_identifier: sendto_identifier_token {$$ = new identifier_c($1, locloc(@$));}; /* NOTE: * The spec includes the operator 'EQ ' * Note that EQ is followed by a space. * I am considering this a typo, and defining the operator * as 'EQ' * (Mario) */ LD_operator: LD {$$ = new LD_operator_c(locloc(@$));}; LDN_operator: LDN {$$ = new LDN_operator_c(locloc(@$));}; ST_operator: ST {$$ = new ST_operator_c(locloc(@$));}; STN_operator: STN {$$ = new STN_operator_c(locloc(@$));}; NOT_operator: NOT {$$ = new NOT_operator_c(locloc(@$));}; S_operator: S {$$ = new S_operator_c(locloc(@$));}; R_operator: R {$$ = new R_operator_c(locloc(@$));}; S1_operator: S1 {$$ = new S1_operator_c(locloc(@$));}; R1_operator: R1 {$$ = new R1_operator_c(locloc(@$));}; CLK_operator: CLK {$$ = new CLK_operator_c(locloc(@$));}; CU_operator: CU {$$ = new CU_operator_c(locloc(@$));}; CD_operator: CD {$$ = new CD_operator_c(locloc(@$));}; PV_operator: PV {$$ = new PV_operator_c(locloc(@$));}; IN_operator: IN {$$ = new IN_operator_c(locloc(@$));}; PT_operator: PT {$$ = new PT_operator_c(locloc(@$));}; AND_operator: AND {$$ = new AND_operator_c(locloc(@$));}; AND2_operator: AND2 {$$ = new AND_operator_c(locloc(@$));}; /* '&' in the source code! */ OR_operator: OR {$$ = new OR_operator_c(locloc(@$));}; XOR_operator: XOR {$$ = new XOR_operator_c(locloc(@$));}; ANDN_operator: ANDN {$$ = new ANDN_operator_c(locloc(@$));}; ANDN2_operator: ANDN2 {$$ = new ANDN_operator_c(locloc(@$));}; /* '&N' in the source code! */ ORN_operator: ORN {$$ = new ORN_operator_c(locloc(@$));}; XORN_operator: XORN {$$ = new XORN_operator_c(locloc(@$));}; ADD_operator: ADD {$$ = new ADD_operator_c(locloc(@$));}; SUB_operator: SUB {$$ = new SUB_operator_c(locloc(@$));}; MUL_operator: MUL {$$ = new MUL_operator_c(locloc(@$));}; DIV_operator: DIV {$$ = new DIV_operator_c(locloc(@$));}; MOD_operator: MOD {$$ = new MOD_operator_c(locloc(@$));}; GT_operator: GT {$$ = new GT_operator_c(locloc(@$));}; GE_operator: GE {$$ = new GE_operator_c(locloc(@$));}; EQ_operator: EQ {$$ = new EQ_operator_c(locloc(@$));}; LT_operator: LT {$$ = new LT_operator_c(locloc(@$));}; LE_operator: LE {$$ = new LE_operator_c(locloc(@$));}; NE_operator: NE {$$ = new NE_operator_c(locloc(@$));}; CAL_operator: CAL {$$ = new CAL_operator_c(locloc(@$));}; CALC_operator: CALC {$$ = new CALC_operator_c(locloc(@$));}; CALCN_operator: CALCN {$$ = new CALCN_operator_c(locloc(@$));}; RET_operator: RET {$$ = new RET_operator_c(locloc(@$));}; RETC_operator: RETC {$$ = new RETC_operator_c(locloc(@$));}; RETCN_operator: RETCN {$$ = new RETCN_operator_c(locloc(@$));}; JMP_operator: JMP {$$ = new JMP_operator_c(locloc(@$));}; JMPC_operator: JMPC {$$ = new JMPC_operator_c(locloc(@$));}; JMPCN_operator: JMPCN {$$ = new JMPCN_operator_c(locloc(@$));}; il_simple_operator: il_simple_operator_clash | il_simple_operator_noclash ; il_simple_operator_noclash: LDN_operator | ST_operator | STN_operator | il_expr_operator_noclash ; il_simple_operator_clash: il_simple_operator_clash1 | il_simple_operator_clash2 | il_simple_operator_clash3 ; il_simple_operator_clash1: NOT_operator ; il_simple_operator_clash2: il_expr_operator_clash ; il_simple_operator_clash3: LD_operator | S_operator | R_operator | S1_operator | R1_operator | CLK_operator | CU_operator | CD_operator | PV_operator | IN_operator | PT_operator ; /* il_expr_operator: il_expr_operator_noclash | il_expr_operator_clash ; */ il_expr_operator_clash: AND_operator | OR_operator | XOR_operator | ADD_operator | SUB_operator | MUL_operator | DIV_operator | MOD_operator | GT_operator | GE_operator | EQ_operator | LT_operator | LE_operator | NE_operator ; il_expr_operator_noclash: ANDN_operator | ANDN2_operator /* string '&N' in source code! */ | AND2_operator /* string '&' in source code! */ | ORN_operator | XORN_operator ; il_assign_operator: /* variable_name ASSIGN */ any_identifier ASSIGN {$$ = new il_assign_operator_c($1, locloc(@$));} | en_identifier ASSIGN {$$ = new il_assign_operator_c($1, locloc(@$));} | S1_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} | R1_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} | CLK_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} | CU_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} | CD_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} | PV_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} | IN_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} | PT_operator ASSIGN {$$ = new il_assign_operator_c(il_operator_c_2_identifier_c($1), locloc(@$));} /* ERROR_CHECK_BEGIN */ | error ASSIGN {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid parameter defined in parameter assignment."); yyerrok;} /* ERROR_CHECK_END */ ; il_assign_out_operator: /* variable_name SENDTO */ /* any_identifier SENDTO */ sendto_identifier SENDTO {$$ = new il_assign_out_operator_c(NULL, $1, locloc(@$));} /* The following is not required, as the sendto_identifier_token returned by flex will * also include the 'ENO' identifier. * The resulting abstract syntax tree is identical with or without this following rule, * as both the eno_identifier and the sendto_identifier are stored as * an identifier_c !! * * To understand why we must even explicitly consider the use of ENO here, * please read the comment above the definition of 'variable' in section B1.4 for details. */ /* | eno_identifier SENDTO {$$ = new il_assign_out_operator_c(NULL, $1, locloc(@$));} */ /*| NOT variable_name SENDTO */ | NOT sendto_identifier SENDTO {$$ = new il_assign_out_operator_c(new not_paramassign_c(locloc(@1)), $2, locloc(@$));} /* The following is not required, as the sendto_identifier_token returned by flex will * also include the 'ENO' identifier. * The resulting abstract syntax tree is identical with or without this following rule, * as both the eno_identifier and the sendto_identifier are stored as * an identifier_c !! * * To understand why we must even explicitly consider the use of ENO here, * please read the comment above the definition of 'variable' in section B1.4 for details. * * NOTE: Removing the following rule also removes a shift/reduce conflict from the parser. * This conflict is not really an error/ambiguity in the syntax, but rather * due to the fact that more than a single look-ahead token would be required * to correctly parse the syntax, something that bison does not support. * * The shift/reduce conflict arises because bison does not know whether * to parse the 'NOT ENO' in the following code * LD 1 * funct_name ( * NOT ENO => bool_var, * EN := TRUE * ) * as either a il_param_assignment (wrong!) or an il_param_out_assignment.(correct). * The '=>' delimiter (known as SEND_TO in this iec.y file) is a dead giveaway that * it should be parsed as an il_param_out_assignment, but still, bison gets confused! * Bison considers the possibility of reducing the 'NOT ENO' as an NOT_operator with * the 'ENO' operand * (NOT_operator -> il_simple_operator -> il_simple_operation -> il_simple_instruction -> * -> simple_instr_list -> il_param_assignment) * instead of reducing it to an il_param_out_operator. * ( il_param_out_operator -> il_param_out_assignment) * * Note that the shift/reduce conflict only manifests itself in the il_formal_funct_call, * where both the il_param_out_assignment and il_param_assignment are used! * * il_param_out_assignment --+--> il_param_instruction -> il_param_instruction_list --+ * | | * il_param_assignment --+ | * | * il_formal_funct_call <- il_param_list <-+ * */ /* | NOT eno_identifier SENDTO {$$ = new il_assign_out_operator_c(new not_paramassign_c(locloc(@1)), $2, locloc(@$));} */ /* ERROR_CHECK_BEGIN */ | error SENDTO {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid parameter defined in parameter out assignment."); yyerrok;} | NOT SENDTO {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no parameter defined in parameter out assignment."); yynerrs++;} | NOT error SENDTO {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid parameter defined in parameter out assignment."); yyerrok;} /* ERROR_CHECK_END */ ; il_call_operator: CAL_operator | CALC_operator | CALCN_operator ; il_return_operator: RET_operator | RETC_operator | RETCN_operator ; il_jump_operator: JMP_operator | JMPC_operator | JMPCN_operator ; /***********************/ /* B 3.1 - Expressions */ /***********************/ expression: xor_expression | ref_expression /* an extension to the IEC 61131-3 v2 standard, based on the IEC 61131-3 v3 standard */ | deref_expression /* an extension to the IEC 61131-3 v2 standard, based on the IEC 61131-3 v3 standard */ | expression OR xor_expression {$$ = new or_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | expression OR error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after 'OR' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after 'OR' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* REF(var_name) */ /* This is an extension to the IEC 61131-3 standard. It is actually defined in the IEC 61131-3 v3 standard */ /* The REF() operator returns the adrress of the variable. Basically, it returns a pointer to the variable */ ref_expression: REF '(' symbolic_variable ')' {$$ = new ref_expression_c($3, locloc(@$));} ; /* DREF(var_name) */ /* This is an extension to the IEC 61131-3 standard. It is actually defined in the IEC 61131-3 v3 standard */ /* The DREF() operator accesses the variable stored in the specified address. Basically, it dereferences a pointer to the variable */ deref_expression: DREF '(' symbolic_variable ')' {$$ = new deref_expression_c($3, locloc(@$));} ; xor_expression: and_expression | xor_expression XOR and_expression {$$ = new xor_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | xor_expression XOR error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after 'XOR' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after 'XOR' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; and_expression: comparison | and_expression '&' comparison {$$ = new and_expression_c($1, $3, locloc(@$));} | and_expression AND comparison {$$ = new and_expression_c($1, $3, locloc(@$));} /* NOTE: The lexical parser never returns the token '&'. * The '&' string is interpreted by the lexcial parser as the token * AND2! * This means that the first rule with '&' is actually not required, * but we leave it in nevertheless just in case we later decide * to remove the AND2 token... */ | and_expression AND2 comparison {$$ = new and_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | and_expression '&' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '&' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '&' in ST expression."); yyclearin;} yyerrok; } | and_expression AND error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after 'AND' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after 'AND' in ST expression."); yyclearin;} yyerrok; } | and_expression AND2 error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '&' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '&' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; comparison: equ_expression | comparison '=' equ_expression {$$ = new equ_expression_c($1, $3, locloc(@$));} | comparison OPER_NE equ_expression {$$ = new notequ_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | comparison '=' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '=' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '=' in ST expression."); yyclearin;} yyerrok; } | comparison OPER_NE error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '<>' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '<>' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; equ_expression: add_expression | equ_expression '<' add_expression {$$ = new lt_expression_c($1, $3, locloc(@$));} | equ_expression '>' add_expression {$$ = new gt_expression_c($1, $3, locloc(@$));} | equ_expression OPER_LE add_expression {$$ = new le_expression_c($1, $3, locloc(@$));} | equ_expression OPER_GE add_expression {$$ = new ge_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | equ_expression '<' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '<' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '<' in ST expression."); yyclearin;} yyerrok; } | equ_expression '>' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '>' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '>' in ST expression."); yyclearin;} yyerrok; } | equ_expression OPER_LE error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '<=' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '<=' in ST expression."); yyclearin;} yyerrok; } | equ_expression OPER_GE error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '>=' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '>=' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* Not required... comparison_operator: '<' | '>' | '>=' '<=' */ add_expression: term | add_expression '+' term {$$ = new add_expression_c($1, $3, locloc(@$));} | add_expression '-' term {$$ = new sub_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | add_expression '+' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '+' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '+' in ST expression."); yyclearin;} yyerrok; } | add_expression '-' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '-' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '-' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* Not required... add_operator: '+' | '-' */ term: power_expression | term '*' power_expression {$$ = new mul_expression_c($1, $3, locloc(@$));} | term '/' power_expression {$$ = new div_expression_c($1, $3, locloc(@$));} | term MOD power_expression {$$ = new mod_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | term '*' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '*' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '*' in ST expression."); yyclearin;} yyerrok; } | term '/' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '/' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '/' in ST expression."); yyclearin;} yyerrok; } | term MOD error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after 'MOD' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after 'MOD' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* Not required... multiply_operator: '*' | '/' | 'MOD' */ power_expression: unary_expression | power_expression OPER_EXP unary_expression {$$ = new power_expression_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | power_expression OPER_EXP error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after '**' in ST expression.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after '**' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; unary_expression: primary_expression | '-' non_int_or_real_primary_expression {$$ = new neg_expression_c($2, locloc(@$));} | NOT primary_expression {$$ = new not_expression_c($2, locloc(@$));} /* ERROR_CHECK_BEGIN */ | '-' error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no expression defined after '-' in ST expression.");} else {print_err_msg(locf(@2), locl(@2), "invalid expression after '-' in ST expression."); yyclearin;} yyerrok; } | NOT error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@1), locf(@2), "no expression defined after 'NOT' in ST expression.");} else {print_err_msg(locf(@2), locl(@2), "invalid expression after 'NOT' in ST expression."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* Not required... unary_operator: '-' | 'NOT' */ /* NOTE: using constant as a possible symbol for primary_expression * leads to a reduce/reduce conflict. * * The text '-9' may be parsed as either a * expression<-primary_expression<-constant<-signed_integer * (i.e. the constant 9 negative) * OR * expression<-unary_expression<-constant<-integer * (i.e. the constant 9, preceded by a unary negation) * * To remove the conflict, we only allow constants without * integer or reals that are not preceded by a sign * (i.e. a '-' or '+' character) to be used in primary_expression * (i.e. as a parameter to the unary negation operator) * * e.g. '-42', '+54', '42', '54' are all allowed in primary expression * according to the standard. However, we will allow only '-42' and '+54' * to be used as an argument to the negation operator ('-'). */ /* NOTE: Notice that the standard considers the following syntax correct: * VAR intv: INT; END_VAR * intv := 42; <----- OK * intv := -42; <----- OK * intv := +42; <----- OK * intv := --42; <----- OK!! * intv := -+42; <----- OK!! * intv := -(--42); <----- OK!! * intv := -(-+42); <----- OK!! * intv :=-(-(--42)); <----- OK!! * intv :=-(-(-+42)); <----- OK!! * but does NOT allow the following syntax: * VAR intv: INT; END_VAR * intv := ---42; <----- ERROR!! * intv := --+42; <----- ERROR!! * intv := ----42; <----- ERROR!! * intv := ---+42; <----- ERROR!! * * Although strange, we follow the standard to the letter, and do exactly * as stated above!! */ /* NOTE: We use enumerated_value_without_identifier instead of enumerated_value * in order to remove a reduce/reduce conflict between reducing an * identifier to a variable or an enumerated_value. * * This change follows the IEC specification. The specification seems to * imply (by introducing syntax that allows to unambiguosly reference an * enumerated value - enum_type#enum_value) that in case the same identifier is used * for a variable and an enumerated value, then the variable shall be * considered. */ non_int_or_real_primary_expression: non_int_or_real_constant //| enumerated_value_without_identifier | enumerated_value | variable | '(' expression ')' {$$ = $2;} | function_invocation /* ERROR_CHECK_BEGIN */ | '(' expression error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "')' missing at the end of expression in ST expression."); yyerrok;} /* ERROR_CHECK_END */ ; primary_expression: constant //| enumerated_value_without_identifier | enumerated_value | variable | '(' expression ')' {$$ = $2;} | function_invocation /* ERROR_CHECK_BEGIN */ | '(' expression error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "')' missing at the end of expression in ST expression."); yyerrok;} /* ERROR_CHECK_END */ ; /* intermediate helper symbol for primary_expression */ /* NOTE: function_name includes the standard function name 'NOT' ! * This introduces a reduce/reduce conflict, as NOT(var) * may be parsed as either a function_invocation, or a * unary_expression. * * I (Mario) have opted to remove the possible reduction * to function invocation, which means replacing the rule * function_name '(' param_assignment_list ')' * with * function_name_no_NOT_clashes '(' param_assignment_list ')' * * Notice how the new rule does not include the situation where * the function NOT is called with more than one parameter, which * the original rule does include! Callinf the NOT function with more * than one argument is probably a semantic error anyway, so it * doesn't make much sense to take it into account. * * Nevertheless, if we were to to it entirely correctly, * leaving the semantic checks for the next compiler stage, * this syntax parser would need to include such a possibility. * * We will leave this out for now. No need to complicate the syntax * more than the specification does by contradicting itself, and * letting names clash! */ function_invocation: /* function_name '(' [param_assignment_list] ')' */ function_name_no_NOT_clashes '(' param_assignment_formal_list ')' {$$ = new function_invocation_c($1, $3, NULL, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c | function_name_no_NOT_clashes '(' param_assignment_nonformal_list ')' {$$ = new function_invocation_c($1, NULL, $3, locloc(@$)); if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR;} // $1 should be a poutype_identifier_c | function_name_no_NOT_clashes '(' ')' {if (NULL == dynamic_cast<poutype_identifier_c*>($1)) ERROR; // $1 should be a poutype_identifier_c if (runtime_options.allow_missing_var_in) {$$ = new function_invocation_c($1, NULL, NULL, locloc(@$));} else {$$ = NULL; print_err_msg(locl(@2), locf(@3), "no parameter defined in function invocation of ST expression."); yynerrs++;} } /* ERROR_CHECK_BEGIN */ | function_name_no_NOT_clashes param_assignment_formal_list ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'(' missing after function name in ST expression."); yynerrs++;} | function_name_no_NOT_clashes '(' error ')' {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid parameter(s) defined in function invocation of ST expression."); yyerrok;} | function_name_no_NOT_clashes '(' param_assignment_formal_list error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing at the end of function invocation in ST expression."); yyerrok;} | function_name_no_NOT_clashes '(' param_assignment_nonformal_list error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing at the end of function invocation in ST expression."); yyerrok;} /* ERROR_CHECK_END */ ; /********************/ /* B 3.2 Statements */ /********************/ statement_list: statement ';' {$$ = new statement_list_c(locloc(@$)); $$->add_element($1);} | any_pragma {$$ = new statement_list_c(locloc(@$)); $$->add_element($1);} | statement_list statement ';' {$$ = $1; $$->add_element($2);} | statement_list any_pragma {$$ = $1; $$->add_element($2);} /* ERROR_CHECK_BEGIN */ | statement error {$$ = new statement_list_c(locloc(@$)); print_err_msg(locl(@1), locf(@2), "';' missing at the end of statement in ST statement."); yyerrok;} | statement_list statement error {$$ = $1; print_err_msg(locl(@2), locf(@3), "';' missing at the end of statement in ST statement."); yyerrok;} | statement_list error ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "invalid statement in ST statement."); yyerrok;} | statement_list ';' {$$ = $1; print_err_msg(locf(@2), locl(@2), "unexpected ';' after statement in ST statement."); yynerrs++;} /* ERROR_CHECK_END */ ; statement: assignment_statement | subprogram_control_statement | selection_statement | iteration_statement ; /*********************************/ /* B 3.2.1 Assignment Statements */ /*********************************/ assignment_statement: variable ASSIGN expression {$$ = new assignment_statement_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | error ASSIGN expression {$$ = NULL; print_err_msg(locf(@1), locl(@1), "invalid variable before ':=' in ST assignment statement."); yyerrok;} | variable ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined after ':=' in ST assignment statement.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression after ':=' in ST assignment statement."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /*****************************************/ /* B 3.2.2 Subprogram Control Statements */ /*****************************************/ subprogram_control_statement: fb_invocation | return_statement ; return_statement: RETURN {$$ = new return_statement_c(locloc(@$));} ; fb_invocation: prev_declared_fb_name '(' ')' {$$ = new fb_invocation_c($1, NULL, NULL, locloc(@$)); } | prev_declared_fb_name '(' param_assignment_formal_list ')' {$$ = new fb_invocation_c($1, $3, NULL, locloc(@$));} | prev_declared_fb_name '(' param_assignment_nonformal_list ')' {$$ = new fb_invocation_c($1, NULL, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | prev_declared_fb_name ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'(' missing after function block name in ST statement."); yynerrs++;} | prev_declared_fb_name param_assignment_formal_list ')' {$$ = NULL; print_err_msg(locl(@1), locf(@2), "'(' missing after function block name in ST statement."); yynerrs++;} | prev_declared_fb_name '(' error ')' {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid parameter list in function block invocation in ST statement."); yyerrok;} | prev_declared_fb_name '(' error {$$ = NULL; print_err_msg(locl(@2), locf(@3), "')' missing after parameter list of function block invocation in ST statement."); yyerrok;} | prev_declared_fb_name '(' param_assignment_formal_list error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing after parameter list of function block invocation in ST statement."); yyerrok;} | prev_declared_fb_name '(' param_assignment_nonformal_list error {$$ = NULL; print_err_msg(locl(@3), locf(@4), "')' missing after parameter list of function block invocation in ST statement."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for * - fb_invocation * - function_invocation */ param_assignment_formal_list: param_assignment_formal {$$ = new param_assignment_list_c(locloc(@$)); $$->add_element($1);} | param_assignment_formal_list ',' param_assignment_formal {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | param_assignment_formal_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no parameter assignment defined in ST parameter assignment list.");} else {print_err_msg(locf(@3), locl(@3), "invalid parameter assignment in ST parameter assignment list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* helper symbol for * - fb_invocation * - function_invocation */ param_assignment_nonformal_list: param_assignment_nonformal {$$ = new param_assignment_list_c(locloc(@$)); $$->add_element($1);} | param_assignment_nonformal_list ',' param_assignment_nonformal {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | param_assignment_nonformal_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no parameter assignment defined in ST parameter assignment list.");} else {print_err_msg(locf(@3), locl(@3), "invalid parameter assignment in ST parameter assignment list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; /* NOTE: According to the IEC 61131-3 standard, there are two possible * syntaxes for calling function blocks within ST. * The formal method has the form: * fb ( invar := x, inoutvar := var1, outvar => var2); * The non-formal method has the form: * fb (x, var1, var2); * In the text of IEC 61131-3 (where the semantics are defined), * it is obvious that mixing the two syntaxes is considered incorrect. * The following should therefore be incorrect: * fb ( invar := x, var1, var2); * However, according to the syntax definition, as defined in IEC 61131-3, * mixing the formal and non-formal methods of invocation is allowed. * We have two alternatives: * (a) implement the syntax here in iec.y according to the standard, * and leave it to the semantic analyser stage to find this error * (b) or implement the syntax in iec.y correctly, not allowing * the mixing of formal and non-formal invocation syntaxes. * Considering that this is a syntax issue, and not semantic issue, * I (Mario) have decided to go with alternative (a). * In other words, in iec.y we do not follow the syntax as defined in * Annex B of the IEC 61131-3 standard, but rather implement * the syntax also taking into account the textual part of the standard too. */ /* param_assignment: variable_name ASSIGN expression */ param_assignment_nonformal: expression ; param_assignment_formal: any_identifier ASSIGN expression {$$ = new input_variable_param_assignment_c($1, $3, locloc(@$));} | en_identifier ASSIGN expression {$$ = new input_variable_param_assignment_c($1, $3, locloc(@$));} /*| variable_name SENDTO variable */ /*| any_identifier SENDTO variable */ | sendto_identifier SENDTO variable {$$ = new output_variable_param_assignment_c(NULL, $1, $3, locloc(@$));} /* The following is not required, as the sendto_identifier_token returned by flex will * also include the 'ENO' identifier. * The resulting abstract syntax tree is identical with or without this following rule, * as both the eno_identifier and the sendto_identifier are stored as * an identifier_c !! * * To understand why we must even explicitly consider the use of ENO here, * please read the comment above the definition of 'variable' in section B1.4 for details. */ /* | eno_identifier SENDTO variable {$$ = new output_variable_param_assignment_c(NULL, $1, $3, locloc(@$));} */ /*| NOT variable_name SENDTO variable */ /*| NOT any_identifier SENDTO variable*/ | NOT sendto_identifier SENDTO variable {$$ = new output_variable_param_assignment_c(new not_paramassign_c(locloc(@$)), $2, $4, locloc(@$));} /* The following is not required, as the sendto_identifier_token returned by flex will * also include the 'ENO' identifier. * The resulting abstract syntax tree is identical with or without this following rule, * as both the eno_identifier and the sendto_identifier are stored as * an identifier_c !! * * To understand why we must even explicitly consider the use of ENO here, * please read the comment above the definition of 'variable' in section B1.4 for details. */ /* | NOT eno_identifier SENDTO variable {$$ = new output_variable_param_assignment_c(new not_paramassign_c(locloc(@$)), $2, $4, locloc(@$));} */ /* ERROR_CHECK_BEGIN */ | any_identifier ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter assignment.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter assignment."); yyclearin;} yyerrok; } | en_identifier ASSIGN error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter assignment.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter assignment."); yyclearin;} yyerrok; } | sendto_identifier SENDTO error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter out assignment.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter out assignment."); yyclearin;} yyerrok; } /* | eno_identifier SENDTO error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no expression defined in ST formal parameter out assignment.");} else {print_err_msg(locf(@3), locl(@3), "invalid expression in ST formal parameter out assignment."); yyclearin;} yyerrok; } */ | NOT SENDTO variable {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no parameter name defined in ST formal parameter out negated assignment."); yynerrs++;} | NOT error SENDTO variable {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid parameter name defined in ST formal parameter out negated assignment."); yyerrok;} | NOT sendto_identifier SENDTO error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@3), locf(@4), "no expression defined in ST formal parameter out negated assignment.");} else {print_err_msg(locf(@4), locl(@4), "invalid expression in ST formal parameter out negated assignment."); yyclearin;} yyerrok; } /* | NOT eno_identifier SENDTO error {$$ = NULL; if (is_current_syntax_token()) {print_err_msg(locl(@3), locf(@4), "no expression defined in ST formal parameter out negated assignment.");} else {print_err_msg(locf(@4), locl(@4), "invalid expression in ST formal parameter out negated assignment."); yyclearin;} yyerrok; } */ /* ERROR_CHECK_END */ ; /********************************/ /* B 3.2.3 Selection Statements */ /********************************/ selection_statement: if_statement | case_statement ; if_statement: IF expression THEN statement_list elseif_statement_list END_IF {$$ = new if_statement_c($2, $4, $5, NULL, locloc(@$));} | IF expression THEN statement_list elseif_statement_list ELSE statement_list END_IF {$$ = new if_statement_c($2, $4, $5, $7, locloc(@$));} /* ERROR_CHECK_BEGIN */ | IF THEN statement_list elseif_statement_list END_IF {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no test expression defined in ST 'IF' statement."); yynerrs++;} | IF THEN statement_list elseif_statement_list ELSE statement_list END_IF {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no test expression defined in ST 'IF' statement."); yynerrs++;} | IF error THEN statement_list elseif_statement_list END_IF {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid test expression defined for ST 'IF' statement."); yyerrok;} | IF error THEN statement_list elseif_statement_list ELSE statement_list END_IF {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid test expression defined for ST 'IF' statement."); yyerrok;} | IF expression error statement_list elseif_statement_list END_IF {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting 'THEN' after test expression in ST 'IF' statement."); yyerrok;} | IF expression error statement_list elseif_statement_list ELSE statement_list END_IF {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting 'THEN' after test expression in ST 'IF' statement."); yyerrok;} | IF expression THEN elseif_statement_list END_IF {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no statement defined after 'THEN' in ST 'IF' statement."); yynerrs++;} | IF expression THEN elseif_statement_list ELSE statement_list END_IF {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no statement defined after 'THEN' in ST 'IF' statement."); yynerrs++;} | IF expression THEN statement_list elseif_statement_list ELSE END_IF {$$ = NULL; print_err_msg(locl(@6), locf(@7), "no statement defined after 'ELSE' in ST 'IF' statement."); yynerrs++;} | IF expression THEN statement_list elseif_statement_list ELSE error END_IF {$$ = NULL; print_err_msg(locf(@7), locl(@7), "invalid statement defined after 'ELSE' in ST 'IF' statement."); yynerrs++; yyerrok;} | IF expression error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed 'IF' statement in ST."); yyerrok;} | IF expression THEN statement_list elseif_statement_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@3), "unclosed 'IF' statement in ST."); yynerrs++;} | IF expression THEN statement_list elseif_statement_list ELSE statement_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@3), "unclosed 'IF' statement in ST."); yynerrs++;} | IF error END_IF {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in ST 'IF' statement."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for if_statement */ elseif_statement_list: /* empty */ {$$ = new elseif_statement_list_c(locloc(@$));} | elseif_statement_list elseif_statement {$$ = $1; $$->add_element($2);} ; /* helper symbol for elseif_statement_list */ elseif_statement: ELSIF expression THEN statement_list {$$ = new elseif_statement_c($2, $4, locloc(@$));} /* ERROR_CHECK_BEGIN */ | ELSIF THEN statement_list {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no test expression defined for 'ELSEIF' statement in ST 'IF' statement."); yynerrs++;} | ELSIF error THEN statement_list {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid test expression defined for 'ELSEIF' statement in ST 'IF' statement."); yyerrok;} | ELSIF expression error statement_list {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting 'THEN' after test expression in 'ELSEIF' statement of ST 'IF' statement."); yyerrok;} | ELSIF expression THEN error {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid statement list in 'ELSEIF' statement of ST 'IF' statement."); yyerrok;} /* ERROR_CHECK_END */ ; case_statement: CASE expression OF case_element_list END_CASE {$$ = new case_statement_c($2, $4, NULL, locloc(@$));} | CASE expression OF case_element_list ELSE statement_list END_CASE {$$ = new case_statement_c($2, $4, $6, locloc(@$));} /* ERROR_CHECK_BEGIN */ | CASE OF case_element_list END_CASE {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no test expression defined in ST 'CASE' statement."); yynerrs++;} | CASE OF case_element_list ELSE statement_list END_CASE {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no test expression defined in ST 'CASE' statement."); yynerrs++;} | CASE error OF case_element_list END_CASE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid test expression defined for ST 'CASE' statement."); yyerrok;} | CASE error OF case_element_list ELSE statement_list END_CASE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid test expression defined for ST 'CASE' statement."); yyerrok;} | CASE expression error case_element_list END_CASE {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting 'OF' after test expression in ST 'CASE' statement."); yyerrok;} | CASE expression error case_element_list ELSE statement_list END_CASE {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting 'OF' after test expression in ST 'CASE' statement."); yyerrok;} | CASE expression OF END_CASE {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no case element(s) defined after 'OF' in ST 'CASE' statement."); yynerrs++;} | CASE expression OF ELSE statement_list END_CASE {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no case element(s) defined after 'OF' in ST 'CASE' statement."); yynerrs++;} | CASE expression OF error END_CASE {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid case element(s) defined after 'OF' in ST 'CASE' statement."); yyerrok;} | CASE expression OF error ELSE statement_list END_CASE {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid case element(s) defined after 'OF' in ST 'CASE' statement."); yyerrok;} | CASE expression OF case_element_list ELSE END_CASE {$$ = NULL; print_err_msg(locl(@5), locf(@6), "no statement defined after 'ELSE' in ST 'CASE' statement."); yynerrs++;} | CASE expression OF case_element_list ELSE error END_CASE {$$ = NULL; print_err_msg(locf(@6), locl(@6), "invalid statement defined after 'ELSE' in ST 'CASE' statement."); yyerrok;} | CASE expression error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@2), "unclosed 'CASE' statement in ST."); yyerrok;} | CASE expression OF case_element_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@3), "unclosed 'CASE' statement in ST."); yynerrs++;} | CASE expression OF case_element_list ELSE statement_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@3), "unclosed 'CASE' statement in ST."); yynerrs++;} | CASE error END_CASE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in ST 'CASE' statement."); yyerrok;} /* ERROR_CHECK_END */ ; /* helper symbol for case_statement */ case_element_list: case_element {$$ = new case_element_list_c(locloc(@$)); $$->add_element($1);} | case_element_list case_element {$$ = $1; $$->add_element($2);} ; case_element: case_list ':' statement_list {$$ = new case_element_c($1, $3, locloc(@$));} /* ERROR_CHECK_BEGIN */ | case_list statement_list {$$ = NULL; print_err_msg(locl(@1), locf(@2), "':' missing after case list in ST 'CASE' statement."); yynerrs++;} | case_list ':' error {$$ = NULL; print_err_msg(locf(@3), locl(@3), "invalid statement in case element of ST 'CASE' statement."); yyerrok;} /* ERROR_CHECK_END */ ; case_list: case_list_element {$$ = new case_list_c(locloc(@$)); $$->add_element($1);} | case_list ',' case_list_element {$$ = $1; $$->add_element($3);} /* ERROR_CHECK_BEGIN */ | case_list ',' error {$$ = $1; if (is_current_syntax_token()) {print_err_msg(locl(@2), locf(@3), "no case defined in case list of ST parameter assignment list.");} else {print_err_msg(locf(@3), locl(@3), "invalid case in case list of ST parameter assignment list."); yyclearin;} yyerrok; } /* ERROR_CHECK_END */ ; case_list_element: signed_integer | subrange | enumerated_value ; /********************************/ /* B 3.2.4 Iteration Statements */ /********************************/ iteration_statement: for_statement | while_statement | repeat_statement | exit_statement ; for_statement: FOR control_variable ASSIGN expression TO expression BY expression DO statement_list END_FOR {$$ = new for_statement_c($2, $4, $6, $8, $10, locloc(@$));} | FOR control_variable ASSIGN expression TO expression DO statement_list END_FOR {$$ = new for_statement_c($2, $4, $6, NULL, $8, locloc(@$));} /* ERROR_CHECK_BEGIN */ | FOR ASSIGN expression TO expression BY expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no control variable defined in ST 'FOR' statement."); yynerrs++;} | FOR ASSIGN expression TO expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no control variable defined in ST 'FOR' statement."); yynerrs++;} | FOR error ASSIGN expression TO expression BY expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid control variable defined for ST 'FOR' statement."); yyerrok;} | FOR error ASSIGN expression TO expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid control variable defined for ST 'FOR' statement."); yyerrok;} | FOR control_variable expression TO expression BY expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "':=' missing between control variable and start expression in ST 'FOR' statement."); yynerrs++;} | FOR control_variable expression TO expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locl(@2), locf(@3), "':=' missing between control variable and start expression in ST 'FOR' statement."); yynerrs++;} | FOR control_variable error expression TO expression BY expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting ':=' between control variable and start expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable error expression TO expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting ':=' between control variable and start expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN TO expression BY expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no start expression defined in ST 'FOR' statement."); yynerrs++;} | FOR control_variable ASSIGN TO expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no start expression defined in ST 'FOR' statement."); yynerrs++;} | FOR control_variable ASSIGN error TO expression BY expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid start expression defined in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN error TO expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid start expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN expression error expression BY expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@5), locl(@5), "expecting 'TO' between start expression and end expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN expression error expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@5), locl(@5), "expecting 'TO' between start expression and end expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN expression TO expression error expression DO statement_list END_FOR {$$ = NULL; print_err_msg(locf(@7), locl(@7), "expecting 'BY' between end expression and step expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN expression TO expression BY expression error statement_list END_FOR {$$ = NULL; print_err_msg(locf(@9), locl(@9), "expecting 'DO' after step expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN expression TO expression error statement_list END_FOR {$$ = NULL; print_err_msg(locf(@7), locl(@7), "expecting 'DO' after end expression in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN expression TO expression BY expression DO END_FOR {$$ = NULL; print_err_msg(locl(@9), locf(@10), "no statement(s) defined after 'DO' in ST 'FOR' statement."); yynerrs++;} | FOR control_variable ASSIGN expression TO expression DO END_FOR {$$ = NULL; print_err_msg(locl(@7), locf(@8), "no statement(s) defined after 'DO' in ST 'FOR' statement."); yynerrs++;} | FOR control_variable ASSIGN expression TO expression BY expression DO error END_FOR {$$ = NULL; print_err_msg(locf(@10), locl(@10), "invalid statement(s) defined after 'DO' in ST 'FOR' statement."); yyerrok;} | FOR control_variable ASSIGN expression TO expression DO error END_FOR {$$ = NULL; print_err_msg(locf(@8), locl(@8), "invalid statement(s) defined after 'DO' in ST 'FOR' statement."); yyerrok;} | FOR control_variable error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'FOR' statement in ST."); yyerrok;} | FOR control_variable ASSIGN expression error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'FOR' statement in ST."); yyerrok;} | FOR control_variable ASSIGN expression TO expression DO statement_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'FOR' statement in ST."); yynerrs++;} | FOR control_variable ASSIGN expression TO expression BY expression error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'FOR' statement in ST."); yyerrok;} | FOR control_variable ASSIGN expression TO expression BY expression DO statement_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'FOR' statement in ST."); yynerrs++;} | FOR error END_FOR {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in ST 'FOR' statement."); yyerrok;} /* ERROR_CHECK_END */ ; /* The spec has the syntax * control_variable: identifier; * but then defines the semantics of control_variable * (Section 3.3.2.4) as being of an integer type * (e.g., SINT, INT, or DINT). * * Obviously this presuposes that the control_variable * must have been declared in some VAR .. END_VAR * We must therefore change the syntax to read * control_variable: prev_declared_variable_name; * * If we don't, then the correct use of any previosuly declared * variable would result in an incorrect syntax error */ control_variable: prev_declared_variable_name {$$ = new symbolic_variable_c($1,locloc(@$));}; // control_variable: identifier {$$ = $1;}; /* Integrated directly into for_statement */ /* for_list: expression TO expression [BY expression] ; */ while_statement: WHILE expression DO statement_list END_WHILE {$$ = new while_statement_c($2, $4, locloc(@$));} /* ERROR_CHECK_BEGIN */ | WHILE DO statement_list END_WHILE {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no test expression defined in ST 'WHILE' statement."); yynerrs++;} | WHILE error DO statement_list END_WHILE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid test expression defined for ST 'WHILE' statement."); yyerrok;} | WHILE expression error statement_list END_WHILE {$$ = NULL; print_err_msg(locf(@3), locl(@3), "expecting 'DO' after test expression in ST 'WHILE' statement."); yyerrok;} | WHILE expression DO END_WHILE {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no statement(s) defined after 'DO' in ST 'WHILE' statement."); yynerrs++;} | WHILE expression DO error END_WHILE {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid statement(s) defined after 'DO' in ST 'WHILE' statement."); yyerrok;} | WHILE expression error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'WHILE' statement in ST."); yyerrok;} | WHILE expression DO statement_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'WHILE' statement in ST."); yynerrs++;} | WHILE error END_WHILE {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in ST 'WHILE' statement."); yyerrok;} /* ERROR_CHECK_END */ ; repeat_statement: REPEAT statement_list UNTIL expression END_REPEAT {$$ = new repeat_statement_c($2, $4, locloc(@$));} /* ERROR_CHECK_BEGIN */ | REPEAT UNTIL expression END_REPEAT {$$ = NULL; print_err_msg(locl(@1), locf(@2), "no statement(s) defined after 'REPEAT' in ST 'REPEAT' statement."); yynerrs++;} | REPEAT error UNTIL expression END_REPEAT {$$ = NULL; print_err_msg(locf(@2), locl(@2), "invalid statement(s) defined after 'REPEAT' for ST 'REPEAT' statement."); yyerrok;} | REPEAT statement_list UNTIL END_REPEAT {$$ = NULL; print_err_msg(locl(@3), locf(@4), "no test expression defined after 'UNTIL' in ST 'REPEAT' statement.");} | REPEAT statement_list UNTIL error END_REPEAT {$$ = NULL; print_err_msg(locf(@4), locl(@4), "invalid test expression defined after 'UNTIL' in ST 'REPEAT' statement."); yyerrok;} | REPEAT statement_list END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'REPEAT' statement in ST."); yynerrs++;} | REPEAT statement_list UNTIL expression error END_OF_INPUT {$$ = NULL; print_err_msg(locf(@1), locl(@1), "unclosed 'REPEAT' statement in ST."); yyerrok;} | REPEAT error END_REPEAT {$$ = NULL; print_err_msg(locf(@2), locl(@2), "unknown error in ST 'REPEAT' statement."); yyerrok;} /* ERROR_CHECK_END */ ; exit_statement: EXIT {$$ = new exit_statement_c(locloc(@$));} ; %% #include <stdio.h> /* required for printf() */ #include <errno.h> #include "../util/symtable.hh" /*************************************************************************************************/ /* NOTE: These variables are really parameters we would like the stage2__ function to pass */ /* to the yyparse() function. However, the yyparse() function is created automatically */ /* by bison, so we cannot add parameters to this function. The only other */ /* option is to use global variables! yuck! */ /*************************************************************************************************/ /* A global flag used to tell the parser if overloaded funtions should be allowed. * The IEC 61131-3 standard allows overloaded funtions in the standard library, * but disallows them in user code... * * In essence, a parameter we would like to pass to the yyparse() function but * have to do it using a global variable, as the yyparse() prototype is fixed by bison. */ bool allow_function_overloading = false; /* | [var1_list ','] variable_name '..' */ /* NOTE: This is an extension to the standard!!! */ /* In order to be able to handle extensible standard functions * (i.e. standard functions that may have a variable number of * input parameters, such as AND(word#33, word#44, word#55, word#66), * we have extended the acceptable syntax to allow var_name '..' * in an input variable declaration. * * This allows us to parse the declaration of standard * extensible functions and load their interface definition * into the abstract syntax tree just like we do to other * user defined functions. * This has the advantage that we can later do semantic * checking of calls to functions (be it a standard or user defined * function) in (almost) exactly the same way. * * Of course, we have a flag that disables this syntax when parsing user * written code, so we only allow this extra syntax while parsing the * 'header' file that declares all the standard IEC 61131-3 functions. */ bool allow_extensible_function_parameters = false; /* A global flag used to tell the parser whether to allow use of DREF and '^' operators (defined in IEC 61131-3 v3) */ bool allow_ref_dereferencing; /* A global flag used to tell the parser whether to allow use of REF_TO ANY datatypes (non-standard extension) */ bool allow_ref_to_any = false; /* A global flag used to tell the parser whether to allow use of REF_TO as a struct or array element (non-standard extension) */ bool allow_ref_to_in_derived_datatypes = false; /* A pointer to the root of the parsing tree that will be generated by bison. */ symbol_c *tree_root; /* The following function is called automatically by bison whenever it comes across * an error. Unfortunately it calls this function before executing the code that handles * the error itself, so we cannot print out the correct line numbers of the error location * over here. * Our solution is to store the current error message in a global variable, and have all * error action handlers call the function print_err_msg() after setting the location * (line number) variable correctly. */ const char *current_error_msg; void yyerror (const char *error_msg) { current_error_msg = error_msg; /* fprintf(stderr, "error %d: %s\n", yynerrs // global variable //, error_msg); */ /* print_include_stack(); */ } /* ERROR_CHECK_BEGIN */ bool is_current_syntax_token() { switch (yychar) { case ';': case ',': case ')': case ']': case '+': case '*': case '-': case '/': case '<': case '>': case '=': case '&': case OR: case XOR: case AND: case AND2: case OPER_NE: case OPER_LE: case OPER_GE: case MOD: case OPER_EXP: case NOT: return true; default: return false; } } /* ERROR_CHECK_END */ void print_err_msg(int first_line, int first_column, const char *first_filename, long int first_order, int last_line, int last_column, const char *last_filename, long int last_order, const char *additional_error_msg) { const char *unknown_file = "<unknown_file>"; if (first_filename == NULL) first_filename = unknown_file; if ( last_filename == NULL) last_filename = unknown_file; if (runtime_options.full_token_loc) { if (first_filename == last_filename) fprintf(stderr, "%s:%d-%d..%d-%d: error: %s\n", first_filename, first_line, first_column, last_line, last_column, additional_error_msg); else fprintf(stderr, "%s:%d-%d..%s:%d-%d: error: %s\n", first_filename, first_line, first_column, last_filename, last_line, last_column, additional_error_msg); } else { fprintf(stderr, "%s:%d: error: %s\n", first_filename, first_line, additional_error_msg); } //fprintf(stderr, "error %d: %s\n", yynerrs /* a global variable */, additional_error_msg); print_include_stack(); } /* If function overloading is on, we allow several functions with the same name. * * However, to support standard functions, we also allow functions named * AND, MOD, NOT, OR, XOR, ADD, ... */ /* identifier_c *token_2_identifier_c(char *value, ) { identifier_c tmp = new identifier_c(value, locloc(@$)); if (!allow_function_overloading) { fprintf(stderr, "Function overloading not allowed. Invalid identifier %s\n", ((token_c *)($$))->value); ERROR; } } } */ /* convert between an il_operator to a function name */ /* This a kludge! * It is required because our language requires more than one * look ahead token, and bison only works with one! */ #define op_2_str(op, str) {\ op ## _operator_c *ptr = dynamic_cast<op ## _operator_c *>(il_operator); \ if (ptr != NULL) name = str; \ } /* NOTE: this code is very ugly and un-eficient, but I (Mario) have many * more things to worry about right now, so just let it be... */ poutype_identifier_c *il_operator_c_2_poutype_identifier_c(symbol_c *il_operator) { identifier_c * id = il_operator_c_2_identifier_c(il_operator); poutype_identifier_c *pou_id = new poutype_identifier_c(strdup(id->value)); *(symbol_c *)pou_id = *(symbol_c *)id; delete id; return pou_id; } identifier_c *il_operator_c_2_identifier_c(symbol_c *il_operator) { const char *name = NULL; identifier_c *res; op_2_str(NOT, "NOT"); op_2_str(AND, "AND"); op_2_str(OR, "OR"); op_2_str(XOR, "XOR"); op_2_str(ADD, "ADD"); op_2_str(SUB, "SUB"); op_2_str(MUL, "MUL"); op_2_str(DIV, "DIV"); op_2_str(MOD, "MOD"); op_2_str(GT, "GT"); op_2_str(GE, "GE"); op_2_str(EQ, "EQ"); op_2_str(LT, "LT"); op_2_str(LE, "LE"); op_2_str(NE, "NE"); op_2_str(LD, "LD"); op_2_str(LDN, "LDN"); op_2_str(ST, "ST"); op_2_str(STN, "STN"); op_2_str(S, "S"); op_2_str(R, "R"); op_2_str(S1, "S1"); op_2_str(R1, "R1"); op_2_str(CLK, "CLK"); op_2_str(CU, "CU"); op_2_str(CD, "CD"); op_2_str(PV, "PV"); op_2_str(IN, "IN"); op_2_str(PT, "PT"); op_2_str(ANDN, "ANDN"); op_2_str(ORN, "ORN"); op_2_str(XORN, "XORN"); op_2_str(ADD, "ADD"); op_2_str(SUB, "SUB"); op_2_str(MUL, "MUL"); op_2_str(DIV, "DIV"); op_2_str(GT, "GT"); op_2_str(GE, "GE"); op_2_str(EQ, "EQ"); op_2_str(LT, "LT"); op_2_str(LE, "LE"); op_2_str(NE, "NE"); op_2_str(CAL, "CAL"); op_2_str(CALC, "CALC"); op_2_str(CALCN, "CALCN"); op_2_str(RET, "RET"); op_2_str(RETC, "RETC"); op_2_str(RETCN, "RETCN"); op_2_str(JMP, "JMP"); op_2_str(JMPC, "JMPC"); op_2_str(JMPCN, "JMPCN"); if (name == NULL) ERROR; /* res = new identifier_c(strdup(name), il_operator->first_line, il_operator->first_column, il_operator->first_file, il_operator->first_order, il_operator->last_line, il_operator->last_column, il_operator->last_file, il_operator->last_order ); free(il_operator); */ res = new identifier_c(strdup(name)); *(symbol_c *)res = *(symbol_c *)il_operator; delete il_operator; return res; } #include "standard_function_names.c" const char *standard_function_block_names[] = { // 2.5.2.3.1 Bistable elements // Table 34 - Standard bistable function blocks "SR","RS", // 2.5.2.3.2 Edge detection // Table 35 - Standard edge detection function blocks "R_TRIG","F_TRIG", // 2.5.2.3.3 Counters // Table 36 - Standard counter function blocks "CTU","CTU_DINT","CTU_LINT","CTU_UDINT","CTU_ULINT", "CTD","CTD_DINT","CTD_LINT","CTD_UDINT","CTD_ULINT", "CTUD","CTUD_DINT","CTUD_LINT","CTUD_ULINT", // 2.5.2.3.4 Timers // Table 37 - Standard timer function blocks "TP","TON","TOF", /* end of array marker! Do not remove! */ NULL }; #define LIBFILE "ieclib.txt" #define DEF_LIBFILENAME LIBDIRECTORY "/" LIBFILE extern const char *INCLUDE_DIRECTORIES[]; static int parse_files(const char *libfilename, const char *filename) { /* first parse the standard library file... */ /* Do not debug the standard library, even if debug flag is set! #if YYDEBUG yydebug = 1; #endif */ FILE *libfile = NULL; if((libfile = parse_file(libfilename)) == NULL) { char *errmsg = strdup2("Error opening library file ", libfilename); perror(errmsg); free(errmsg); /* we give up... */ return -1; } allow_function_overloading = true; allow_extensible_function_parameters = true; allow_ref_dereferencing = runtime_options.ref_standard_extensions; allow_ref_to_any = runtime_options.ref_nonstand_extensions; allow_ref_to_in_derived_datatypes = runtime_options.ref_nonstand_extensions; if (yyparse() != 0) { fprintf (stderr, "\nParsing failed because of too many consecutive syntax errors in standard library. Bailing out!\n"); exit(EXIT_FAILURE); } fclose(libfile); if (yynerrs > 0) { /* NOTE: yynerrs is a global variable */ /* Hopefully the libraries do not contain any errors, so this should not occur! */ fprintf (stderr, "\n%d error(s) found in %s. Bailing out!\n", yynerrs, libfilename); return -2; } /* if by any chance the library is not complete, we now add the missing reserved keywords to the list!!! */ for(int i = 0; standard_function_block_names[i] != NULL; i++) if (library_element_symtable.find(standard_function_block_names[i]) == library_element_symtable.end()) library_element_symtable.insert(standard_function_block_names[i], standard_function_block_name_token); /* now parse the input file... */ #if YYDEBUG yydebug = 1; #endif FILE *mainfile = NULL; if ((mainfile = parse_file(filename)) == NULL) { char *errmsg = strdup2("Error opening main file ", filename); perror(errmsg); free(errmsg); return -3; } allow_function_overloading = false; allow_extensible_function_parameters = false; allow_ref_dereferencing = runtime_options.ref_standard_extensions; allow_ref_to_any = runtime_options.ref_nonstand_extensions; allow_ref_to_in_derived_datatypes = runtime_options.ref_nonstand_extensions; //allow_ref_to_any = false; /* we only allow REF_TO ANY in library functions/FBs, no matter what the user asks for in the command line */ if (yyparse() != 0) { fprintf (stderr, "\nParsing failed because of too many consecutive syntax errors. Bailing out!\n"); exit(EXIT_FAILURE); } fclose(mainfile); if (yynerrs > 0) { fprintf (stderr, "\n%d error(s) found. Bailing out!\n", yynerrs /* global variable */); exit(EXIT_FAILURE); } return 0; } /* We parse the input source code twice!! * 1st pass --> Pre-parsing * ------------------------- * The intention of the first pass is to fill up the library_element_symtable with the names of all * the POUs (Functions, FBs, Programs and Configurations), as well as all the Derived Datatypes. * * During this pass POUs are only parsed until their name is obtained, and the remaining source * code (variable declarations and body) is completely thrown away by flex. Datatype declarations * however are parsed normally! * * At the end of the pre-parsing, the AST will contain only the derived datatype declarations, * and this tree will be trown away (by simply resetting tree_root = NULL). * More importantly, the library_element_symtable will contain the names of all the POUs and * derived datatypes. * * 2st pass --> Normal parsing * ---------------------------- * In this second parse the whole source code is parsed correctly, and the AST is generated * completely. * * However, if the pre-parsing has been done before this normal parsing, the POUs may appear * in the source code in any order, as calling a POU (e.g. calling a function) that has not yet * been declared will no longer generate a parsing error because the name of the function being * called is already in the library_element_symtable. * * Declaring variables of datatypes that have not yet been declared will also be possible, as the * datatypes will also already be in the library_element_symtable! */ int stage2__(const char *filename, symbol_c **tree_root_ref ) { char *libfilename = NULL; /* Determine the full path name of the standard library file... */ if (runtime_options.includedir != NULL) INCLUDE_DIRECTORIES[0] = runtime_options.includedir; if ((libfilename = strdup3(INCLUDE_DIRECTORIES[0], "/", LIBFILE)) == NULL) { fprintf (stderr, "Out of memory. Bailing out!\n"); exit(EXIT_FAILURE); } /*******************************/ /* Do the PRE parsing run...! */ /*******************************/ if (runtime_options.pre_parsing) { // fprintf (stderr, "----> Starting pre-parsing!\n"); tree_root = NULL; set_preparse_state(); if (parse_files(libfilename, filename) < 0) exit(EXIT_FAILURE); // TODO: delete the current AST. For the moment, we leave all the objects in memory (not much of an issue in a program that always runs to completion). } /*******************************/ /* Do the main parsing run...! */ /*******************************/ // fprintf (stderr, "----> Starting normal parsing!\n"); tree_root = NULL; rst_preparse_state(); if (parse_files(libfilename, filename) < 0) exit(EXIT_FAILURE); /* Final clean-up... */ free(libfilename); if (tree_root_ref != NULL) *tree_root_ref = tree_root; return 0; }
42.485705
231
0.690482
3f6e0ab79abef7088e5cfbc56da184f450997eb8
22,153
yy
Yacc
LudumDare40/rooms/r_lvl_1/r_lvl_1.yy
lekiy/TheJollyFish
19cfc05663bfecca8d3716beb2d0c6ca6b3ed155
[ "Apache-2.0" ]
null
null
null
LudumDare40/rooms/r_lvl_1/r_lvl_1.yy
lekiy/TheJollyFish
19cfc05663bfecca8d3716beb2d0c6ca6b3ed155
[ "Apache-2.0" ]
10
2017-12-04T13:27:35.000Z
2017-12-06T20:58:49.000Z
LudumDare40/rooms/r_lvl_1/r_lvl_1.yy
lekiy/TheJollyFish
19cfc05663bfecca8d3716beb2d0c6ca6b3ed155
[ "Apache-2.0" ]
null
null
null
{ "name": "r_lvl_1", "id": "3acfe6d8-8e6a-489d-8db0-8175e757c894", "creationCodeFile": "", "inheritCode": false, "inheritCreationOrder": false, "inheritLayers": false, "instanceCreationOrderIDs": [ "b4c6993b-d323-4f01-be5f-aee36d9eefe4", "413fb2ef-99b1-4b03-aaf8-fda3c6e2093f", "3b680bd5-fa3c-436e-866a-0b11f8728a62", "48798514-7b74-4107-9f4d-4e9fd347de87", "02ce3f81-4824-4389-a7b7-9f97eafde521", "8b01acb1-3fd0-44c4-9194-7bf832234af6", "7c29c8a3-5d8e-4837-9bc3-ef664b872bb5", "6aaf047c-81ef-4cc7-93c8-b207cadb87aa", "6353951e-794e-4ba4-a30b-11ab5d90603b", "ec6e1771-7fcc-480e-a189-118120560887", "1c36a871-5853-4581-bffb-71f23d13faf5", "6102524a-5e6e-4794-b7df-741dbfc1340e", "595b970b-7cd8-4a70-b4f9-24a89a076c41", "d17ee903-b9a4-4ec3-b9ec-a03e71ced4b5", "6a8c209d-e11d-453d-a200-9c11b534820b", "b05c93c1-ad7a-4e8b-bf42-25f913f0bc94", "b78d44f8-0804-4d5e-b8c4-61685aaba0bb", "767482b4-feb3-4fc9-a99d-0b8efaff945d", "127f706c-4869-4b28-a5c5-869f055d3f9c", "7d078b10-402d-4c94-8de3-e12b684359dc", "a1f71731-fcaa-404b-ad19-7bbc42b424d9", "33037d98-03ae-4f56-a930-28febfd4de08", "6b2353db-4b71-4583-be80-61a31b5e155d" ], "IsDnD": false, "layers": [ { "__type": "GMRInstanceLayer_Model:#YoYoStudio.MVCFormat", "name": "Instances", "id": "cbfd3f69-939a-4325-871d-573c7ac6506b", "depth": 0, "grid_x": 10, "grid_y": 10, "hierarchyFrozen": false, "hierarchyVisible": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "instances": [ {"name": "inst_76F6DA40","id": "b4c6993b-d323-4f01-be5f-aee36d9eefe4","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_76F6DA40","objId": "d9affbb2-6fde-4a49-b3e0-b3ee04fb63bd","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 6,"y": 9}, {"name": "inst_4179E955","id": "413fb2ef-99b1-4b03-aaf8-fda3c6e2093f","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_4179E955","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 100}, {"name": "inst_27F68EF","id": "3b680bd5-fa3c-436e-866a-0b11f8728a62","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_27F68EF","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": -20}, {"name": "inst_7EB2D5CF","id": "48798514-7b74-4107-9f4d-4e9fd347de87","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_7EB2D5CF","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 300}, {"name": "inst_4CBB2163","id": "02ce3f81-4824-4389-a7b7-9f97eafde521","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_4CBB2163","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 220}, {"name": "inst_381F06D7","id": "8b01acb1-3fd0-44c4-9194-7bf832234af6","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_381F06D7","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 180}, {"name": "inst_190A664F","id": "7c29c8a3-5d8e-4837-9bc3-ef664b872bb5","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_190A664F","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 340}, {"name": "inst_28A91F7E","id": "6aaf047c-81ef-4cc7-93c8-b207cadb87aa","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_28A91F7E","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 260}, {"name": "inst_5461D728","id": "6353951e-794e-4ba4-a30b-11ab5d90603b","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_5461D728","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 60}, {"name": "inst_2EF2F3F5","id": "ec6e1771-7fcc-480e-a189-118120560887","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_2EF2F3F5","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 20}, {"name": "inst_AC91256","id": "1c36a871-5853-4581-bffb-71f23d13faf5","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_AC91256","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 140}, {"name": "inst_4A1D5FC5","id": "6102524a-5e6e-4794-b7df-741dbfc1340e","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_4A1D5FC5","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 180}, {"name": "inst_51701AC","id": "595b970b-7cd8-4a70-b4f9-24a89a076c41","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_51701AC","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 180,"y": 380}, {"name": "inst_26A48077","id": "d17ee903-b9a4-4ec3-b9ec-a03e71ced4b5","colour": { "Value": 4294967295 },"creationCodeFile": "InstanceCreationCode_inst_26A48077.gml","creationCodeType": ".gml","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_26A48077","objId": "b5bc949f-ab41-4bee-ae24-a323c2fd649b","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 190,"y": 370}, {"name": "inst_129D56A0","id": "6a8c209d-e11d-453d-a200-9c11b534820b","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_129D56A0","objId": "1bfc6884-362c-4c69-87ad-b69af6a39e94","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 190,"y": 150}, {"name": "inst_27E47E2C","id": "b05c93c1-ad7a-4e8b-bf42-25f913f0bc94","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_27E47E2C","objId": "1bfc6884-362c-4c69-87ad-b69af6a39e94","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 190,"y": 270}, {"name": "inst_5A2D7EE1","id": "b78d44f8-0804-4d5e-b8c4-61685aaba0bb","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_5A2D7EE1","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 460,"y": 160}, {"name": "inst_1D673C25","id": "767482b4-feb3-4fc9-a99d-0b8efaff945d","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_1D673C25","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 420,"y": 160}, {"name": "inst_25C596DF","id": "127f706c-4869-4b28-a5c5-869f055d3f9c","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_25C596DF","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 500,"y": 80}, {"name": "inst_44F507D3","id": "7d078b10-402d-4c94-8de3-e12b684359dc","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_44F507D3","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 460,"y": 80}, {"name": "inst_156F3BAC","id": "a1f71731-fcaa-404b-ad19-7bbc42b424d9","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_156F3BAC","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 420,"y": 80}, {"name": "inst_78D29F72","id": "33037d98-03ae-4f56-a930-28febfd4de08","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_78D29F72","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 500,"y": 160}, {"name": "inst_19524370","id": "6b2353db-4b71-4583-be80-61a31b5e155d","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_19524370","objId": "9a0e8fb2-07da-4346-aca8-252b7277cfd2","rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 420,"y": 120} ], "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRInstanceLayer", "mvc": "1.0", "userdefined_depth": false, "visible": true }, { "__type": "GMRTileLayer_Model:#YoYoStudio.MVCFormat", "name": "Tiles_1", "id": "074da11f-0b12-4cc9-8545-c4fe43bd1d33", "depth": 100, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRTileLayer", "prev_tileheight": 20, "prev_tilewidth": 20, "mvc": "1.0", "tiles": { "SerialiseData": null, "SerialiseHeight": 18, "SerialiseWidth": 24, "TileSerialiseData": [ 17,18,18,19,19,19,17,18,18,19,17,18,18,18,19,30,17,29,21,21,27,18,18,19, 29,21,26,25,20,27,29,21,21,27,29,21,21,21,22,17,29,21,21,26,28,21,27,19, 21,21,27,18,29,21,21,21,21,21,26,21,21,21,27,29,21,21,21,27,29,21,26,19, 28,21,21,21,21,26,28,21,26,28,27,29,21,21,21,21,21,21,21,21,21,21,26,19, 29,21,26,24,24,25,20,21,27,29,21,21,21,21,21,21,21,21,21,21,21,26,25,25, 21,26,25,30,30,17,29,21,21,21,21,26,28,21,21,21,21,21,21,26,28,22,30,30, 26,25,30,17,18,29,21,21,21,21,21,27,29,21,21,26,28,21,21,27,29,22,30,30, 27,19,30,20,21,21,26,24,28,21,21,21,21,21,26,25,23,24,28,21,21,22,30,30, 21,22,30,23,28,21,27,18,29,21,21,21,21,21,27,18,18,18,29,21,21,22,30,30, 28,27,19,17,29,21,26,24,24,28,21,21,28,21,21,21,21,21,21,21,21,27,18,19, 20,21,22,20,21,26,25,17,18,29,21,27,29,21,26,28,21,21,21,21,21,21,21,27, 29,21,22,20,21,27,18,29,21,21,21,21,21,21,27,29,21,21,21,21,21,21,21,21, 28,21,22,20,21,21,21,21,21,27,26,26,28,21,21,21,21,21,21,26,28,21,21,21, 20,21,22,20,26,24,28,26,24,24,24,17,29,21,26,28,21,21,21,22,24,24,24,24, 29,21,27,29,27,18,29,27,18,18,18,29,21,21,27,29,21,21,21,27,19,19,19,19, 24,28,21,21,21,21,21,21,21,21,26,28,21,21,21,21,21,21,26,24,19,19,19,19, 19,23,28,21,21,21,21,21,21,21,27,29,21,21,21,21,21,21,22,19,19,19,19,19, 19,19,20,21,26,24,24,24,24,24,28,21,21,21,21,21,21,21,27,19,19,19,19,19 ] }, "tilesetId": "e97d27fd-ca7a-4346-9b2c-9ffeaca90cec", "userdefined_depth": false, "visible": true, "x": 0, "y": 0 }, { "__type": "GMRBackgroundLayer_Model:#YoYoStudio.MVCFormat", "name": "Background", "id": "9a1fc0ff-2e4a-4220-bdb9-be01e711a7ac", "animationFPS": 15, "animationSpeedType": "0", "colour": { "Value": 4294967295 }, "depth": 200, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "hspeed": 0, "htiled": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRBackgroundLayer", "mvc": "1.0", "spriteId": "55c87d6a-0a3c-4ca1-a5dc-b2c85b3bee7e", "stretch": false, "userdefined_animFPS": false, "userdefined_depth": false, "visible": true, "vspeed": 0, "vtiled": true, "x": 0, "y": 0 } ], "modelName": "GMRoom", "parentId": "00000000-0000-0000-0000-000000000000", "physicsSettings": { "id": "9d1f79b2-a986-4012-8319-7960b9184093", "inheritPhysicsSettings": false, "modelName": "GMRoomPhysicsSettings", "PhysicsWorld": false, "PhysicsWorldGravityX": 0, "PhysicsWorldGravityY": 10, "PhysicsWorldPixToMeters": 0.1, "mvc": "1.0" }, "roomSettings": { "id": "807e4776-72f7-4fc0-9bdb-bbb3626c0945", "Height": 360, "inheritRoomSettings": false, "modelName": "GMRoomSettings", "persistent": false, "mvc": "1.0", "Width": 480 }, "mvc": "1.0", "views": [ {"id": "5bcfb26f-8804-497f-a6cd-4a831df7ac98","hborder": 32,"hport": 720,"hspeed": -1,"hview": 360,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": true,"vspeed": -1,"wport": 960,"wview": 480,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "fd112e12-43b4-489c-9fa9-d6909a084310","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "8183eec9-edbe-4f20-a5c7-14ac5d327363","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "1e279877-3014-4d44-9afc-601f1cb964ec","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "a3e34a3b-26b7-4d9b-8972-cce59ed65516","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "911e3165-b282-45d8-88ce-3854928e06e6","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "3bf152d5-1eb5-4ef3-827b-4162e472a29c","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "de64325e-1597-489c-9703-b6d19ae30cf7","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0} ], "viewSettings": { "id": "92b76ebf-4501-4149-9a7d-cb77c1d7aba0", "clearDisplayBuffer": true, "clearViewBackground": false, "enableViews": true, "inheritViewSettings": false, "modelName": "GMRoomViewSettings", "mvc": "1.0" } }
103.518692
567
0.626868
f90de0afc9079d47173d10b5b2c5f818692714f9
1,008
yy
Yacc
source/views/0913a990-8e56-4f39-b2d2-4b21073acf41.yy
Katipo007/archipelago-generator
9dc6871d6ff895c0249f8c452e0cb1720eea0a28
[ "CC-BY-4.0" ]
1
2017-10-26T04:31:47.000Z
2017-10-26T04:31:47.000Z
source/views/0913a990-8e56-4f39-b2d2-4b21073acf41.yy
Katipo007/archipelago-generator
9dc6871d6ff895c0249f8c452e0cb1720eea0a28
[ "CC-BY-4.0" ]
null
null
null
source/views/0913a990-8e56-4f39-b2d2-4b21073acf41.yy
Katipo007/archipelago-generator
9dc6871d6ff895c0249f8c452e0cb1720eea0a28
[ "CC-BY-4.0" ]
null
null
null
{ "id": "0913a990-8e56-4f39-b2d2-4b21073acf41", "modelName": "GMFolder", "mvc": "1.1", "name": "0913a990-8e56-4f39-b2d2-4b21073acf41", "children": [ "f0126ac1-dbb0-442d-b35d-c4aa78db2c64", "15d6c67f-24d3-4587-a7ea-7e5fdddec913", "f8809065-9a05-4aa3-b272-5f0ff7dd7ee1", "82d2d580-70a0-4975-811f-e531294d78e6", "29d3b930-b9e8-4726-9dff-98c72aea2976", "0ecf2e1e-f374-4167-9c60-d33f996f5a18", "d5ab1246-2c19-4590-bb8e-338632ac9f5b", "f63db5b2-a2c4-4e67-9b50-c372d9f6bad1", "aa810006-56f4-460a-8952-acfc2250db20", "0dfe0d00-22e5-4a61-86c9-c3779f3e5838", "b5295527-baf7-45db-888c-6d9adaa55139", "d66df5c6-d789-431b-bc96-eede5fcea5f1", "12f1a344-daf9-451c-a8ce-8741dc1982a0", "ae54a4e0-a6fa-4639-b1c7-9a884a55c838", "3c0a7bcd-38f7-41b8-9587-061d352d05ac" ], "filterType": "root", "folderName": "Default", "isDefaultView": true, "localisedFolderName": "" }
37.333333
51
0.641865
b9dcd7ef6dc9efcfa0270aa22b3e9b1bec946215
3,600
yy
Yacc
randgen-server/examples/engine_stress.yy
monitoring-system/dbtest
13b0add13d34ab3cf99e4f162a6880c247a1317a
[ "Apache-2.0" ]
1
2019-07-10T02:08:28.000Z
2019-07-10T02:08:28.000Z
randgen-server/examples/engine_stress.yy
monitoring-system/dbtest
13b0add13d34ab3cf99e4f162a6880c247a1317a
[ "Apache-2.0" ]
null
null
null
randgen-server/examples/engine_stress.yy
monitoring-system/dbtest
13b0add13d34ab3cf99e4f162a6880c247a1317a
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 # USA # # This grammar is suitable for general stress testing of storage engines # including the InnoDB plugin and Falcon, their locking and transactional mechanisms. It can # also be used along with the Combinations facility in order to provide stress testing under # various configurations # # The goal is to spend as much time as possible inside the storage engine and as little time # as possible in the optimizer. Therefore, most of the queries have trivial optimizer plans # and run very quickly. # # At the same time, please note that this grammar does not aim to cover all possible # table access methods. The grammars from conf/optimizer* are more suitable for that. # query: transaction | select | select | select | select | select | select | insert_replace | update | delete ; transaction: START TRANSACTION | COMMIT | ROLLBACK | SELECT SLEEP( zero_one ) | SAVEPOINT A | ROLLBACK TO SAVEPOINT A | SET AUTOCOMMIT=OFF | SET AUTOCOMMIT=ON | SET TRANSACTION ISOLATION LEVEL isolation_level; isolation_level: READ UNCOMMITTED | READ COMMITTED | REPEATABLE READ | SERIALIZABLE ; select: SELECT select_list FROM join_list where LIMIT large_digit for_update_lock_in_share_mode; select_list: X . _field_key | X . _field_key | X . `pk` | X . _field | * | ( subselect ); subselect: SELECT _field_key FROM _table WHERE `pk` = value ; # Use index for all joins join_list: _table AS X | _table AS X LEFT JOIN _table AS Y USING ( _field_key ); for_update_lock_in_share_mode: | | | | | # FOR UPDATE | # bug 46539 LOCK IN SHARE MODE ; # Insert more than we delete insert_replace: i_r ignore INTO _table (`pk`) VALUES (NULL) | i_r ignore INTO _table ( _field_no_pk , _field_no_pk ) VALUES ( value , value ) , ( value , value ) ; #| # i_r ignore INTO _table ( _field_no_pk ) SELECT X . _field_key FROM join_list where order_by LIMIT large_digit; # bug46650 i_r: INSERT | REPLACE ; ignore: ; # IGNORE # bug 46539 update: UPDATE ignore _table AS X SET _field_no_pk = value where LIMIT large_digit ; # We use a smaller limit on DELETE so that we delete less than we insert delete: DELETE FROM _table where_delete order_by_delete LIMIT small_digit ; order_by: | ORDER BY X . _field_key ; order_by_delete: | ORDER BY _field_key ; # Use an index at all times where: WHERE X . _field_key < value | # Use only < to reduce deadlocks WHERE X . _field_key IN ( value , value , value ) | WHERE X . _field_key BETWEEN small_digit AND large_digit ; # | # WHERE X . _field_key = ( subselect ) ; where_delete: | WHERE _field_key = value | WHERE _field_key IN ( value , value , value ) | WHERE _field_key IN ( subselect ) | WHERE _field_key BETWEEN small_digit AND large_digit ; large_digit: 5 | 6 | 7 | 8 ; small_digit: 1 | 2 | 3 | 4 ; value: _digit | _tinyint_unsigned | _varchar(1); zero_one: 0 | 0 | 1;
28.571429
123
0.736944
6bdd956a3ba88e7f6a9b93f1b364b9d2c3616b05
490
yy
Yacc
handytools/views/2c0c672b-fbca-4d09-ba52-d7578749bdd7.yy
GameMakerDiscord/lib2-handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
28
2019-03-27T14:44:52.000Z
2022-03-25T21:27:19.000Z
handytools/views/2c0c672b-fbca-4d09-ba52-d7578749bdd7.yy
JujuAdams/handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
2
2017-12-27T13:41:34.000Z
2018-01-18T14:25:53.000Z
handytools/views/2c0c672b-fbca-4d09-ba52-d7578749bdd7.yy
JujuAdams/handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
4
2017-12-27T12:49:49.000Z
2018-09-01T12:58:09.000Z
{ "id": "2c0c672b-fbca-4d09-ba52-d7578749bdd7", "modelName": "GMFolder", "mvc": "1.1", "name": "2c0c672b-fbca-4d09-ba52-d7578749bdd7", "children": [ "61a2c2f6-a30f-4bbd-bc40-36c0ee9b833d", "e6407516-446a-4e3b-aaa2-1861a955b39a", "83f38e91-e5b0-4fb5-a77b-6d7283577de4", "641dcf3f-e495-4872-9ffa-e435164c19a0" ], "filterType": "GMSprite", "folderName": "vases+hammer", "isDefaultView": false, "localisedFolderName": "" }
30.625
51
0.620408
1ffa80600ed0cba181f581702f0ccb32750b3092
457
yy
Yacc
Phobia-Game/views/b256ccef-46a0-42a7-985f-e24bcb6c4399.yy
Nicorasu/Phobia-Game
a773ad17161ac26ed7f80cad66b9ac8b33168acf
[ "Apache-2.0" ]
1
2017-09-18T17:15:44.000Z
2017-09-18T17:15:44.000Z
Phobia-Game/views/b256ccef-46a0-42a7-985f-e24bcb6c4399.yy
Nicorasu/Phobia-Game
a773ad17161ac26ed7f80cad66b9ac8b33168acf
[ "Apache-2.0" ]
null
null
null
Phobia-Game/views/b256ccef-46a0-42a7-985f-e24bcb6c4399.yy
Nicorasu/Phobia-Game
a773ad17161ac26ed7f80cad66b9ac8b33168acf
[ "Apache-2.0" ]
null
null
null
{ "id": "b256ccef-46a0-42a7-985f-e24bcb6c4399", "modelName": "GMFolder", "mvc": "1.1", "name": "b256ccef-46a0-42a7-985f-e24bcb6c4399", "children": [ "fb36e7d0-be7c-4ac0-b748-e04c8a2e8d3e", "c65a2b5f-04c9-41cd-98c1-de0e935fbbe1", "5a3c88df-d1ae-42e6-8ae2-4ccc328208ba" ], "filterType": "GMObject", "folderName": "objects", "isDefaultView": false, "localisedFolderName": "ResourceTree_Objects" }
30.466667
51
0.630197
ea15a1b70c256895dceabfd69886f1a7736d7c56
403
yy
Yacc
views/ec2741c7-0651-4727-84d2-026e719a86de.yy
XenoMustache/BraveNewWorld
c57e881be665d7e87e15e9b437f96a10547dac81
[ "MIT" ]
1
2021-12-14T15:24:43.000Z
2021-12-14T15:24:43.000Z
views/ec2741c7-0651-4727-84d2-026e719a86de.yy
XenoMustache/BraveNewWorld
c57e881be665d7e87e15e9b437f96a10547dac81
[ "MIT" ]
null
null
null
views/ec2741c7-0651-4727-84d2-026e719a86de.yy
XenoMustache/BraveNewWorld
c57e881be665d7e87e15e9b437f96a10547dac81
[ "MIT" ]
null
null
null
{ "id": "ec2741c7-0651-4727-84d2-026e719a86de", "modelName": "GMFolder", "mvc": "1.1", "name": "ec2741c7-0651-4727-84d2-026e719a86de", "children": [ "ef10c54f-ebb6-4b66-abb1-b2788ae30b28", "bdbd5965-1e6a-4951-aa99-6ec6b0f1f2b9" ], "filterType": "GMRoom", "folderName": "rooms", "isDefaultView": false, "localisedFolderName": "ResourceTree_Rooms" }
28.785714
51
0.620347
14b6fef5ba68ded957f3cbb56b87a147f084425c
1,157
yy
Yacc
views/372078ec-1fdd-49dc-80e1-72a884b55699.yy
MidSummersEveee/juggernaut
61772466686fa50fc1ae505735b7490f54d8a855
[ "MIT" ]
null
null
null
views/372078ec-1fdd-49dc-80e1-72a884b55699.yy
MidSummersEveee/juggernaut
61772466686fa50fc1ae505735b7490f54d8a855
[ "MIT" ]
null
null
null
views/372078ec-1fdd-49dc-80e1-72a884b55699.yy
MidSummersEveee/juggernaut
61772466686fa50fc1ae505735b7490f54d8a855
[ "MIT" ]
null
null
null
{ "id": "372078ec-1fdd-49dc-80e1-72a884b55699", "modelName": "GMFolder", "mvc": "1.1", "name": "372078ec-1fdd-49dc-80e1-72a884b55699", "children": [ "1fda8432-4594-4183-bfb3-e0f8626ae9f7", "199cee95-3aa0-41a4-9a3c-87f25fbdb8d6", "28bba603-b98f-4c53-9b9a-be4b2ceca4ce", "9a78906c-c863-452d-9fd3-1e857a97d944", "a02827ef-c876-4ecc-b95f-32aa75d2353a", "614485e5-37d4-4367-81cb-0780eb6fab5c", "10697379-4251-49aa-94d2-ac8bdf86f4be", "9dce26f7-6c40-46d3-a6fc-554b659ea350", "601146f6-d760-497a-9437-5ad983b5451f", "b1484060-a667-4280-be7b-c7b91371742e", "d6f93743-076d-4166-9be2-284747fd71c6", "4c4916c5-87bd-4759-b5f4-99cf13e42d77", "0a68ccc0-e718-46ad-ba7c-5e0860467515", "d6c68498-1f52-42d8-aec6-f98b0781b0be", "d46c6816-1882-47e4-ad28-8c60100244ce", "6c875ec8-4dbc-4338-a1c3-293f0e557c38", "d5322d54-170f-454e-b4d1-eb850cc2ecf3", "f1618bd2-06f1-4098-bfb2-9139b8c7177c" ], "filterType": "GMSprite", "folderName": "JonSnow", "isDefaultView": false, "localisedFolderName": "" }
38.566667
51
0.6465
5789e60ccdc564f86fa441274962142fba006ff9
6,689
y
Yacc
sql/parser.go.y
kevinrizza/sqlittle
02155dd93c6721d8854ea2915cd34df3322b6a43
[ "MIT" ]
null
null
null
sql/parser.go.y
kevinrizza/sqlittle
02155dd93c6721d8854ea2915cd34df3322b6a43
[ "MIT" ]
null
null
null
sql/parser.go.y
kevinrizza/sqlittle
02155dd93c6721d8854ea2915cd34df3322b6a43
[ "MIT" ]
1
2020-01-30T13:15:03.000Z
2020-01-30T13:15:03.000Z
%{ package sql %} %union { literal string identifier string signedNumber int64 statement interface{} columnNameList []string columnName string columnDefList []ColumnDef columnDef ColumnDef indexedColumnList []IndexedColumn indexedColumn IndexedColumn name string withoutRowid bool unique bool bool bool collate string sortOrder SortOrder columnConstraint columnConstraint columnConstraintList []columnConstraint tableConstraint TableConstraint tableConstraintList []TableConstraint triggerAction TriggerAction trigger Trigger triggerList []Trigger where Expression expr Expression exprList []Expression float float64 } %type<statement> program %type<statement> selectStmt %type<statement> createTableStmt %type<statement> createIndexStmt %type<identifier> identifier %type<literal> literal %type<signedNumber> signedNumber %type<float> floatNumber %type<columnName> columnName resultColumn %type<columnNameList> columnNameList optColumnNameList resultColumnList %type<columnDefList> columnDefList %type<columnDef> columnDef %type<indexedColumnList> indexedColumnList %type<indexedColumn> indexedColumn %type<name> typeName constraintName %type<unique> unique %type<withoutRowid> withoutRowid %type<collate> collate %type<sortOrder> sortOrder %type<bool> autoincrement %type<columnConstraint> columnConstraint %type<columnConstraintList> columnConstraintList %type<tableConstraint> tableConstraint %type<tableConstraintList> tableConstraintList %type<triggerAction> triggerAction %type<trigger> trigger %type<triggerList> triggerList %type<where> where %type<expr> indexedColumnExpr %type<expr> expr %type<exprList> exprList %token ACTION %token AND %token ASC %token AUTOINCREMENT %token CASCADE %token COLLATE %token CONSTRAINT %token CREATE %token DEFAULT %token DELETE %token DESC %token FOREIGN %token FROM %token GLOB %token IN %token INDEX %token IS %token KEY %token LIKE %token MATCH %token NO %token NOT %token NULL %token ON %token OR %token PRIMARY %token REFERENCES %token REGEXP %token RESTRICT %token ROWID %token SELECT %token SET %token TABLE %token UNIQUE %token UPDATE %token WHERE %token WITHOUT %token<identifier> tBare tLiteral tIdentifier %token<identifier> tOperator %token<signedNumber> tSignedNumber %token<float> tFloat %% program: selectStmt | createTableStmt | createIndexStmt literal: tBare { $$ = $1 } | tLiteral { $$ = $1 } identifier: tBare { $$ = $1 } | tIdentifier { $$ = $1 } signedNumber: tSignedNumber { $$ = $1 } | '-' signedNumber { $$ = - $2 } | '+' signedNumber { $$ = $2 } floatNumber: tFloat { $$ = $1 } | '-' floatNumber { $$ = - $2 } | '+' floatNumber { $$ = $2 } columnName: identifier { $$ = $1 } columnNameList: columnName { $$ = []string{$1} } | columnNameList ',' columnName { $$ = append($1, $3) } optColumnNameList: '(' columnNameList ')' { $$ = $2 } resultColumn: columnName { $$ = $1 } resultColumnList: resultColumn { $$ = []string{$1} } | resultColumnList ',' resultColumn { $$ = append($1, $3) } columnConstraint: PRIMARY KEY sortOrder autoincrement { $$ = ccPrimaryKey{$3, $4} } | UNIQUE { $$ = ccUnique(true) } | NULL { $$ = ccNull(true) } | NOT NULL { $$ = ccNull(false) } | COLLATE identifier { $$ = ccCollate($2) } | DEFAULT signedNumber { $$ = ccDefault($2) } | DEFAULT literal { $$ = ccDefault($2) } columnConstraintList: { $$ = nil } | columnConstraint { $$ = []columnConstraint{$1} } | columnConstraintList columnConstraint { $$ = append($1, $2) } tableConstraint: PRIMARY KEY '(' indexedColumnList ')' { $$ = TablePrimaryKey{$4} } | UNIQUE '(' indexedColumnList ')' { $$ = TableUnique{$3} } | FOREIGN KEY '(' columnNameList ')' REFERENCES identifier optColumnNameList triggerList { $$ = TableForeignKey{ Columns: $4, ForeignTable: $7, ForeignColumns: $8, Triggers: $9, } } constraintName: { } | CONSTRAINT identifier { } tableConstraintList: { } | ',' constraintName tableConstraint { $$ = []TableConstraint{$3} } | tableConstraintList ',' constraintName tableConstraint { $$ = append($1, $4) } autoincrement: { } | AUTOINCREMENT { $$ = true } columnDefList: columnDef { $$ = []ColumnDef{$1} } | columnDefList ',' columnDef { $$ = append($1, $3) } columnDef: identifier typeName columnConstraintList { $$ = makeColumnDef($1, $2, $3) } typeName: { $$ = "" } | identifier { $$ = $1 } | identifier '(' signedNumber ')' { $$ = $1 } | identifier '(' signedNumber ',' signedNumber ')' { $$ = $1 } collate: { } | COLLATE literal { $$ = $2 } sortOrder: { $$ = Asc } | ASC { $$ = Asc } | DESC { $$ = Desc } withoutRowid: { $$ = false } | WITHOUT ROWID { $$ = true } unique: { $$ = false } | UNIQUE { $$ = true } indexedColumnList: indexedColumn { $$ = []IndexedColumn{$1} } | indexedColumnList ',' indexedColumn { $$ = append($1, $3) } indexedColumnExpr: expr { $$ = $1 } indexedColumn: indexedColumnExpr collate sortOrder { $$ = newIndexColumn($1, $2, $3) } triggerAction: SET NULL { $$ = ActionSetNull } | SET DEFAULT { $$ = ActionSetDefault } | CASCADE { $$ = ActionCascade } | RESTRICT { $$ = ActionRestrict } | NO ACTION { $$ = ActionNoAction } trigger: ON DELETE triggerAction { $$ = TriggerOnDelete($3) } | ON UPDATE triggerAction { $$ = TriggerOnUpdate($3) } triggerList: { } | triggerList trigger { $$ = append($1, $2) } where: { } | WHERE expr { $$ = $2 } expr: NULL { $$ = nil } | identifier '(' exprList ')' { $$ = ExFunction{$1, $3} } | signedNumber { $$ = $1 } | floatNumber { $$ = $1 } | tLiteral { $$ = $1 } | tBare { $$ = ExColumn($1) } | tIdentifier { $$ = ExColumn($1) } | expr tOperator expr { $$ = ExBinaryOp{$2, $1, $3} } | expr '+' expr { $$ = ExBinaryOp{"+", $1, $3} } | expr '-' expr { $$ = ExBinaryOp{"-", $1, $3} } | '(' expr ')' { $$ = $2 } exprList: { $$ = nil } | expr { $$ = []Expression{$1} } | exprList ',' expr { $$ = append($1, $3) } selectStmt: SELECT resultColumnList FROM identifier { yylex.(*lexer).result = SelectStmt{ Columns: $2, Table: $4 } } createTableStmt: CREATE TABLE identifier '(' columnDefList tableConstraintList ')' withoutRowid { yylex.(*lexer).result = CreateTableStmt{ Table: $3, Columns: $5, Constraints: $6, WithoutRowid: $8, } } createIndexStmt: CREATE unique INDEX identifier ON identifier '(' indexedColumnList ')' where { yylex.(*lexer).result = CreateIndexStmt{ Index: $4, Table: $6, Unique: $2, IndexedColumns: $8, Where: $10, } }
15.099323
89
0.64479
2fb570cebc6fd46235d5d9a1052b0d90802bdec4
471
yy
Yacc
handytools/views/e2828ccc-b946-4eff-b46f-f15bc2348733.yy
GameMakerDiscord/lib2-handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
28
2019-03-27T14:44:52.000Z
2022-03-25T21:27:19.000Z
handytools/views/e2828ccc-b946-4eff-b46f-f15bc2348733.yy
JujuAdams/handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
2
2017-12-27T13:41:34.000Z
2018-01-18T14:25:53.000Z
handytools/views/e2828ccc-b946-4eff-b46f-f15bc2348733.yy
JujuAdams/handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
4
2017-12-27T12:49:49.000Z
2018-09-01T12:58:09.000Z
{ "id": "e2828ccc-b946-4eff-b46f-f15bc2348733", "modelName": "GMFolder", "mvc": "1.1", "name": "e2828ccc-b946-4eff-b46f-f15bc2348733", "children": [ "46c82f33-05da-4915-b8d3-72527abdca82", "29c8ea81-298e-475e-9145-90b198b8f1dc", "1f37008b-a625-4eca-b5b7-40b77b5de961" ], "filterType": "GMIncludedFile", "folderName": "datafiles", "isDefaultView": false, "localisedFolderName": "ResourceTree_IncludedFiles" }
31.4
55
0.641189
9371c1526baae78182f27c8ff31df1c326b70d9e
195
yy
Yacc
gamemaker-studio-2/OpenDayDialogueGMS2/scripts/odd_instance_get_store_cleanup/odd_instance_get_store_cleanup.yy
colinator27/open-day-dialogue-interpreters
eb2638b798f53f4cf5b0715f8beee0c9ccb1a24f
[ "MIT" ]
2
2019-07-25T05:53:34.000Z
2020-04-01T13:53:25.000Z
gamemaker-studio-2/OpenDayDialogueGMS2/scripts/odd_instance_get_store_cleanup/odd_instance_get_store_cleanup.yy
colinator27/open-day-dialogue-interpreters
eb2638b798f53f4cf5b0715f8beee0c9ccb1a24f
[ "MIT" ]
2
2018-07-25T17:45:28.000Z
2018-12-21T23:15:49.000Z
gamemaker-studio-2/OpenDayDialogueGMS2/scripts/odd_instance_get_store_cleanup/odd_instance_get_store_cleanup.yy
colinator27/open-day-dialogue-interpreters
eb2638b798f53f4cf5b0715f8beee0c9ccb1a24f
[ "MIT" ]
null
null
null
{ "id": "4c4fce39-7cbf-46bd-8144-4612192802a9", "modelName": "GMScript", "mvc": "1.0", "name": "odd_instance_get_store_cleanup", "IsCompatibility": false, "IsDnD": false }
24.375
49
0.615385
8264de85e752fe503c94d4c4dbc1116d8244422a
11,664
y
Yacc
model/masl/gen/miner.y
keithbrown/mc
cfa3e771a6c07fe01169817e9e312fdbe97cfe2f
[ "Apache-2.0" ]
6
2016-09-17T14:29:31.000Z
2021-11-15T09:45:11.000Z
model/masl/gen/miner.y
keithbrown/mc
cfa3e771a6c07fe01169817e9e312fdbe97cfe2f
[ "Apache-2.0" ]
35
2015-01-15T02:07:15.000Z
2021-08-23T12:51:12.000Z
model/masl/gen/miner.y
keithbrown/mc
cfa3e771a6c07fe01169817e9e312fdbe97cfe2f
[ "Apache-2.0" ]
62
2015-01-14T20:04:57.000Z
2022-03-25T03:17:44.000Z
%{ #include <string.h> #include "masl_sys_types.h" #include "miner.h" extern int yylex(); extern int yylex_destroy(void); extern int yyparse(); extern int yylineno; extern FILE * yyin; void yyerror( const char * s ); void typeminer_set_buffer( char *, int ); void typeminer_clear_buffer(); %} %locations %union { char sval[TYPEMINER_MAX_LABEL_LEN]; char * strval; } %token<sval> IDENTIFIER %token ABS AND ANONYMOUS ARRAY ASSIGN BAG CHARACTER COLON COMMA CONCATENATE CONSOLE %token DELTA DICTIONARY DIGITS DISUNION DIVIDE DURATION END ENDL ENUM EQUAL T_FALSE %token FLUSH GT GTE INSTANCE INTEGER INTERSECTION LPAREN LT LTE LTGT MINUS MOD NOT %token NOT_EQUAL NOT_IN T_NULL NULL_TERMINATOR OF OR PLUS POWER PRAGMA RANGE RANGE_DOTS %token REAL REM RPAREN SCOPE SEMI SEQUENCE SET STRING STRUCTURE THIS TIMES TIMESTAMP %token T_TRUE UNION UNRECOGNIZED_TOKEN XOR %type<strval> scopedName %start type %% type : typeDefinition NULL_TERMINATOR ; typeDefinition : structureTypeDefinition | enumerationTypeDefinition | constrainedTypeDefinition | typeReferenceWithCA | unconstrainedArrayDefinition ; structureTypeDefinition : STRUCTURE structureComponentDefinition structureComponentDefinitions END STRUCTURE | STRUCTURE structureComponentDefinition structureComponentDefinitions END ; structureComponentDefinitions : /* Empty */ | structureComponentDefinition structureComponentDefinitions ; structureComponentDefinition : IDENTIFIER COLON typeReference initializer SEMI pragmaList ; initializer : /* Empty */ | ASSIGN expression | EQUAL expression ; enumerationTypeDefinition : ENUM LPAREN enumerator enumerators RPAREN ; enumerators : /* Empty */ | COMMA enumerator enumerators ; enumerator : IDENTIFIER initializer ; constrainedTypeDefinition : namedTypeRef typeConstraint ; namedTypeRef : ANONYMOUS scopedName { typeminer_add_label( typeminer_labels, $2 ); } | scopedName { typeminer_add_label( typeminer_labels, $1 ); } | ANONYMOUS IDENTIFIER { char * id = (char *)malloc( TYPEMINER_MAX_LABEL_LEN ); memset( id, 0, TYPEMINER_MAX_LABEL_LEN ); strcpy( id, $2 ); typeminer_add_label( typeminer_labels, id ); } | IDENTIFIER { char * id = (char *)malloc( TYPEMINER_MAX_LABEL_LEN ); memset( id, 0, TYPEMINER_MAX_LABEL_LEN ); strcpy( id, $1 ); typeminer_add_label( typeminer_labels, id ); } ; scopedName : IDENTIFIER SCOPE IDENTIFIER { $$ = (char *)malloc( TYPEMINER_MAX_LABEL_LEN ); memset( $$, 0, TYPEMINER_MAX_LABEL_LEN ); if ( strlen( $1 ) + strlen( $3 ) + 2 < TYPEMINER_MAX_LABEL_LEN ) { strcpy( $$, $1 ); strcat( $$, "::" ); strcat( $$, $3 ); } } ; typeConstraint : rangeConstraint | deltaConstraint | digitsConstraint ; rangeConstraint : RANGE expression ; deltaConstraint : DELTA expression rangeConstraint ; digitsConstraint : DIGITS expression rangeConstraint ; typeReferenceWithCA : typeReference | constrainedArrayTypeRef ; constrainedArrayTypeRef : namedTypeRef arrayBounds ; arrayBounds : LPAREN expression RPAREN ; unconstrainedArrayDefinition : ARRAY LPAREN namedTypeRef RANGE LTGT RPAREN OF typeReference ; typeReference : namedTypeRef | instanceTypeRef | collectionTypeRef ; instanceTypeRef : ANONYMOUS INSTANCE OF scopedName | INSTANCE OF scopedName | ANONYMOUS INSTANCE OF IDENTIFIER | INSTANCE OF IDENTIFIER ; collectionTypeRef : ANONYMOUS SEQUENCE LPAREN expression RPAREN OF typeReference | SEQUENCE LPAREN expression RPAREN OF typeReference | ANONYMOUS SEQUENCE OF typeReference | SEQUENCE OF typeReference | ANONYMOUS ARRAY arrayBounds OF typeReference | ARRAY arrayBounds OF typeReference | ANONYMOUS SET OF typeReference | SET OF typeReference | ANONYMOUS BAG OF typeReference | BAG OF typeReference | ANONYMOUS DICTIONARY dictKeyType OF typeReference | DICTIONARY dictKeyType OF typeReference | ANONYMOUS DICTIONARY OF typeReference | DICTIONARY OF typeReference | ANONYMOUS DICTIONARY | DICTIONARY ; dictKeyType : namedTypeRef | instanceTypeRef ; pragmaList : /* Empty */ | pragma SEMI pragmaList ; pragma : PRAGMA IDENTIFIER LPAREN RPAREN | PRAGMA IDENTIFIER LPAREN pragmaValues RPAREN ; pragmaValues : expression | expression COMMA pragmaValues ; expression : rangeExpression ; rangeExpression : logicalOr | logicalOr RANGE_DOTS logicalOr ; logicalOr : logicalXor | logicalXor OR logicalOr ; logicalXor : logicalAnd | logicalAnd XOR logicalXor ; logicalAnd : equality | equality AND logicalAnd ; equality : relationalExp | relationalExp EQUAL equality | relationalExp NOT_EQUAL equality ; relationalExp : additiveExp | additiveExp LT relationalExp | additiveExp GT relationalExp | additiveExp LTE relationalExp | additiveExp GTE relationalExp ; additiveExp : multExp | multExp PLUS additiveExp | multExp MINUS additiveExp | multExp CONCATENATE additiveExp | multExp UNION additiveExp | multExp NOT_IN additiveExp ; multExp : unaryExp | unaryExp TIMES multExp | unaryExp DIVIDE multExp | unaryExp MOD multExp | unaryExp POWER multExp | unaryExp REM multExp | unaryExp INTERSECTION multExp | unaryExp DISUNION multExp ; unaryExp : unaryOperator unaryExp | literal | parenthesisedExpression | nameExpression | collectionTypeRef ; unaryOperator : MINUS | PLUS | NOT | ABS ; nameExpression : scopedName { typeminer_add_label( typeminer_labels, $1 ); } | IDENTIFIER { char * id = (char *)malloc( TYPEMINER_MAX_LABEL_LEN ); memset( id, 0, TYPEMINER_MAX_LABEL_LEN ); strcpy( id, $1 ); typeminer_add_label( typeminer_labels, id ); } ; parenthesisedExpression : LPAREN expression RPAREN ; literal : INTEGER | REAL | CHARACTER | STRING | TIMESTAMP | DURATION | T_TRUE | T_FALSE | T_NULL | FLUSH | ENDL | THIS | CONSOLE ; %% void typeminer_miner( char * input, int length ) { typeminer_set_buffer( input, length ); yylineno = 1; yyparse(); typeminer_clear_buffer(); }
41.070423
129
0.385974
10344a3413294dfd750df00b5913ef7987080e41
358
yy
Yacc
views/f32dfbe5-3f3b-43db-8372-430212461b06.yy
nicholmy/sonicgapremix
fab225ad49a14d7c3f0e1f3067aae39eaed8c97b
[ "MIT" ]
null
null
null
views/f32dfbe5-3f3b-43db-8372-430212461b06.yy
nicholmy/sonicgapremix
fab225ad49a14d7c3f0e1f3067aae39eaed8c97b
[ "MIT" ]
null
null
null
views/f32dfbe5-3f3b-43db-8372-430212461b06.yy
nicholmy/sonicgapremix
fab225ad49a14d7c3f0e1f3067aae39eaed8c97b
[ "MIT" ]
null
null
null
{ "id": "f32dfbe5-3f3b-43db-8372-430212461b06", "modelName": "GMFolder", "mvc": "1.1", "name": "f32dfbe5-3f3b-43db-8372-430212461b06", "children": [ "9a96a576-a8ea-4b7e-8204-8813a3b619c3" ], "filterType": "GMObject", "folderName": "Bonus Stages", "isDefaultView": false, "localisedFolderName": "" }
27.538462
52
0.581006
ac7a28f2cdf8a92bd918e777d050cec8dd7b57d6
4,690
y
Yacc
jnms-selenium/src/main/yacc/selenium.y
amalnev/jnms
4524e09d5afc1f523ce82fa472aa595af94f7a97
[ "MIT" ]
null
null
null
jnms-selenium/src/main/yacc/selenium.y
amalnev/jnms
4524e09d5afc1f523ce82fa472aa595af94f7a97
[ "MIT" ]
5
2020-03-04T23:12:55.000Z
2021-12-09T21:26:16.000Z
jnms-selenium/src/main/yacc/selenium.y
amalnev/jnms
4524e09d5afc1f523ce82fa472aa595af94f7a97
[ "MIT" ]
null
null
null
%{ import java.util.*; import java.io.IOException; %} %token NUMERIC_LITERAL %token STRING_LITERAL %token EQ %token WORD %token SEMICOLON %token OPEN_BRACKET %token CLOSE_BRACKET %token COMMA %token FUNCTION_KEYWORD %token OPEN_CURLY_BRACKET %token CLOSE_CURLY_BRACKET %% input: statement_list { FunctionDefinition entryPoint = new FunctionDefinition(); entryPoint.setStatements((List<IStatement>)$1.obj); this.entryPointFunction = entryPoint; } ; statement_list: | statement { //System.out.println("first statement in the list"); List<IStatement> statements = new LinkedList<IStatement>(); statements.add((IStatement)$1.obj); $$ = new ParserVal(statements); } | statement_list statement { //System.out.println("more statements"); ((List<IStatement>)$1.obj).add((IStatement)$2.obj); } ; statement: statement_body SEMICOLON { //System.out.println("statement body"); $$ = $1; } ; statement_body: assignment { //System.out.println("statement body: assignment"); $$ = $1; } | expression { //System.out.println("statement body: expression"); $$ = new ParserVal(new ExpressionStatement((IExpression)$1.obj)); } | function_definition { //System.out.println("statement body: function definition"); $$ = $1; } ; function_definition: FUNCTION_KEYWORD WORD OPEN_BRACKET argument_name_list CLOSE_BRACKET OPEN_CURLY_BRACKET statement_list CLOSE_CURLY_BRACKET { //System.out.println("function definition"); FunctionDefinition functionDefinition = new FunctionDefinition(); functionDefinition.setStatements((List<IStatement>)$7.obj); functionDefinition.setFunctionName($2.sval); functionDefinition.setArgumentNames((List<String>)$4.obj); $$ = new ParserVal(functionDefinition); } ; argument_name_list: { //System.out.println("function definition argument list: empty list"); $$ = new ParserVal(new LinkedList<String>()); } | argument_name_list COMMA WORD { //System.out.println("function definition argument list: more arguments"); List<String> argumentList = (List<String>)$1.obj; argumentList.add($3.sval); $$ = $1; } | WORD { //System.out.println("function definition argument list: first argument"); List<String> argumentList = new LinkedList<>(); argumentList.add($1.sval); $$ = new ParserVal(argumentList); } ; assignment: varname EQ expression { //System.out.println("assignment"); $$ = new ParserVal(new AssignmentStatement((Variable)$1.obj, (IExpression)$3.obj)); } ; varname: WORD { //System.out.println("varname: " + $1.sval); $$ = new ParserVal(new Variable($1.sval)); } ; expression: literal { //System.out.println("expression (literal)"); $$ = $1; } | function_call { //System.out.println("expression (function call)"); $$ = $1; } | varname { //System.out.println("expression (variable expansion)"); $$ = $1; } ; literal: NUMERIC_LITERAL { //System.out.println("numeric literal: " + $1.ival); $$ = new ParserVal(new IntegerLiteral($1.ival)); } | STRING_LITERAL { //System.out.println("string literal: " + $1.sval); $$ = new ParserVal(new StringLiteral($1.sval)); } ; function_call: function_name OPEN_BRACKET function_call_argument_list CLOSE_BRACKET { //System.out.println("Function call: " + $1.sval); FunctionCallExpression functionCall = new FunctionCallExpression(); functionCall.setFunctionName($1.sval); functionCall.setFunctionCallArguments((List<IExpression>)$3.obj); $$ = new ParserVal(functionCall); } ; function_name: WORD { //System.out.println("Function name: " + $1.sval); $$ = $1; } ; function_call_argument_list: { //System.out.println("Function call arglist: empty list"); List<IExpression> argumentList = new LinkedList<>(); $$ = new ParserVal(argumentList); } | function_call_argument_list COMMA expression { //System.out.println("Function call arglist: more args"); List<IExpression> argumentList = (List<IExpression>)$1.obj; IExpression expression = (IExpression)$3.obj; argumentList.add(expression); $$ = $1; } | expression { //System.out.println("Function call arglist: first arg"); List<IExpression> argumentList = new LinkedList<>(); IExpression expression = (IExpression)$1.obj; argumentList.add(expression); $$ = new ParserVal(argumentList); } ; %% private FunctionDefinition entryPointFunction; private Lexer lexer; private void yyerror(final String s) throws ParserException { throw new ParserException(s); } private int yylex() throws IOException { return lexer.yylex(); } public FunctionDefinition parseFromString(final String inputString) throws ParserException, IOException { lexer = new Lexer(this, inputString); yyparse(); return entryPointFunction; }
25.911602
144
0.715778
f096a382bc0bf08b6b79a1a840678880664c1a99
10
y
Yacc
data/chunking/445.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
6
2015-02-18T23:13:30.000Z
2019-02-26T15:04:54.000Z
data/chunking/445.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
1
2016-02-02T23:42:55.000Z
2016-02-16T12:01:02.000Z
data/chunking/445.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
2
2016-05-09T03:45:23.000Z
2019-10-18T08:04:54.000Z
0 3 0 2 6
1.666667
1
0.5
9f06710f833699b49eff908036367bd1b5c43b6a
4,769
y
Yacc
mod/swrd/parser/swrdParser.y
kniz/wrd
a8c9e8bd2f7b240ff64a3b80e7ebc7aff2775ba6
[ "MIT" ]
7
2019-03-12T03:04:32.000Z
2021-12-26T04:33:44.000Z
mod/swrd/parser/swrdParser.y
kniz/wrd
a8c9e8bd2f7b240ff64a3b80e7ebc7aff2775ba6
[ "MIT" ]
25
2016-09-23T16:36:19.000Z
2019-02-12T14:14:32.000Z
mod/swrd/parser/swrdParser.y
kniz/World
13b0c8c7fdc6280efcb2135dc3902754a34e6d06
[ "MIT" ]
null
null
null
%{ #pragma once #include "../common.hpp" #include "../interp/sinterpreter.hpp" namespace wrd { class obj; } using namespace wrd; int yylex(); extern wrd::sobj* root; extern int yylineno; extern char* yytext; void yyerror(const char* s); %} %glr-parser %union { int intVal; float floatVal; bool boolVal; char charVal; const char* strVal; wrd::sobj* obj; } %verbose %start tfile %token tdef tprop tnode tin tindent tdedent %token <intVal> teof tint %token <floatVal> tfloat %token <boolVal> tbool %token <charVal> tokChar %token <strVal> tokStr %token <strVal> tid tcontainerName %token <strVal> tver %token teol %type <obj> tfile tarray %type <obj> trhsexpr trhsIds %type <obj> tdefOrigin tdefIndentBlock tdefexpr tdefStmt tdefBlock // 우선순위: 밑으로 갈수록 높음. // 결합 순서 정의: // 정해주지 않으면 모호성 오류 나온다. // left: 왼쪽 결합. // right: 오른쪽 결합. %right '=' topDefAssign %% // trhsexpr과 tlhsexpr: // tlhsexpr은 할당이 가능한 변수. lvalue. // trhsexpr은 값을 나타내는 모든 표현식. // 따라서 범주상으로 보았을때 trhsexpr 은 tlhsexpr을 포함한다. 더 크다는 얘기다. trhsexpr : tbool { $$ = new termSobj($1); WRD_DI("trhsexpr(%x) <-- %s", $$, $1 ? "true" : "false"); } | tver { $$ = new verSobj($1); WRD_DI("tver(%x) <-- %s", $$, $1); } | tfloat { $$ = new termSobj($1); WRD_DI("trhsexpr(%x) <-- %f", $$, $1); } | tint { $$ = new termSobj($1); WRD_DI("trhsexpr(%x) <-- %d", $$, $1); } | tokStr { $$ = new termSobj($1); WRD_DI("trhsexpr(%x) <-- '%s'", $$, $1); } | tokChar { $$ = new termSobj($1); WRD_DI("trhsexpr(%x) <-- tokChar(%c)", $$, $1); } | tarray { $$ = $1; WRD_DI("trhsexpr(%x) <-- tarray(%x)", $$, $1); } ; tdefexpr : tid topDefAssign trhsexpr { $3->setName($1); $$ = $3; WRD_DI("tdefexpr(%x) <-- %s := trhsexpr(%x)", $$, $1, $3); } | tdefOrigin { $$ = $1; WRD_DI("tdefexpr(%x) <-- tdefOrigin(%x)", $$, $1); } ; trhsIds : trhsexpr ',' trhsexpr { $$ = new sobj(); $$->add(*$1); $1->add(*$3); WRD_DI("trhsIds(%x) <-- trhsexpr(%x) , trhsexpr(%x)", $$, $1, $3); } | trhsIds ',' trhsexpr { $$ = $1; $$->add(*$3); WRD_DI("rhsIds(%x) <-- trhsIds(%x) , trhsexpr(%x)", $$, $1, $3); } ; tarray : '{' trhsIds '}' { $$ = $2; WRD_DI("tarray(%x) <-- { trhsIds(%x) }", $$, $2); } ; tdefIndentBlock: teol tindent tdefBlock tdedent { $$ = $3; WRD_DI("tdefIndentBlock(%x) <-- \\n \\t tdefBlock(%x) -\\t", $$, $3); } | ':' tdefexpr { $$ = $2; WRD_DI("tdefIndentBlock(%x) <-- : tdefexpr(%x)", $$, $2); } ; tdefOrigin : tdef tid tdefIndentBlock { $3->setName($2); $$ = $3; WRD_DI("tdefOrigin(%x) <-- def %s tdefIndentBlock(%x)", $$, $2, $3); } ; tdefStmt : tdefexpr teol { $$ = $1; WRD_DI("tdefStmt(%x) <-- tdefexpr(%x) \\n", $$, $1); } | teol { $$ = nullptr; WRD_DI("tdefStmt(null) <-- \\n"); } ; tdefBlock : tdefStmt { $$ = new sobj(); $$->add(*$1); WRD_DI("tdefBlock(%x) <-- tdefStmt(%x)", $$, $1); } | tdefBlock tdefStmt { $$ = $1; if ($2 != nullptr) $$->add(*$2); WRD_DI("tdefBlock(%x) <-- tdefBlock(%x) tdefStmt(%x)", $$, $1, $2); } ; tfile : tdefBlock { $$ = root = $1; wrd::id id = $1->getId(); WRD_DI("$1 = %x, %d.%d.%d", $1, id.tagN, id.chkN, id.serial); WRD_DI("tfile(%x) <-- tdefBlock(%x)", $$, $1); } | teol { $$ = root = new sobj(); WRD_DI("tfile(%x) <-- \\n", $$); } | tfile teol { $$ = $1; WRD_DI("tfile(%x) <-- \\n", $$); } | tfile teof { $$ = $1; WRD_DI("tfile(%x) <-- EndOfFile", $$); } ;
26.494444
85
0.378905
02ae90e3794e715790e1dccf57f9a68a550d3f33
532
yy
Yacc
handytools/views/b172feb8-f5a4-4cc9-a79d-594271fcfc62.yy
GameMakerDiscord/lib2-handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
28
2019-03-27T14:44:52.000Z
2022-03-25T21:27:19.000Z
handytools/views/b172feb8-f5a4-4cc9-a79d-594271fcfc62.yy
JujuAdams/handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
2
2017-12-27T13:41:34.000Z
2018-01-18T14:25:53.000Z
handytools/views/b172feb8-f5a4-4cc9-a79d-594271fcfc62.yy
JujuAdams/handytools
d53d70a697b04dc027cbb183fea35b9dce91a617
[ "MIT" ]
4
2017-12-27T12:49:49.000Z
2018-09-01T12:58:09.000Z
{ "id": "b172feb8-f5a4-4cc9-a79d-594271fcfc62", "modelName": "GMFolder", "mvc": "1.1", "name": "b172feb8-f5a4-4cc9-a79d-594271fcfc62", "children": [ "dde261cb-c176-4c51-9206-7fa1c6612894", "daad1e1f-3904-40e9-93ed-9e276793a3da", "57dea10c-abe9-46fd-a176-30f247cde8e7", "7f759bcc-a886-4c8d-b662-0c023291fbcd", "89d7c047-6b7e-42a6-8e79-4d566049effe" ], "filterType": "GMScript", "folderName": "master", "isDefaultView": false, "localisedFolderName": "" }
31.294118
51
0.62218
5dd8ad22e2e9fe70d093e268ec0c3307bc008ff5
1,821
yy
Yacc
views/170f3dea-d48b-4de6-a63b-d1d3d15a7c85.yy
Raton-Laveur/ce-tween
fdcb0f64f6c49fa70126a96f8bf99344e707b1c1
[ "MIT" ]
null
null
null
views/170f3dea-d48b-4de6-a63b-d1d3d15a7c85.yy
Raton-Laveur/ce-tween
fdcb0f64f6c49fa70126a96f8bf99344e707b1c1
[ "MIT" ]
null
null
null
views/170f3dea-d48b-4de6-a63b-d1d3d15a7c85.yy
Raton-Laveur/ce-tween
fdcb0f64f6c49fa70126a96f8bf99344e707b1c1
[ "MIT" ]
null
null
null
{ "id": "170f3dea-d48b-4de6-a63b-d1d3d15a7c85", "modelName": "GMFolder", "mvc": "1.1", "name": "170f3dea-d48b-4de6-a63b-d1d3d15a7c85", "children": [ "53ff7a04-3d7c-4822-b04e-dd35852e2b87", "66455d93-818b-4cd3-88c5-53a28eb1e98b", "4f038900-e4a2-4add-a55f-c9014b7d6213", "32dab84b-5a52-4d9d-bc64-ac90a65846b5", "f8118d63-8fd5-46b9-9e6c-c2e2834d7138", "7a7b40d0-e018-4c19-b9ff-c0caed42a262", "db066d0f-7758-4da9-93bd-5abfd801d773", "8a982b20-eee2-4df0-b776-a9c6394ac014", "70e30dc3-9160-43e6-9578-ca8e632f50a2", "2e920414-357c-450a-9190-e7b9050c6de6", "7f207642-129e-4178-ac81-3f772a12f244", "b7b5b1fa-f101-41ef-b95e-d1fbade9bf0b", "62e0a095-d22b-4a1c-8f85-a73be04b64b7", "f66180b8-6498-44bd-a036-9f90aa31424d", "1104a8f5-4a28-4d0f-a353-92e19007c434", "0a1771dd-e0a9-4327-8aad-be24e4d95a79", "5c9e198d-39c9-4540-bebe-0142bd3534f2", "75b0f3ff-2771-4930-9654-8b719c9fa86f", "89196787-e214-4746-b79b-dec3e37edbc3", "9fff0583-874e-428a-9076-3d27a95aac11", "e412a440-2433-4faa-9fcd-f52704d8ff86", "5f64f6ee-745f-46c8-9a3f-5e2dd6f3803e", "f86eebcb-098f-4171-ae6f-ee57fc1abe0f", "57003ba7-ea59-4435-aaca-c00951099046", "c269d3fe-9997-46f1-82f8-44ef30b66ad1", "81e1d4fa-b2ba-4610-9297-8fd45c6aff4f", "392a8928-61ee-4b18-af50-998e2b94a062", "3a544ffa-ecf5-4b3c-a91e-4c58b6f83094", "9f22117c-433d-46b8-a19f-2dc830830200", "b7aad98d-479f-4b39-a2ff-cea9a64a00af", "902791ff-4b38-4809-8346-363142b9d633" ], "filterType": "GMScript", "folderName": "Tween", "isDefaultView": false, "localisedFolderName": "" }
42.348837
52
0.638111
70fea807e778f9487ceebff148a307db17310afb
1,008
yy
Yacc
src/for GMS 2.0 (Imported)/views/c49c85c7-0a84-47cb-9cc9-cb73cf5785e6.yy
aft/cbDataGUI-GML-Library
9a015c4b44212e8a857294e2e914e1e24e69ff83
[ "MIT" ]
6
2017-11-05T19:28:55.000Z
2021-12-14T19:50:28.000Z
src/for GMS 2.0 (Imported)/views/c49c85c7-0a84-47cb-9cc9-cb73cf5785e6.yy
aft/cbDataGUI-GML-Library
9a015c4b44212e8a857294e2e914e1e24e69ff83
[ "MIT" ]
12
2017-08-07T00:30:01.000Z
2020-12-23T07:05:05.000Z
src/for GMS 2.0 (Imported)/views/c49c85c7-0a84-47cb-9cc9-cb73cf5785e6.yy
aft/cbDataGUI-GML-Library
9a015c4b44212e8a857294e2e914e1e24e69ff83
[ "MIT" ]
null
null
null
{ "id": "c49c85c7-0a84-47cb-9cc9-cb73cf5785e6", "modelName": "GMFolder", "mvc": "1.1", "name": "c49c85c7-0a84-47cb-9cc9-cb73cf5785e6", "children": [ "a2998238-ba83-447a-9c14-eed23e5d93d7", "c06ce11d-e05d-462b-851e-ad40ea844a57", "af5d1d65-f24b-4f08-bba8-4355343a41cc", "4725dfc4-b4d3-4eea-812b-908e4e15af47", "15873dcb-1a3d-47aa-a555-ec859e7bed56", "15c3aca4-d65b-432c-966a-a1ce8be84e35", "5337aefc-bbf0-4f42-a798-71fd1428c51c", "872acd5e-3cfc-496d-a44d-ea1b743da728", "f971e7f3-9eeb-49b3-869b-00667d1eec94", "1549ffdb-ffd7-4135-84fa-5dcda41a9afd", "87bc4027-225d-4ad9-9f89-f1c5fae42a17", "97d9df2a-1b63-4695-a5b9-db81b38521f6", "be2e9d5c-0c9f-4a52-ab50-10cb3a9fb1c8", "c94f9ea4-8f13-462d-8548-794b13729bdf", "af396ea6-ccb1-49ba-aaa0-975353f02c08" ], "filterType": "root", "folderName": "Default", "isDefaultView": true, "localisedFolderName": "" }
37.333333
51
0.641865
be1048cfba97bff6dcdfd5001546e178c599c6dc
6,515
yy
Yacc
sprites/s_minotaur_attack2/s_minotaur_attack2.yy
xixi743/SeniorComps
b4d80ed46b598c05d64b012cf47a9429379e7548
[ "MIT" ]
null
null
null
sprites/s_minotaur_attack2/s_minotaur_attack2.yy
xixi743/SeniorComps
b4d80ed46b598c05d64b012cf47a9429379e7548
[ "MIT" ]
null
null
null
sprites/s_minotaur_attack2/s_minotaur_attack2.yy
xixi743/SeniorComps
b4d80ed46b598c05d64b012cf47a9429379e7548
[ "MIT" ]
null
null
null
{ "id": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "modelName": "GMSprite", "mvc": "1.12", "name": "s_minotaur_attack2", "For3D": false, "HTile": false, "VTile": false, "bbox_bottom": 63, "bbox_left": 28, "bbox_right": 90, "bbox_top": 22, "bboxmode": 0, "colkind": 1, "coltolerance": 0, "edgeFiltering": false, "frames": [ { "id": "546b2e3c-a1ba-4036-bcc3-5d99f99ecb18", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "compositeImage": { "id": "529d5008-863d-4a9a-9594-24163179a15f", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "546b2e3c-a1ba-4036-bcc3-5d99f99ecb18", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "4b10e413-21e1-4b82-ab29-4d7fa5143ed3", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "546b2e3c-a1ba-4036-bcc3-5d99f99ecb18", "LayerId": "3394ece3-0b7b-491a-ad58-22576b9a4be5" } ] }, { "id": "b5f1d24c-ad7f-4d44-9293-ca2df3f3179c", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "compositeImage": { "id": "b4abf37f-42a7-471a-9664-60ff36dbaf6e", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b5f1d24c-ad7f-4d44-9293-ca2df3f3179c", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "d79fa60f-d4c8-47a6-9253-4a9e73874318", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b5f1d24c-ad7f-4d44-9293-ca2df3f3179c", "LayerId": "3394ece3-0b7b-491a-ad58-22576b9a4be5" } ] }, { "id": "494830a2-8e0b-44a7-bbcd-89d8b69ab240", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "compositeImage": { "id": "a6771d0d-4f2f-4ef9-a94e-0edcb917e791", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "494830a2-8e0b-44a7-bbcd-89d8b69ab240", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "6c8f4eff-dffb-4d39-bc49-86f1605463dc", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "494830a2-8e0b-44a7-bbcd-89d8b69ab240", "LayerId": "3394ece3-0b7b-491a-ad58-22576b9a4be5" } ] }, { "id": "4bf10c7e-bba9-4c05-b7e5-751e670ddfc7", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "compositeImage": { "id": "dc59a447-452a-4a71-89d8-8965062ac9b4", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "4bf10c7e-bba9-4c05-b7e5-751e670ddfc7", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "735117ca-ff6b-4445-9bd9-1ab3f924a5fd", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "4bf10c7e-bba9-4c05-b7e5-751e670ddfc7", "LayerId": "3394ece3-0b7b-491a-ad58-22576b9a4be5" } ] }, { "id": "f75446f7-d4e1-4c96-9428-00f7c5922361", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "compositeImage": { "id": "539b4979-b6fc-4779-8aca-56093aeedd5a", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "f75446f7-d4e1-4c96-9428-00f7c5922361", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "4651b39a-579a-49f1-868e-0915ec0de529", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "f75446f7-d4e1-4c96-9428-00f7c5922361", "LayerId": "3394ece3-0b7b-491a-ad58-22576b9a4be5" } ] }, { "id": "b3a74cea-f6ad-4aae-8973-b2a3a00badb1", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "compositeImage": { "id": "43ddbdb1-ffdd-431c-a9c5-92bbbfd370c3", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b3a74cea-f6ad-4aae-8973-b2a3a00badb1", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "23c2dcff-b40a-4bce-b09f-a883072673aa", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b3a74cea-f6ad-4aae-8973-b2a3a00badb1", "LayerId": "3394ece3-0b7b-491a-ad58-22576b9a4be5" } ] } ], "gridX": 0, "gridY": 0, "height": 64, "layers": [ { "id": "3394ece3-0b7b-491a-ad58-22576b9a4be5", "modelName": "GMImageLayer", "mvc": "1.0", "SpriteId": "d5dc06ab-86cf-4a43-8c69-c704a7b83e18", "blendMode": 0, "isLocked": false, "name": "default", "opacity": 100, "visible": true } ], "origin": 7, "originLocked": false, "playbackSpeed": 15, "playbackSpeedType": 0, "premultiplyAlpha": false, "sepmasks": false, "swatchColours": null, "swfPrecision": 2.525, "textureGroupId": "1225f6b0-ac20-43bd-a82e-be73fa0b6f4f", "type": 0, "width": 96, "xorig": 48, "yorig": 63 }
36.194444
70
0.457406
f339c7ad97878519c3483e2aef943d3414b44516
169
yy
Yacc
Hexagon-Grid-Library/scripts/wrap/wrap.yy
BjoerklundJacob/GML-Hexagon-grid-library
916f8a0307eaa07267ae7973673c262d18571388
[ "MIT" ]
null
null
null
Hexagon-Grid-Library/scripts/wrap/wrap.yy
BjoerklundJacob/GML-Hexagon-grid-library
916f8a0307eaa07267ae7973673c262d18571388
[ "MIT" ]
null
null
null
Hexagon-Grid-Library/scripts/wrap/wrap.yy
BjoerklundJacob/GML-Hexagon-grid-library
916f8a0307eaa07267ae7973673c262d18571388
[ "MIT" ]
null
null
null
{ "id": "72be145c-24a7-45ad-a7d7-23895a1cee51", "modelName": "GMScript", "mvc": "1.0", "name": "wrap", "IsCompatibility": false, "IsDnD": false }
21.125
49
0.556213
6fd59d79f122049372400330f0155c7dc0b6ed44
8,558
yy
Yacc
src/rt/nesl/vcode/grammar.yy
abu-bakar-nu/nautilus
9c5046d714e2ff2a00f757ba42dc887024365be6
[ "MIT" ]
28
2018-10-12T17:44:54.000Z
2022-01-27T19:30:56.000Z
src/rt/nesl/vcode/grammar.yy
abu-bakar-nu/nautilus
9c5046d714e2ff2a00f757ba42dc887024365be6
[ "MIT" ]
31
2018-12-08T19:39:32.000Z
2021-01-19T18:37:57.000Z
src/rt/nesl/vcode/grammar.yy
abu-bakar-nu/nautilus
9c5046d714e2ff2a00f757ba42dc887024365be6
[ "MIT" ]
26
2018-08-04T03:58:13.000Z
2022-03-02T18:53:09.000Z
%{ /* * Copyright (c) 1992, 1993, 1994 Carnegie Mellon University */ /* * grammar.yy: Yacc source file for analyzing vcode source */ #include <stdio.h> #include <string.h> #include "config.h" #include "vcode.h" #include "parse.h" #ifndef _GRAMMAR #define _GRAMMAR 1 #endif /* _GRAMMAR */ int parse_error = 0; int main_defined = 0; int first_function = 1; char main_fn[FN_NAME_MAX]; const_union constant; void yyerror(s) char *s; { fprintf(stderr, "line %d: %s: \"%s\"\n", yylineno, s, yytext); } %} %start program %union { int ival; double dval; char *cval; char *id; int vop; } /* Elementwise operations */ %token <vop> PLUS MINUS TIMES DIV MOD %token <vop> LT LEQ GT GEQ EQ NEQ LSHIFT RSHIFT %token <vop> NOT AND OR XOR %token <vop> SELECT RAND %token <vop> FLOOR CEIL TRUNC ROUND %token <vop> LOG SQRT EXP %token <vop> SIN COS TAN ASIN ACOS ATAN SINH COSH TANH %token <vop> I_TO_F I_TO_B B_TO_I /* Vector operations */ %token <vop> PLUS_SCAN MULT_SCAN MAX_SCAN MIN_SCAN AND_SCAN OR_SCAN XOR_SCAN %token <vop> PLUS_REDUCE MULT_REDUCE MAX_REDUCE MIN_REDUCE %token <vop> AND_REDUCE OR_REDUCE XOR_REDUCE %token <vop> PERMUTE DPERMUTE FPERMUTE BPERMUTE BFPERMUTE DFPERMUTE %token <vop> EXTRACT REPLACE DIST INDEX %token <vop> RANK_UP RANK_DOWN PACK /* Segment descriptor operations */ %token <vop> LENGTH MAKE_SEGDES LENGTHS /* Control operations */ %token <vop> COPY POP CPOP PAIR UNPAIR CALL RET FUNC IF ELSE ENDIF %token <vop> CONST %token <vop> EXIT /* timing ops */ %token <vop> START_TIMER STOP_TIMER /* I/O operations */ %token <vop> READ WRITE FOPEN FCLOSE FREAD FREAD_CHAR FWRITE SPAWN /* Seed random number generator */ %token <vop> SRAND /* Types */ %token <vop> INT BOOL FLOAT SEGDES CHAR /* Constants */ %token <ival> V_TRUE V_FALSE %token <ival> NULL_STREAM STDIN STDOUT STDERR /* Main */ %token <vop> MAIN /* Miscellaneous */ %token <vop> BEGIN_VECTOR END_VECTOR %token <ival> INTEGER %token <dval> REAL %token <cval> STRING %token <id> IDENTIFIER %token <vop> INPUT_INFO OUTPUT_INFO %type <vop> types_1 types_2 types_3 types_5 type_const %type <ival> int_con bool_con file_con int_val bool_val %type <dval> float_val %% /* beginning of rules section */ program : fn_def | program fn_def ; fn_def : fn_decl stmts fn_end ; fn_decl : fn_name fn_types ; fn_name : FUNC IDENTIFIER { if (first_function) {/* first function */ strcpy(main_fn, $2); first_function = 0; } parse_label($2); } | FUNC MAIN { if (main_defined) { fprintf(stderr, "attempt to redefine main\n"); parse_error = 1; } else { strcpy(main_fn, "MAIN"); main_defined = 1; first_function = 0; } parse_label("MAIN"); } ; fn_types : /* empty */ | INPUT_INFO type_decls OUTPUT_INFO type_decls ; type_decls : /* empty */ | type_decls type_decl ; type_decl : types_5 ; fn_end : RET {parse_return();} ; stmts : /* empty */ | stmts stmt ; stmt : elt_op | vec_op | seg_op | ctl_op | io_op ; elt_op : PLUS types_1 {parse_stmt($1, type($2));} | MINUS types_1 {parse_stmt($1, type($2));} | TIMES types_1 {parse_stmt($1, type($2));} | DIV types_1 {parse_stmt($1, type($2));} | MOD {parse_stmt($1, Int);} | LT types_1 {parse_stmt($1, type($2));} | LEQ types_1 {parse_stmt($1, type($2));} | GT types_1 {parse_stmt($1, type($2));} | GEQ types_1 {parse_stmt($1, type($2));} | EQ types_1 {parse_stmt($1, type($2));} | NEQ types_1 {parse_stmt($1, type($2));} | LSHIFT {parse_stmt($1, Int);} | RSHIFT {parse_stmt($1, Int);} | NOT types_2 {parse_stmt($1, type($2));} | AND types_2 {parse_stmt($1, type($2));} | OR types_2 {parse_stmt($1, type($2));} | XOR types_2 {parse_stmt($1, type($2));} | SELECT types_3 {parse_stmt($1, type($2));} | RAND {parse_stmt($1, Int);} | FLOOR {parse_stmt($1, Float);} | CEIL {parse_stmt($1, Float);} | TRUNC {parse_stmt($1, Float);} | ROUND {parse_stmt($1, Float);} | LOG {parse_stmt($1, Float);} | SQRT {parse_stmt($1, Float);} | EXP {parse_stmt($1, Float);} | SIN {parse_stmt($1, Float);} | COS {parse_stmt($1, Float);} | TAN {parse_stmt($1, Float);} | ASIN {parse_stmt($1, Float);} | ACOS {parse_stmt($1, Float);} | ATAN {parse_stmt($1, Float);} | SINH {parse_stmt($1, Float);} | COSH {parse_stmt($1, Float);} | TANH {parse_stmt($1, Float);} | I_TO_F {parse_stmt($1, Int);} | I_TO_B {parse_stmt($1, Int);} | B_TO_I {parse_stmt($1, Bool);} ; vec_op : PLUS_SCAN types_1 {parse_stmt($1, type($2));} | MULT_SCAN types_1 {parse_stmt($1, type($2));} | MAX_SCAN types_1 {parse_stmt($1, type($2));} | MIN_SCAN types_1 {parse_stmt($1, type($2));} | AND_SCAN types_2 {parse_stmt($1, type($2));} | OR_SCAN types_2 {parse_stmt($1, type($2));} | XOR_SCAN types_2 {parse_stmt($1, type($2));} | PLUS_REDUCE types_1 {parse_stmt($1, type($2));} | MULT_REDUCE types_1 {parse_stmt($1, type($2));} | MAX_REDUCE types_1 {parse_stmt($1, type($2));} | MIN_REDUCE types_1 {parse_stmt($1, type($2));} | AND_REDUCE types_2 {parse_stmt($1, type($2));} | OR_REDUCE types_2 {parse_stmt($1, type($2));} | XOR_REDUCE types_2 {parse_stmt($1, type($2));} | PERMUTE types_3 {parse_stmt($1, type($2));} | DPERMUTE types_3 {parse_stmt($1, type($2));} | FPERMUTE types_3 {parse_stmt($1, type($2));} | BPERMUTE types_3 {parse_stmt($1, type($2));} | BFPERMUTE types_3 {parse_stmt($1, type($2));} | DFPERMUTE types_3 {parse_stmt($1, type($2));} | DIST types_3 {parse_stmt($1, type($2));} | INDEX {parse_stmt($1, Int);} | LENGTH types_3 {parse_stmt($1, type($2));} | EXTRACT types_3 {parse_stmt($1, type($2));} | REPLACE types_3 {parse_stmt($1, type($2));} | RANK_UP types_1 {parse_stmt($1, type($2));} | RANK_DOWN types_1 {parse_stmt($1, type($2));} | PACK types_3 {parse_stmt($1, type($2));} ; seg_op : MAKE_SEGDES {parse_stmt($1, Segdes);} | LENGTHS {parse_stmt($1, Int);} ; ctl_op : COPY int_con int_con {parse_stack($1, $2, $3);} | POP int_con int_con {parse_stack($1, $2, $3);} | CPOP int_con int_con {parse_stack($1, $2, $3);} | PAIR {parse_stmt($1, type(INT));} | UNPAIR {parse_stmt($1, type(INT));} | CALL IDENTIFIER {parse_call($2);} | CALL MAIN {parse_call("MAIN"); /* MAIN is a token, use string */} | IF {parse_if();} | ELSE {parse_else();} | ENDIF {parse_endif();} | EXIT {parse_stmt($1, type(INT));} | CONST INT INTEGER { constant.ival = $3; parse_const($1, type($2)); } | CONST INT file_con { constant.ival = $3; parse_const($1, type($2)); } | CONST FLOAT REAL { constant.dval = $3; parse_const($1, type($2)); } | CONST BOOL bool_con { constant.bval = $3; parse_const($1, type($2)); } | CONST SEGDES INTEGER { constant.ival = $3; parse_const($1, type($2)); } | CONST type_and_vector { } ; type_and_vector: type_const BEGIN_VECTOR vals END_VECTOR {parse_end_vec();} | CHAR STRING { parse_string($2, yyleng); } type_const : INT {parse_begin_vec(type($1));} | BOOL {parse_begin_vec(type($1));} | FLOAT {parse_begin_vec(type($1));} | SEGDES {parse_begin_vec(type($1));} ; vals : /* empty */ | vals val ; val : int_val | float_val | bool_val ; int_val : INTEGER { constant.ival = $$; parse_val_vec(Int); } ; float_val: REAL { constant.dval = $$; parse_val_vec(Float); } ; bool_val: bool_con { constant.bval = $$; parse_val_vec(Bool); } ; io_op : START_TIMER {parse_stmt($1, type(INT));} | STOP_TIMER {parse_stmt($1, type(INT));} | READ types_5 {parse_stmt($1, type($2));} | WRITE types_5 {parse_stmt($1, type($2));} | FOPEN {parse_stmt($1, type(INT));} | FCLOSE {parse_stmt($1, type(INT));} | FREAD types_5 {parse_stmt($1, type($2));} | FREAD_CHAR {parse_stmt($1, type(INT));} | FWRITE types_5 {parse_stmt($1, type($2));} | SPAWN {parse_stmt($1, type(INT));} | SRAND INT {parse_stmt($1, type(INT));} ; bool_con: V_TRUE {$$ = 1;} | V_FALSE {$$ = 0;} ; int_con : INTEGER {$$ = $1;} ; file_con: STDIN {$$ = STDIN_FD;} | STDOUT {$$ = STDOUT_FD;} | STDERR {$$ = STDERR_FD;} | NULL_STREAM {$$ = NULL_STREAM_FD;} ; types_1 : INT | FLOAT ; types_2 : INT | BOOL ; types_3 : INT | BOOL | FLOAT ; types_5 : INT | BOOL | FLOAT | SEGDES | CHAR ;
18.52381
76
0.611241
dcb9354b139a3da1b5984cf164f403096fdaafe8
181
yy
Yacc
SonicForGMS2/scripts/point_in_ellipse/point_in_ellipse.yy
michael-mj-john/sonicgms2
2862849241e032cba1084218d43a2391848f4513
[ "BSD-2-Clause" ]
9
2019-11-05T03:09:42.000Z
2020-08-27T20:49:36.000Z
SonicForGMS2/scripts/point_in_ellipse/point_in_ellipse.yy
michael-mj-john/sonicgms2
2862849241e032cba1084218d43a2391848f4513
[ "BSD-2-Clause" ]
9
2019-11-12T20:04:14.000Z
2020-12-01T19:16:13.000Z
SonicForGMS2/scripts/point_in_ellipse/point_in_ellipse.yy
michael-mj-john/sonicgms2
2862849241e032cba1084218d43a2391848f4513
[ "BSD-2-Clause" ]
4
2020-03-10T17:08:10.000Z
2020-11-15T17:44:50.000Z
{ "id": "a4a0f8dd-20c6-4886-8882-c7e32c843407", "modelName": "GMScript", "mvc": "1.0", "name": "point_in_ellipse", "IsCompatibility": false, "IsDnD": false }
22.625
49
0.585635
f590f050b70c21cf531219487e8406136cb4c2d8
5,146
yy
Yacc
third-party/webscalesqlclient/mysql-5.6/xtrabackup/test/kewpie/randgen/conf/dbt3/dbt3-ranges.yy
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
2
2018-03-07T08:31:29.000Z
2019-02-01T10:10:48.000Z
third-party/webscalesqlclient/mysql-5.6/xtrabackup/test/kewpie/randgen/conf/dbt3/dbt3-ranges.yy
hkirsman/hhvm_centos7_builds
2a1fd6de0d2d289c1575f43f10018f3bec23bb13
[ "PHP-3.01", "Zend-2.0" ]
1
2021-02-23T14:52:22.000Z
2021-02-23T14:52:22.000Z
randgen/conf/dbt3/dbt3-ranges.yy
isabella232/kewpie
47d67124fa755719eda3ca5a621a2abf0322d3f9
[ "Apache-2.0" ]
1
2020-11-13T10:17:28.000Z
2020-11-13T10:17:28.000Z
query: SELECT distinct select_item FROM lineitem index_hint WHERE where order_by | SELECT aggregate key_field ) FROM lineitem WHERE where ; order_by: | | ORDER BY key_field , l_orderkey , l_linenumber ; distinct: | | | | DISTINCT ; where: where_list and_or where_list | ( where_list ) and_or ( where_list ) ; where_list: ( where_item ) and_or ( where_list ) | ( where_item ) and_or ( where_item ) | where_item and_or where_list | where_item and_or where_item | where_item and_or where_item and_or where_item | where_item ; where_item: key_clause | key_clause or_and key_clause ; key_clause: linenumber_clause | shipdate_clause | partkey_clause | suppkey_clause | receiptdate_clause | orderkey_clause | quantity_clause | commitdate_clause ; aggregate: MIN( | MAX( | COUNT( | COUNT( ; and_or: AND | AND | AND | AND | OR ; or_and: OR | OR | OR | OR | AND ; comp_op: = | = | = | = | = | = | != | > | >= | < | <= | <> ; not: | | | | | | | | | NOT ; shipdate_clause: l_shipdate comp_op any_date | l_shipdate not IN ( date_list ) | l_shipdate date_between ; date_list: date_item , date_item | date_list , date_item ; date_item: any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | any_date | '1992-01-08' | '1998-11-27' ; date_between: BETWEEN date_item AND date_item | between_two_dates_in_a_year | between_two_dates_in_a_month | within_a_month ; day_month_year: DAY | MONTH | YEAR ; any_date: { sprintf("'%04d-%02d-%02d'", $prng->uint16(1992,1998), $prng->uint16(1,12), $prng->uint16(1,28)) } ; between_two_dates_in_a_year: { my $year = $prng->uint16(1992,1998); return sprintf("BETWEEN '%04d-%02d-%02d' AND '%04d-%02d-%02d'", $year, $prng->uint16(1,12), $prng->uint16(1,28), $year, $prng->uint16(1,12), $prng->uint16(1,28)) } ; between_two_dates_in_a_month: { my $year = $prng->uint16(1992,1998); my $month = $prng->uint16(1,12); return sprintf("BETWEEN '%04d-%02d-%02d' AND '%04d-%02d-%02d'", $year, $month, $prng->uint16(1,28), $year, $month, $prng->uint16(1,28)) } ; within_a_month: { my $year = $prng->uint16(1992,1998); my $month = $prng->uint16(1,12); return sprintf("BETWEEN '%04d-%02d-01' AND '%04d-%02d-29'", $year, $month, $year, $month) } ; # LINENUMBER linenumber_clause: l_linenumber comp_op linenumber_item | l_linenumber not IN ( linenumber_list ) | l_linenumber BETWEEN linenumber_item AND linenumber_item + linenumber_range ; linenumber_list: linenumber_item , linenumber_item | linenumber_item , linenumber_list ; linenumber_item: _digit; linenumber_range: _digit ; # PARTKEY partkey_clause: l_partkey comp_op partkey_item | l_partkey not IN ( partkey_list ) | l_partkey BETWEEN partkey_item AND partkey_item + partkey_range ; partkey_list: partkey_item , partkey_item | partkey_item , partkey_list ; partkey_range: _digit | _tinyint_unsigned; partkey_item: _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _tinyint_unsigned | _digit | 200 | 0 ; # SUPPKEY suppkey_clause: l_suppkey comp_op suppkey_item | l_suppkey not IN ( suppkey_list ) | l_suppkey BETWEEN suppkey_item AND suppkey_item + _digit ; suppkey_item: _digit | 10 ; suppkey_list: suppkey_item , suppkey_item | suppkey_item , suppkey_list ; # RECEPITDATE receiptdate_clause: l_receiptDATE comp_op any_date | l_receiptDATE not IN ( date_list ) | l_receiptDATE date_between ; # COMMITDATE commitdate_clause: l_commitDATE comp_op any_date | l_commitDATE not IN ( date_list ) | l_commitDATE date_between ; # ORDERKEY orderkey_clause: l_orderkey comp_op orderkey_item | l_orderkey not IN ( orderkey_list ) | l_orderkey BETWEEN orderkey_item AND orderkey_item + orderkey_range ; orderkey_item: _tinyint_unsigned | { $prng->uint16(1,1500) } ; orderkey_list: orderkey_item , orderkey_item | orderkey_item , orderkey_list ; orderkey_range: _digit | _tinyint_unsigned ; # QUANTITY quantity_clause: l_quantity comp_op quantity_item | l_quantity not IN ( quantity_list ) | l_quantity BETWEEN quantity_item AND quantity_item + quantity_range ; quantity_list: quantity_item , quantity_item | quantity_item , quantity_list ; quantity_item: _digit | { $prng->uint16(1,50) } ; quantity_range: _digit ; index_hint: | FORCE KEY ( key_list ); key_list: key_name , key_name | key_name , key_list ; select_item: * | key_field ; key_field: l_linenumber | l_shipdate | l_partkey | l_suppkey | l_receiptdate | l_orderkey | l_quantity | l_commitDATE ; key_name: PRIMARY | i_l_shipdate | i_l_suppkey_partkey | i_l_partkey | i_l_suppkey | i_l_receiptdate | i_l_orderkey | i_l_orderkey_quantity | i_l_commitdate ;
23.390909
212
0.726972
f5bac40538785bf7f79b3a1dde9d8300c8b70f70
16,249
y
Yacc
newbie++.y
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
newbie++.y
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
newbie++.y
zyd2001/NewBie
6d197d0b4b69b6f4f875c2e0fc0b2c2c506603f4
[ "MIT" ]
null
null
null
%skeleton "lalr1.cc" %require "3.0.4" %defines "Parser.hpp" %output "ParserT.cpp" %define parser_class_name {Parser} %code requires { #include "NewBie_Lang.hpp" #include "NewBie.hpp" #define makeS(type, ...) std::make_shared<type>(yyget_lineno(scanner), __VA_ARGS__) #define makeE(type, ...) std::make_shared<type>(__VA_ARGS__) } %code { using namespace std; using namespace zyd2001::NewBie; IfStatement *current_if; Parser::symbol_type yylex(InterpreterImp *inter, yyscan_t yyscanner); } %no-lines %define api.namespace {zyd2001::NewBie} %define api.value.type variant %define api.token.constructor %define api.token.prefix {TOKEN_} %define parse.trace %define parse.error verbose %param {InterpreterImp *inter} %param {yyscan_t scanner} %locations %initial-action { @$.initialize(inter->filename); } %left LOGICAL_AND LOGICAL_OR %left BIT_AND BIT_OR BIT_XOR %left EQ NE GT GE LT LE %left BIT_LEFT BIT_RIGHT %left ADD SUB %left MUL DIV MOD %nonassoc UMINUS %token<Expression> INT_LITERAL STRING_LITERAL DOUBLE_LITERAL BOOL_LITERAL %token<Identifier> IDENTIFIER %token END 0 "end of file" GLOBAL FINAL CLASS REF CONST EDITABLE RETURN BREAK CONTINUE INT DOUBLE BOOL STRING ARRAY VAR IF ELSE ELSEIF FOR WHILE IN LP RP LC RC LB RB SEMICOLON COMMA ASSIGN EXCLAMATION DOT NEW PUBLIC PROTECTED PRIVATE BASE THIS ADD_ASSIGN SUB_ASSIGN MUL_ASSIGN DIV_ASSIGN MOD_ASSIGN BIT_LEFT_ASSIGN BIT_RIGHT_ASSIGN BIT_AND_ASSIGN BIT_OR_ASSIGN BIT_XOR_ASSIGN INCREMENT DECREMENT REVERSE %type<Expression> expression function_call_expression primary_expression expression_optional binary_expression unary_expression array_expression index_expression dot_expression dot_pre_expression %type<Statement> statement block statement_optional class_definition declaration_statement assignment_statement %type<StatementList> statement_list %type<ParameterList> parameter_list %type<ExpressionList> expression_list argument_list %type<IdentifierList> identifier_list %type<ObjectType> type_tag %type<Parameter> parameter %type<DeclarationStatementItem> declaration_item %type<DeclarationStatementItemList> declaration_item_list %% eof: statement_list END { inter.statement_list.swap($1); } ; statement_list: statement { $$.list.emplace_back($1); } | statement_list statement { $1.list.emplace_back($2); $$.swap($1); } ; statement: expression SEMICOLON { $$ = makeS(ExpressionStatement, $1); } | IF LP expression RP statement { current_if = makeS(IfStatement, $3, $5); $$ = current_if; } | ELSE statement { current_if->else_stat = $2; $$ = Statement(); } | ELSEIF LP expression RP statement { ElseIf e = {$3, $5}; current_if->elseif.emplace_back(e); $$ = Statement(); } | FOR LP statement_optional SEMICOLON expression_optional SEMICOLON statement_optional RP statement { $$ = makeS(ForStatement, $3, $5, $7, $9); } | WHILE LP statement_optional RP statement { $$ = makeS(WhileStatement, $3, $5); } | RETURN expression SEMICOLON { $$ = makeS(ExpressionStatement, $2); } | CONTINUE SEMICOLON { $$ = makeS(ContinueStatement); } | BREAK SEMICOLON { $$ = makeS(BreakStatement); } | IDENTIFIER LP parameter_list RP block { if ($1 != inter.current_class->type_name) throw exception(); else inter.current_class->ctor.overload_map[$3] = {$5}; } | IDENTIFIER LP parameter_list RP SEMICOLON ctor_args_list RP block { if ($1 != inter.current_class->type_name) throw exception(); else { ctor c; c.stat = $8; for (auto &i : $6) c.overload_map[i.type] = i.args; inter.current_class->ctor.overload_map[$3] = c; } } | IDENTIFIER LP parameter_list RP SEMICOLON THIS LP parameter_list RP block { if ($1 != inter.current_class->type_name) throw exception(); else inter.current_class->ctor.overload_map[$3] = {$10, {0, $8}}; } | type_tag IDENTIFIER LP parameter_list RP block { VariableMap *vmap; if (inter.in_class) vmap = &inter.current_class->static_variables; else vmap = &inter.global_variables; auto result = (*vmap).find($2); if (result != (*vmap).cend()) { auto &func = result->second.get<Function>(); if (func->can_overload) { auto exist = func->overload_map.find($4); if (exist == func->overload_map.cend()) { for (auto &i : $4) { if (i.type == VARIANT_TYPE || i.default_value_exp.type != NULL_EXPRESSION) { inter.err(); break; } } func->overload_map[$4] = $6; } else inter.err(); } else inter.err(); $$ = Statement(); } else { auto ptr = new Function(make_shared<function_t>()); auto &func = *ptr; func->return_type = $1; func->can_overload = true; Value function(FUNCTION_TYPE, ptr); (*vmap)[$2] = function; func->overload_map[$4] = $6; for (auto &i : $4) { if (i.type == VARIANT_TYPE || i.default_value_exp.type != NULL_EXPRESSION) { func->can_overload = false; break; } } $$ = Statement(FUNCTION_DEFINITION_STATEMENT, new VariableMap::value_type($2, function), yyget_lineno(scanner)); } } | block { $$ = $1; } | declaration_statement { $$ = $1; } | assignment_statement { $$ = $1; } | visibility COLON { $$ = makeS(AccessControlStatement($1)); } | class_definition ; assignment_statement: legal_lvalue_expression ASSIGN expression SEMICOLON { $$ = makeS(AssignmentStatement, $1, $3); } ; legal_lvalue_expression: dot_expression { $$ = $1; } | function_call_expression { $$ = $1; } | IDENTIFIER { $$ = makeE(IdentifierExpression, $1); } ; declaration_statement: type_tag declaration_item_list SEMICOLON { $$ = makeS(BuiltInDeclarationStatement, false, $1, std::move($2)); } | GLOBAL type_tag declaration_item_list SEMICOLON { $$ = makeS(BuiltInDeclarationStatement, true, $2, std::move($3)); } | IDENTIFIER declaration_item_list SEMICOLON { $$ = makeS(DeclarationStatement, false, $1, std::move($2)); } | GLOBAL IDENTIFIER declaration_item_list SEMICOLON { $$ = makeS(DeclarationStatement, true, $2, std::move($3)); } ; declaration_item: IDENTIFIER { $$ = {$1}; } | IDENTIFIER ASSIGN expression { $$ = {$1, $3}; } ; declaration_item_list: declaration_item { $$.emplace_back(std::move($1)); } | declaration_item_list COMMA declaration_item { $1.emplace_back(std::move($3)); $$.swap($1); } ; ctor_args: IDENTIFIER LP argument_list RP { $$ = {inter.findClassId($1), $3}; } ; ctor_args_list: ctor_args { } | ctor_args_list COMMA ctor_args { } ; identifier_list: IDENTIFIER { $$.emplace_back($1); } | identifier_list COMMA IDENTIFIER { $1.emplace_back($3); $$.swap($1); } ; class_definition: CLASS IDENTIFIER LC statement_list RC { inter.resolveClass($4); } | CLASS IDENTIFIER SEMICOLON identifier_list LC statement_list RC { inter.resolveClass($6, $4); } ; expression: binary_expression { $$ = $1; } | unary_expression { $$ = $1; } | primary_expression { $$ = $1; } | function_call_expression { $$ = $1; } | IDENTIFIER { $$ = makeE(IdentifierExpression, $1); } | LP expression RP { $$ = $2; } | array_expression { $$ = $1; } | index_expression { $$ = $1; } | dot_expression { $$ = $1; } | NEW IDENTIFIER LP argument_list RP { $$ = makeE(NewObjectExpression, $2, $4); } | LP expression RP expression { $$; } | THIS { $$ = makeE(ThisExpression); } ; index_expression: IDENTIFIER LB expression RB { $$ = Expression(INDEX_EXPRESSION, new (IndexExpression){Expression(IDENTIFIER_EXPRESSION, new IdentifierExpression($1)), $3}); } | array_expression LB expression RB { $$ = Expression(INDEX_EXPRESSION, new (IndexExpression){$1, $3}); } | function_call_expression LB expression RB { $$ = Expression(INDEX_EXPRESSION, new (IndexExpression){$1, $3}); } | index_expression LB expression RB { $$ = Expression(INDEX_EXPRESSION, new (IndexExpression){$1, $3}); } ; array_expression: LB expression_list RB { $$ = Expression(ARRAY_EXPRESSION, new ArrayExpression(std::move($2))); } ; dot_expression: expression DOT IDENTIFIER { $$ = makeE(DotExpression, $1, $3); } ; expression_optional: /* empty */ { $$ = Expression(); } | expression { $$ = $1; } ; statement_optional: /* empty */ { $$ = Statement(); } | expression { $$ = makeS(ExpressionStatement, $1); } | IDENTIFIER ASSIGN expression { $$ = makeS(AssignmentStatement, $1, $3); } | dot_expression ASSIGN expression { $$ = makeS(ObjectAssignmentStatement, $1, $3); } | declaration_statement { $$ = $1; } ; binary_expression: expression ADD expression { $$ = makeE(BinaryExpression, ADD, $1, $3); } | expression SUB expression { $$ = makeE(BinaryExpression, SUB, $1, $3); } | expression MUL expression { $$ = makeE(BinaryExpression, MUL, $1, $3); } | expression DIV expression { $$ = makeE(BinaryExpression, DIV, $1, $3); } | expression MOD expression { $$ = makeE(BinaryExpression, MOD, $1, $3); } | expression EQ expression { $$ = makeE(BinaryExpression, EQ, $1, $3); } | expression NE expression { $$ = makeE(BinaryExpression, NE, $1, $3); } | expression GT expression { $$ = makeE(BinaryExpression, GT, $1, $3); } | expression GE expression { $$ = makeE(BinaryExpression, GE, $1, $3); } | expression LT expression { $$ = makeE(BinaryExpression, LT, $1, $3); } | expression LE expression { $$ = makeE(BinaryExpression, LE, $1, $3); } | expression LOGICAL_AND expression { $$ = makeE(BinaryExpression, AND, $1, $3); } | expression LOGICAL_OR expression { $$ = makeE(BinaryExpression, OR, $1, $3); } | expression BIT_AND expression { $$ = makeE(BinaryExpression, BIT_AND, $1, $3); } | expression BIT_OR expression { $$ = makeE(BinaryExpression, BIT_OR, $1, $3); } | expression BIT_XOR expression { $$ = makeE(BinaryExpression, BIT_XOR, $1, $3); } | expression BIT_LEFT expression { $$ = makeE(BinaryExpression, BIT_LEFT, $1, $3); } | expression BIT_RIGHT expression { $$ = makeE(BinaryExpression, BIT_RIGHT, $1, $3); } ; unary_expression: SUB expression %prec UMINUS { $$ = makeE(UnaryExpression, MINUS, $2); } | ADD expression %prec UMINUS { $$ = makeE(UnaryExpression, PLUS, $2); } | REVERSE expression %prec UMINUS { $$ = makeE(UnaryExpression, BIT_NOT, $2); } | EXCLAMATION expression %prec UMINUS { $$ = makeE(UnaryExpression, NEGATION, $2); } ; function_call_expression: expression LP argument_list RP { $$ = makeE(FunctionCallExpression, $1, std::move($3)); } ; primary_expression: INT_LITERAL { $$ = $1; } | DOUBLE_LITERAL { $$ = $1; } | STRING_LITERAL { $$ = $1; } | BOOL_LITERAL { $$ = $1; } ; expression_list: expression { $$.emplace_back($1); } | expression_list COMMA expression { $1.emplace_back($3); $$.swap($1); } ; type_tag: VAR { $$ = 0; } | INT { $$ = 2; } | DOUBLE { $$ = 3; } | BOOL { $$ = 4; } | STRING { $$ = 5; } ; block: LC statement_list RC { $$ = makeS(BlockStatement, std::move($2)); } | LC RC { $$ = makeS(BlockStatement, StatementList()); } ; argument_list: /* empty */ { $$; } | expression { $$.emplace_back($1); } | argument_list COMMA expression { $1.emplace_back($3); $$.swap($1); } ; parameter: type_tag IDENTIFIER { $$ = {$1, $2}; } | type_tag IDENTIFIER ASSIGN primary_expression { $$ = {$1, $2, $4}; } ; parameter_list: /* empty */ { $$; } | parameter { $$.emplace_back(std::move($1)); } | parameter_list COMMA parameter { $1.emplace_back(std::move($3)); $$.swap($1); } ; %% void Parser::error(const location_type& l, const std::string& m) { std::cerr << "At file " << inter.filename << " " << l << " " << m << endl; }
26.813531
195
0.473814
1ea48549b394b6f6e400554a50e208209efa0c83
34,663
y
Yacc
spl.y
andywm/Simple-Compiler
05272e4ac8db06369a4c1cf42cefbd339c62e082
[ "MIT" ]
null
null
null
spl.y
andywm/Simple-Compiler
05272e4ac8db06369a4c1cf42cefbd339c62e082
[ "MIT" ]
null
null
null
spl.y
andywm/Simple-Compiler
05272e4ac8db06369a4c1cf42cefbd339c62e082
[ "MIT" ]
1
2021-01-31T07:29:00.000Z
2021-01-31T07:29:00.000Z
/// You're going to need to write a top level expression type evaluator... %{ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <setjmp.h> //nice to have... #define TRY do{ jmp_buf ex_buf__; if( !setjmp(ex_buf__) ){ #define CATCH } else { #define ETRY } }while(0) #define THROW longjmp(ex_buf__, 1) // For GCC - determine system arch. #if __GNUC__ #if __x86_64__ || __ppc64__ #define ARCH_64 #else #define ARCH_32 #endif #endif #ifdef ARCH_64 #define MEM_SIZE long #else #define MEM_SIZE int #endif /* Some constants. */ /* These constants are used later in the code */ #define SYMTABSIZE 50 #define IDLENGTH 15 #define NOTHING -1 #define INDENTOFFSET 2 enum ParseTreeNodeType { PROGRAM_NT, BLOCK_NT, DECLARATION_BLOCK_NT, IDENTIFIER_LIST_NT, IDENTIFIER_LIST_SINGLE_NT, STATEMENT_LIST_NT, STATEMENT_NT, ASSIGNMENT_STATEMENT_NT, IF_STATEMENT_NT, DO_STATEMENT_NT, WHILE_STATEMENT_NT, FOR_STATEMENT_NT, WRITE_STATEMENT_NT, READ_STATEMENT_NT, OUTPUT_LIST_NT, FOR_ITERATOR_NT, CONSTANT_NT, CONSTANTchl_NT, VALUE_ID_NT, VALUE_CL_NT ,VALUE_EX_NT, INTEGER_CONSTANT_NT, FLOAT_CONSTANT_NT, COMPARATORet_NT, COMPARATORnet_NT, COMPARATORltet_NT, COMPARATORgtet_NT, COMPARATORgt_NT, COMPARATORlt_NT, CONDITIONALand_NT, CONDITIONALor_NT, CONDITIONALnot_NT, EXPRESSIONadd_NT, EXPRESSIONminus_NT, EXPRESSION_NT, TERM_NT, TERMm_NT, TERMd_NT, CONDITIONAL_NT, CONDITIONAL_INNER_NT, TYPEchar_NT, TYPEint_NT , TYPEreal_NT }; #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif #ifndef NULL #define NULL 0 #endif /* ------------- parse tree definition --------------------------- */ struct treeNode { MEM_SIZE item; int nodeIdentifier; struct treeNode *first; struct treeNode *second; struct treeNode *third; }; typedef int bool; typedef struct treeNode TREE_NODE; typedef TREE_NODE *TERNARY_TREE; /* ------------- forward declarations --------------------------- */ TERNARY_TREE create_node(int,int,TERNARY_TREE,TERNARY_TREE,TERNARY_TREE); void destroy_nodes_from(TERNARY_TREE pt); void diagnosticsMode(TERNARY_TREE pt); void indentController(int direction, int * current); void generate_output(TERNARY_TREE ParseTree); void do_optimisations(TERNARY_TREE pt, TERNARY_TREE * feedback); int generateTypedTable(TERNARY_TREE pt, int thingof); void cast(TERNARY_TREE pt, TERNARY_TREE * from); void maketypelist(TERNARY_TREE pt); void PRINT_TREE(TERNARY_TREE pt); void CODE_TREE(TERNARY_TREE pt); void simplify(TERNARY_TREE pt, TERNARY_TREE * replacetree); /* ------------- symbol table definition --------------------------- */ struct symTabNode { char identifier[IDLENGTH]; }; typedef struct symTabNode SYMTABNODE; typedef SYMTABNODE *SYMTABNODEPTR; SYMTABNODEPTR symTab[SYMTABSIZE]; int currentSymTabSize = 0; %} /****************/ /* Start symbol */ /****************/ %start program /**********************/ /* Action value types */ /**********************/ %union { int iVal; TERNARY_TREE tVal; } /* We can declare types of tree nodes */ /* These are the types of lexical tokens -> iVal */ %token<iVal> IDENTIFIER NUMBER CHARLITERAL FLOAT /* Some tokens do not return a value */ %token ENDP DECLARATIONS CODE OF TYPE CHARACTER INTEGER REAL IF THEN ELSE ENDIF DO ENDDO WHILE ENDWHILE FOR IS BY TO ENDFOR WRITE READ NEWLINE AND OR %token NOT ET NET LT GT LTET GTET ADD MINUS DIVIDE MULTIPLY LCBRAC RCBRAC ASSIGN POINT COMMA SEMICOLON COLON /* Whereas Rules return a tVal type (Tree) */ %type<tVal> program block declaration_block identifier_list type statement_list statement assignment_statement if_statement do_statement while_statement %type<tVal> for_statement write_statement read_statement output_list conditional conditional_inner comparator expression term constant number_constant value %% /* ----------------------- grammar rules --------------------------- */ /*TERNARY_TREE create_node(int ival, int case_identifier, TERNARY_TREE p1, TERNARY_TREE p2, TERNARY_TREE p3)*/ program : IDENTIFIER COLON block ENDP IDENTIFIER POINT { TERNARY_TREE ParseTree; ParseTree = create_node($1, PROGRAM_NT, $3, NULL, NULL); if(ParseTree != NULL) { generateTypedTable(ParseTree,-1); generate_output(ParseTree); destroy_nodes_from(ParseTree); //cleanup //symbol table also needs a cleanup routine... } } ; block : DECLARATIONS declaration_block CODE statement_list { $$ = create_node(NOTHING, BLOCK_NT, $2, $4, NULL); } | CODE statement_list { $$ = create_node(NOTHING, BLOCK_NT, $2, NULL, NULL); } ; declaration_block : identifier_list OF TYPE type SEMICOLON { $$ = create_node(NOTHING, DECLARATION_BLOCK_NT, $1, $4, NULL); } | identifier_list OF TYPE type SEMICOLON declaration_block { $$ = create_node(NOTHING, DECLARATION_BLOCK_NT, $1, $4, $6); } ; identifier_list : IDENTIFIER { $$ = create_node($1, IDENTIFIER_LIST_SINGLE_NT, NULL, NULL, NULL); } | identifier_list COMMA IDENTIFIER { $$ = create_node($3, IDENTIFIER_LIST_NT, $1, NULL, NULL); } ; type : CHARACTER { $$ = create_node(NOTHING, TYPEchar_NT, NULL, NULL, NULL); } | INTEGER { $$ = create_node(NOTHING, TYPEint_NT, NULL, NULL, NULL); } | REAL { $$ = create_node(NOTHING, TYPEreal_NT, NULL, NULL, NULL); } ; statement_list : statement { $$ = create_node(NOTHING, STATEMENT_LIST_NT, $1, NULL, NULL); } | statement_list SEMICOLON statement { $$ = create_node(NOTHING, STATEMENT_LIST_NT, $1, $3, NULL); } ; statement : assignment_statement { $$ = create_node(NOTHING, STATEMENT_NT, $1, NULL, NULL); } | if_statement { $$ = create_node(NOTHING, STATEMENT_NT, $1, NULL, NULL); } | do_statement { $$ = create_node(NOTHING, STATEMENT_NT, $1, NULL, NULL); } | while_statement { $$ = create_node(NOTHING, STATEMENT_NT, $1, NULL, NULL); } | for_statement { $$ = create_node(NOTHING, STATEMENT_NT, $1, NULL, NULL); } | write_statement { $$ = create_node(NOTHING, STATEMENT_NT, $1, NULL, NULL); } | read_statement { $$ = create_node(NOTHING, STATEMENT_NT, $1, NULL, NULL); } ; assignment_statement : expression ASSIGN IDENTIFIER { $$ = create_node($3, ASSIGNMENT_STATEMENT_NT, $1, NULL, NULL); } ; if_statement : IF conditional THEN statement_list ELSE statement_list ENDIF { $$ = create_node(NOTHING, IF_STATEMENT_NT, $2, $4, $6); } | IF conditional THEN statement_list ENDIF { $$ = create_node(NOTHING, IF_STATEMENT_NT, $2, $4, NULL); } ; do_statement : DO statement_list WHILE conditional ENDDO { $$ = create_node(NOTHING, DO_STATEMENT_NT, $2, $4, NULL); } ; while_statement : WHILE conditional DO statement_list ENDWHILE { $$ = create_node(NOTHING, WHILE_STATEMENT_NT, $2, $4, NULL); } ; for_statement : FOR IDENTIFIER IS expression BY expression TO expression DO statement_list ENDFOR { $$ = create_node($2, FOR_STATEMENT_NT,(TERNARY_TREE)(create_node(NOTHING, FOR_ITERATOR_NT, $4, $6, $8)), $10, NULL); } ; write_statement : WRITE LCBRAC output_list RCBRAC { $$ = create_node(NOTHING, WRITE_STATEMENT_NT, $3, NULL, NULL); } | NEWLINE { $$ = create_node(NOTHING, WRITE_STATEMENT_NT, NULL, NULL, NULL); } ; read_statement : READ LCBRAC IDENTIFIER RCBRAC { $$ = create_node($3, READ_STATEMENT_NT, NULL, NULL, NULL); } ; output_list : value { $$ = create_node(NOTHING, OUTPUT_LIST_NT, $1, NULL, NULL); } | output_list COMMA value { $$ = create_node(NOTHING, OUTPUT_LIST_NT, $1, $3, NULL); } ; conditional : conditional_inner { $$ = create_node(NOTHING, CONDITIONAL_NT, $1, NULL, NULL); } | conditional_inner AND conditional { $$ = create_node(NOTHING, CONDITIONALand_NT, $1, $3, NULL); } | conditional_inner OR conditional { $$ = create_node(NOTHING, CONDITIONALor_NT, $1, $3, NULL); } | NOT conditional { $$ = create_node(NOTHING, CONDITIONALnot_NT, $2, NULL, NULL); } ; conditional_inner : expression comparator expression { $$ = create_node(NOTHING, CONDITIONAL_INNER_NT, $1, $2, $3); } ; comparator : ET { $$ = create_node(NOTHING, COMPARATORet_NT, NULL, NULL, NULL); } | NET { $$ = create_node(NOTHING, COMPARATORnet_NT, NULL, NULL, NULL); } | LT { $$ = create_node(NOTHING, COMPARATORlt_NT, NULL, NULL, NULL); } | GT { $$ = create_node(NOTHING, COMPARATORgt_NT, NULL, NULL, NULL); } | LTET { $$ = create_node(NOTHING, COMPARATORltet_NT, NULL, NULL, NULL); } | GTET { $$ = create_node(NOTHING, COMPARATORgtet_NT, NULL, NULL, NULL); } ; expression : term { $$ = create_node(NOTHING, EXPRESSION_NT, $1, NULL, NULL); } | expression ADD term { $$ = create_node(NOTHING, EXPRESSIONadd_NT, $1, $3, NULL); } | expression MINUS term { $$ = create_node(NOTHING, EXPRESSIONminus_NT, $1, $3, NULL); } ; term : value { $$ = create_node(NOTHING, TERM_NT, $1, NULL, NULL); } | term MULTIPLY value { $$ = create_node(NOTHING, TERMm_NT, $1, $3, NULL); } | term DIVIDE value { $$ = create_node(NOTHING, TERMd_NT, $1, $3, NULL); } ; value : IDENTIFIER { $$ = create_node($1, VALUE_ID_NT, NULL, NULL, NULL); } | constant { $$ = create_node(NOTHING, VALUE_CL_NT, $1, NULL, NULL); } | LCBRAC expression RCBRAC { $$ = create_node(NOTHING, VALUE_EX_NT, $2, NULL, NULL); } ; constant : number_constant { $$ = create_node(NOTHING, CONSTANT_NT, $1, NULL, NULL); } | CHARLITERAL { $$ = create_node($1, CONSTANTchl_NT, NULL, NULL, NULL); } ; number_constant : NUMBER { $$ = create_node($1, INTEGER_CONSTANT_NT, NULL, NULL, NULL); } | MINUS NUMBER { $$ = create_node((-$2), INTEGER_CONSTANT_NT, NULL, NULL, NULL); } | FLOAT { $$ = create_node($1, FLOAT_CONSTANT_NT, NULL, NULL, NULL); } | MINUS FLOAT { *((double*)((MEM_SIZE)$2)) = -*((double*)((MEM_SIZE)$2)); $$ = create_node($2, FLOAT_CONSTANT_NT, NULL, NULL, NULL); } ; %% int identityTable[50]; /* Code for routines for managing the Parse Tree */ TERNARY_TREE create_node(int ival, int case_identifier, TERNARY_TREE p1, TERNARY_TREE p2, TERNARY_TREE p3) { TERNARY_TREE t; t = (TERNARY_TREE)malloc(sizeof(TREE_NODE)); t->item = ival; t->nodeIdentifier = case_identifier; t->first = p1; t->second = p2; t->third = p3; return (t); } void indentController(int direction, int * current) { *current = *current + (direction * 5); } //for write look up table. char *ntypes[] = {"PROGRAM_NT", "BLOCK_NT", "DECLARATION_BLOCK_NT", "IDENTIFIER_LIST_NT", "IDENTIFIER_LIST_SINGLE_NT", "STATEMENT_LIST_NT", "STATEMENT_NT", "ASSIGNMENT_STATEMENT_NT", "IF_STATEMENT_NT", "DO_STATEMENT_NT", "WHILE_STATEMENT_NT", "FOR_STATEMENT_NT", "WRITE_STATEMENT_NT", "READ_STATEMENT_NT", "OUTPUT_LIST_NT", "FOR_ITERATOR_NT", "CONSTANT_NT", "CONSTANTchl_NT", "VALUE_ID_NT", "VALUE_CL_NT" ,"VALUE_EX_NT", "INTEGER_CONSTANT_NT", "FLOAT_CONSTANT_NT","COMPARATORet_NT", "COMPARATORnet_NT", "COMPARATORltet_NT", "COMPARATORgtet_NT", "COMPARATORgt_NT", "COMPARATORlt_NT", "CONDITIONALand_NT", "CONDITIONALor_NT", "CONDITIONALnot_NT", "EXPRESSIONadd_NT", "EXPRESSIONminus_NT", "EXPRESSION_NT", "TERM_NT", "TERMm_NT", "TERMd_NT", "CONDITIONAL_NT", "CONDITIONAL_INNER_NT", "TYPEchar_NT", "TYPEint_NT" , "TYPEreal_NT"}; void generate_output(TERNARY_TREE pt) { #ifndef DEBUG printf("#include<stdio.h>\n\n"); CODE_TREE(pt); #else diagnosticsMode(pt); #endif } void diagnosticsMode(TERNARY_TREE pt) { printf("\n/*\n--------------------diagnostics--------------------\n"); PRINT_TREE(pt); printf("\n--------------------end of diag--------------------\n*/\n"); } void PRINT_TREE(TERNARY_TREE pt) { static int indent =0; static bool indenton = TRUE; if(pt==NULL) return; printf("%*s",indent, " "); if(pt->nodeIdentifier == VALUE_ID_NT || pt->nodeIdentifier == CONSTANTchl_NT || pt->nodeIdentifier == IDENTIFIER_LIST_NT || pt->nodeIdentifier == IDENTIFIER_LIST_SINGLE_NT) { printf("%s has value: %s\n\n", ntypes[pt->nodeIdentifier], symTab[pt->item]->identifier); } else if(pt->nodeIdentifier == INTEGER_CONSTANT_NT) { printf("%s has value: %i\n\n", ntypes[pt->nodeIdentifier], pt->item); } else if(pt->nodeIdentifier == FLOAT_CONSTANT_NT) { printf("%s has value: %f\n\n", ntypes[pt->nodeIdentifier], *((double*)((MEM_SIZE)pt->item))); } else { printf("%s\n", ntypes[pt->nodeIdentifier]); } if(indenton) { if(pt->nodeIdentifier == PROGRAM_NT || pt->nodeIdentifier == BLOCK_NT || pt->nodeIdentifier == DECLARATION_BLOCK_NT || pt->nodeIdentifier == STATEMENT_NT || (pt->nodeIdentifier >=7 && pt->nodeIdentifier <=13)) { indentController(1, &indent); //incriment } } if(pt->nodeIdentifier != STATEMENT_LIST_NT && pt->nodeIdentifier != IDENTIFIER_LIST_NT) { PRINT_TREE(pt->first); PRINT_TREE(pt->second); PRINT_TREE(pt->third); } else { PRINT_TREE(pt->second); PRINT_TREE(pt->first); } if(indenton) { if(pt->nodeIdentifier == PROGRAM_NT || pt->nodeIdentifier == BLOCK_NT || pt->nodeIdentifier == DECLARATION_BLOCK_NT || pt->nodeIdentifier == STATEMENT_NT || (pt->nodeIdentifier >=7 && pt->nodeIdentifier <=13)) { indentController(-1, &indent); //decriment } } } const int stackmaxlimit = 100; MEM_SIZE stackdata[100]; int stackcounter=0; void typepop() { if(stackcounter>0) stackdata[stackcounter--]=(MEM_SIZE)NULL; } void typequeue() { if(stackcounter>1) { memmove(stackdata, stackdata+1, sizeof(MEM_SIZE) * (stackcounter-1)); stackcounter--; } } void typepush(MEM_SIZE newitem) { if(stackcounter<stackmaxlimit) stackdata[stackcounter++]=newitem; //printf("push!%i\n", stackcounter); } MEM_SIZE typetop() { if(stackcounter>0) return stackdata[stackcounter-1]; else return NULL; } MEM_SIZE typebottom() { if(stackcounter>0) return stackdata[0]; else return NULL; } void typeclearstack() { int i=0; for(i=0; i<stackcounter; i++) { stackdata[i]=(MEM_SIZE)NULL; } stackcounter=0; } int idtypes[50]; int ctype=-1; bool firstfor=TRUE; void CODE_TREE(TERNARY_TREE pt) { static char * carryOverId; static int outlistCount=0; static int lookAheadOnly=0; static int indent =0; if(pt==NULL) return; switch(pt->nodeIdentifier) { case PROGRAM_NT: printf("int main() /*Program %s*/\n{\n", symTab[pt->item]->identifier); CODE_TREE(pt->first); printf("}/*End of Program*/\n"); break; case BLOCK_NT: indentController(1, &indent); //incriment if(pt->second == NULL) { /*code only*/ printf("%*s/*CODE*/\n",indent, " "); CODE_TREE(pt->first); } else { printf("%*s/*DECLARCATION_BLOCK*/\n",indent, " "); CODE_TREE(pt->first); printf("%*s/*CODE_BLOCK*/\n",indent, " "); CODE_TREE(pt->second); } indentController(-1, &indent); //decriment break; case DECLARATION_BLOCK_NT: if(pt->first !=NULL) { printf("%*s", indent, " "); CODE_TREE(pt->second); printf(" "); CODE_TREE(pt->first); printf(";\n"); } ctype=-1; CODE_TREE(pt->third); //are there more? break; case IDENTIFIER_LIST_NT: CODE_TREE(pt->first); idtypes[pt->item] = ctype; printf("%s%s", ", ", symTab[pt->item]->identifier); break; case IDENTIFIER_LIST_SINGLE_NT: printf("%s",symTab[pt->item]->identifier); idtypes[pt->item] = ctype; break; case TYPEchar_NT: ctype = TYPEchar_NT; printf("char"); break; case TYPEint_NT: ctype = TYPEint_NT; printf("int"); break; case TYPEreal_NT: ctype = TYPEreal_NT; printf("float"); break; case STATEMENT_LIST_NT: CODE_TREE(pt->first); //statement list CODE_TREE(pt->second); //statement break; case STATEMENT_NT: //indentController(1, &indent); //incriment printf("%*s", indent, " "); CODE_TREE(pt->first); //indentController(-1, &indent); //decriment printf("\n"); break; case ASSIGNMENT_STATEMENT_NT: printf("%s",symTab[pt->item]->identifier); printf(" = "); do_optimisations(pt->first, &(pt->first)); CODE_TREE(pt->first); printf(";"); break; case IF_STATEMENT_NT: printf("if("); CODE_TREE(pt->first); printf(")\n%*s{\n",indent, " "); indentController(1, &indent); //incriment CODE_TREE(pt->second); indentController(-1, &indent); //decriment if(pt->third!=NULL) { printf("%*s}\n%*selse\n%*s{\n", indent, " ", indent, " ", indent, " "); indentController(1, &indent); //incriment CODE_TREE(pt->third); indentController(-1, &indent); //decriment } printf("%*s}", indent, " "); break; case DO_STATEMENT_NT: printf("do\n%*s{\n", indent, " "); indentController(1, &indent); //incriment CODE_TREE(pt->first); indentController(-1, &indent); //decriment printf("%*s} while (",indent, " "); CODE_TREE(pt->second); printf(");"); break; case WHILE_STATEMENT_NT: printf("while ("); CODE_TREE(pt->first); printf(")\n%*s{\n", indent, " "); indentController(1, &indent); //incriment CODE_TREE(pt->second); indentController(-1, &indent); //decriment printf("%*s}", indent, " "); break; case FOR_STATEMENT_NT: if(firstfor) { printf("/*for control vars*/\n"); printf("%*sregister int _by;\n",indent, " "); printf("%*sstatic int _true=(1==1);\n",indent, " "); printf("%*s", indent, " "); firstfor = FALSE; } carryOverId=symTab[pt->item]->identifier; printf("for (%s = ",symTab[pt->item]->identifier); CODE_TREE(pt->first); printf(")\n%*s{\n",indent, " "); indentController(1, &indent); //incriment CODE_TREE(pt->second); indentController(-1, &indent); //decriment printf("%*s}", indent, " "); carryOverId=NULL; break; case FOR_ITERATOR_NT: do_optimisations(pt->first, &(pt->first)); do_optimisations(pt->third, &(pt->third)); do_optimisations(pt->second, &(pt->second)); // for (i=is; _by=by, (i-to)*((_by > 0) - (_by < 0)/_true) <= 0 ; i += _by) magic... printf("("); CODE_TREE(pt->first); printf("); _by = ("); CODE_TREE(pt->second); printf("), (%s - (", carryOverId); CODE_TREE(pt->third); printf("))*(_by >0) - (_by<0/_true) <=0; %s += _by", carryOverId); break; //first is IS. Second is BY. Third is TO. i is CarryOverId case WRITE_STATEMENT_NT: printf("printf("); if(pt->first==NULL) { printf("%s\\n%s);","\"","\""); } else { lookAheadOnly = 1; printf("\""); CODE_TREE(pt->first); //for the output list... int copystack = stackcounter; int i; for(i=0; i<copystack; i++) { TERNARY_TREE t = (TERNARY_TREE)typebottom(); if(t->nodeIdentifier == FLOAT_CONSTANT_NT) { printf("%%f"); } else if (t->nodeIdentifier == INTEGER_CONSTANT_NT) { printf("%%i"); } else if (t->nodeIdentifier == CONSTANTchl_NT) { printf("%%c"); } else { if(idtypes[t->item] == TYPEchar_NT) { printf("%%c"); } else if(idtypes[t->item] == TYPEint_NT) { printf("%%i"); } else if(idtypes[t->item] == TYPEreal_NT) { printf("%%f"); } } typequeue(); } typeclearstack(); lookAheadOnly = 0; printf("\", "); CODE_TREE(pt->first); printf(");"); typeclearstack(); } break; case READ_STATEMENT_NT: printf("scanf("); printf("\"%%%c\", ", (idtypes[pt->item] == TYPEreal_NT)? 'f' : ((idtypes[pt->item] == TYPEchar_NT)? 'c' : 'i')); printf("&%s",symTab[pt->item]->identifier); printf(");"); break; case OUTPUT_LIST_NT: if(pt->second==NULL) { do_optimisations(pt->first, &(pt->first)); maketypelist(pt->first); CODE_TREE(pt->first); } else { CODE_TREE(pt->first); if(lookAheadOnly!=1) printf(", "); do_optimisations(pt->second, &(pt->second)); maketypelist(pt->second); CODE_TREE(pt->second); } break; case CONDITIONAL_NT: CODE_TREE(pt->first); break; case CONDITIONALand_NT: CODE_TREE(pt->first); printf(" && "); CODE_TREE(pt->second); break; case CONDITIONALor_NT: CODE_TREE(pt->first); printf(" || "); CODE_TREE(pt->second); break; case CONDITIONALnot_NT: printf("! ("); CODE_TREE(pt->first); printf(")"); break; case CONDITIONAL_INNER_NT: do_optimisations(pt->first, &(pt->first)); CODE_TREE(pt->first); do_optimisations(pt->second, &(pt->second)); CODE_TREE(pt->second); do_optimisations(pt->third, &(pt->third)); CODE_TREE(pt->third); break; case COMPARATORet_NT: printf(" == "); break; case COMPARATORnet_NT: printf(" != "); break; case COMPARATORlt_NT: printf(" < "); break; case COMPARATORgt_NT: printf(" > "); break; case COMPARATORltet_NT: printf(" <= "); break; case COMPARATORgtet_NT: printf(" >= "); break; case EXPRESSION_NT: CODE_TREE(pt->first); break; case EXPRESSIONadd_NT: CODE_TREE(pt->first); printf(" + "); CODE_TREE(pt->second); break; case EXPRESSIONminus_NT: CODE_TREE(pt->first); printf(" - "); CODE_TREE(pt->second); break; case TERM_NT: CODE_TREE(pt->first); break; case TERMm_NT: CODE_TREE(pt->first); printf(" * "); CODE_TREE(pt->second); break; case TERMd_NT: CODE_TREE(pt->first); printf(" / "); CODE_TREE(pt->second); break; case VALUE_ID_NT: //printf("identifier"); if(lookAheadOnly==1){outlistCount++; return;}; printf("%s",symTab[pt->item]->identifier); break; case VALUE_CL_NT: if(lookAheadOnly==1){outlistCount++; return;}; CODE_TREE(pt->first); break; case VALUE_EX_NT: if(lookAheadOnly==1){outlistCount++; return;}; printf("("); CODE_TREE(pt->first); printf(") "); break; case CONSTANT_NT: CODE_TREE(pt->first); break; case CONSTANTchl_NT: printf("'%s'",symTab[pt->item]->identifier); //printf("char"); break; case INTEGER_CONSTANT_NT: if(lookAheadOnly==1) return; printf("%i", pt->item); break; case FLOAT_CONSTANT_NT: if(lookAheadOnly==1) return; double * value = (double*)((MEM_SIZE)pt->item); printf("%f", *value); break; } } enum STACKTYPE {st_CMD, st_DATA}; enum operations {o_add, o_sub, o_div, o_mul}; int CommandStack[100]; struct cmdStack { MEM_SIZE stk[128]; int count; }commandStack; struct Stack { TERNARY_TREE stk[512]; int count; }nodeStack; void wipestack(int operationalmode) { if(operationalmode == st_DATA) { nodeStack.count=0; int i; for(i=0; i<nodeStack.count; i++) { nodeStack.stk[i] = NULL; } } else { commandStack.count=0; int i; for(i=0; i<commandStack.count; i++) { commandStack.stk[i] = (MEM_SIZE)NULL; } } } void push(int operationalmode, MEM_SIZE node) { if(operationalmode == st_DATA) { nodeStack.stk[nodeStack.count++]=(TERNARY_TREE)node; } else { commandStack.stk[commandStack.count++]=(MEM_SIZE)node; //yes, I know... } } void pop(int operationalmode) { if(operationalmode == st_DATA) { if(nodeStack.count>0) { nodeStack.stk[nodeStack.count-1]; nodeStack.count--; } } else { if(commandStack.count>0) { commandStack.stk[commandStack.count-1]; commandStack.count--; } } } TERNARY_TREE top(int operationalmode) { if(operationalmode == st_DATA) { if(nodeStack.count >0) return nodeStack.stk[nodeStack.count-1]; } else { if(commandStack.count >0) return commandStack.stk[commandStack.count-1]; } } void do_optimisations(TERNARY_TREE pt, TERNARY_TREE * feedback) { wipestack(st_DATA); wipestack(st_CMD); simplify(pt, feedback); } void simplify(TERNARY_TREE pt, TERNARY_TREE * replacetree) { //printf("%i\n", pt->nodeIdentifier); if (pt==NULL) return; switch(pt->nodeIdentifier) { case EXPRESSION_NT: simplify(pt->first, replacetree); break; case EXPRESSIONadd_NT: //printf("\n-------------------STACK:ADD\n"); push(st_CMD,(MEM_SIZE)o_add); cast(pt, replacetree); //printf("ADD EXIT\n"); break; case EXPRESSIONminus_NT: //printf("\n-------------------STACK:SUBTRACT\n"); push(st_CMD,(MEM_SIZE)o_sub); cast(pt, replacetree); //printf("SUB EXIT\n"); break; case TERM_NT: simplify(pt->first, replacetree); break; case TERMm_NT: //printf("\n-------------------STACK:MULTIPLY\n"); push(st_CMD,(MEM_SIZE)o_mul); cast(pt, replacetree); //printf("MUL EXIT\n"); break; case TERMd_NT: //printf("\n-------------------STACK:DIVIDE\n"); push(st_CMD,(MEM_SIZE)o_div); cast(pt, replacetree); break; case VALUE_ID_NT: push(st_DATA, (MEM_SIZE)pt); //printf("\n-------------------STACK:IDENTIFIER\n"); break; case VALUE_CL_NT: simplify(pt->first, replacetree); break; case VALUE_EX_NT: simplify(pt->first, replacetree); break; case CONSTANT_NT: simplify(pt->first, replacetree); break; case CONSTANTchl_NT: push(st_DATA,(MEM_SIZE)pt); //printf("\n-------------------STACK:CHAR:%c\n", pt->item); break; case INTEGER_CONSTANT_NT: //printf("\n-------------------STACK:INT:%i\n", pt->item); push(st_DATA, (MEM_SIZE)pt); break; case FLOAT_CONSTANT_NT: //printf("\n-------------------STACK:FLOAT:%f\n", *((double*)pt->item)); push(st_DATA, (MEM_SIZE)pt); break; } } void evalDuplicares(MEM_SIZE cpy1, MEM_SIZE cpy2) { bool isFloat1=FALSE, isFloat2=FALSE, isInt1=FALSE, isInt2=FALSE, isChr1=FALSE, isChr2 = FALSE, isID1 = FALSE, isID2 = FALSE; switch(((TERNARY_TREE)cpy1)->nodeIdentifier) { case FLOAT_CONSTANT_NT: isFloat1 = TRUE; break; case INTEGER_CONSTANT_NT: isInt1 = TRUE; break; case CONSTANTchl_NT: isChr1 = TRUE; break; case VALUE_ID_NT: isID1 = TRUE; break; } switch(((TERNARY_TREE)cpy2)->nodeIdentifier) { case FLOAT_CONSTANT_NT: isFloat2 = TRUE; break; case INTEGER_CONSTANT_NT: isInt2 = TRUE; break; case CONSTANTchl_NT: isChr2 = TRUE; break; case VALUE_ID_NT: isID2 = TRUE; break; } //if id... if(isID1 == TRUE) { switch(idtypes[((TERNARY_TREE)cpy1)->item]) { case TYPEchar_NT: isChr1 = TRUE; break; case TYPEint_NT: isInt1 = TRUE; break; case TYPEreal_NT: isFloat1 = TRUE; break; } } if(isID2 == TRUE) { switch(idtypes[((TERNARY_TREE)cpy2)->item]) { case TYPEchar_NT: isChr2 = TRUE; break; case TYPEint_NT: isInt2 = TRUE; break; case TYPEreal_NT: isFloat2 = TRUE; break; } } typepop(); typepop(); //ghandles float... if(isFloat1) { typepush(cpy1); } else if(isFloat2) { typepush(cpy2); } if(isChr1 && isChr2) { typepush(cpy1); } if(isInt1 && isInt2) { typepush(cpy1); } if(isChr1 && isInt2) { typepush(cpy2); } else if(isChr2 && isInt1) { typepush(cpy1); } } void maketypelist(TERNARY_TREE pt) { MEM_SIZE cpy1 = NULL; MEM_SIZE cpy2 = NULL; //printf("%i\n", pt->nodeIdentifier); if (pt==NULL) return; switch(pt->nodeIdentifier) { case EXPRESSION_NT: maketypelist(pt->first); break; case EXPRESSIONadd_NT: maketypelist(pt->first); cpy1 = typetop(); maketypelist(pt->second); cpy2 = typetop(); evalDuplicares(cpy1, cpy2); break; case EXPRESSIONminus_NT: maketypelist(pt->first); cpy1 = typetop(); maketypelist(pt->second); cpy2 = typetop(); evalDuplicares(cpy1, cpy2); break; case TERM_NT: maketypelist(pt->first); break; case TERMm_NT: maketypelist(pt->first); cpy1 = typetop(); maketypelist(pt->second); cpy2 = typetop(); evalDuplicares(cpy1, cpy2); break; case TERMd_NT: maketypelist(pt->first); cpy1 = typetop(); maketypelist(pt->second); cpy2 = typetop(); evalDuplicares(cpy1, cpy2); break; case VALUE_ID_NT: typepush((MEM_SIZE)pt); break; case VALUE_CL_NT: maketypelist(pt->first); break; case VALUE_EX_NT: maketypelist(pt->first); break; case CONSTANT_NT: maketypelist(pt->first); break; case CONSTANTchl_NT: typepush((MEM_SIZE)pt); break; case INTEGER_CONSTANT_NT: typepush((MEM_SIZE)pt); break; case FLOAT_CONSTANT_NT: typepush((MEM_SIZE)pt); break; } } int generateTypedTable(TERNARY_TREE pt, int thingof) { if(pt==NULL) return thingof; switch(pt->nodeIdentifier) { case PROGRAM_NT: generateTypedTable(pt->first,thingof); break; case BLOCK_NT: generateTypedTable(pt->first,thingof); break; case DECLARATION_BLOCK_NT: if(pt->first !=NULL) { generateTypedTable(pt->first,generateTypedTable(pt->second,thingof)); } generateTypedTable(pt->third,thingof); //are there more? break; case IDENTIFIER_LIST_NT: generateTypedTable(pt->first,thingof); return thingof; case IDENTIFIER_LIST_SINGLE_NT: //printf("id...\n"); identityTable[pt->item] = thingof; return thingof; case TYPEchar_NT: //printf("char\n"); return TYPEchar_NT; case TYPEint_NT: //printf("int\n"); return TYPEint_NT; case TYPEreal_NT: //printf("real\n"); return TYPEreal_NT; } return -1; } void cast(TERNARY_TREE pt, TERNARY_TREE * from) { //printf("cast\n"); if(pt==NULL) return; //search subtrees simplify(pt->first, &(pt->first)); simplify(pt->second, &(pt->second)); //printf("\n-------------------data:%i. cmd:%i\n", nodeStack.count, commandStack.count); if(nodeStack.count >= 2 && commandStack.count>=1) { /*optimise*/ TERNARY_TREE newsubtree=NULL; TERNARY_TREE node1 = top(st_DATA); pop(st_DATA); //printf("%i\n", node1->item); TERNARY_TREE node2 = top(st_DATA); pop(st_DATA); int action = (MEM_SIZE)top(st_CMD); pop(st_CMD); //printf("%i\n", action); //printf("%i\n", node2->item); //fasle false if(!(node1->nodeIdentifier == VALUE_ID_NT) && !(node2->nodeIdentifier == VALUE_ID_NT)) { //printf("optimise\n"); //create vars double d_operand1=0.0, d_operand2=0.0; int i_operand1=0, i_operand2=0; bool isSet_DO1=FALSE, isSet_DO2=FALSE, isSet_IO1=FALSE, isSet_IO2=FALSE; //do type check evaluation. if(node1->nodeIdentifier==FLOAT_CONSTANT_NT) { d_operand1 = *((double*)((MEM_SIZE)node1->item)); isSet_DO1 = TRUE; if(node2->nodeIdentifier == FLOAT_CONSTANT_NT) { d_operand2 = *((double*)((MEM_SIZE)node2->item)); isSet_DO2 = TRUE; } else { i_operand1 = node2->item; isSet_IO1 = TRUE; } } else { i_operand1 = node1->item; isSet_IO1 = TRUE; if(node2->nodeIdentifier==FLOAT_CONSTANT_NT) { d_operand1 = *((double*)((MEM_SIZE)node2->item)); isSet_DO1 = TRUE; } else { i_operand2 = node2->item; isSet_IO2 = TRUE; } } //printf("------------------------%i%i\n", isSet_IO1, isSet_IO2); //make result spaces. double * d_result = malloc(sizeof(double)); int i_result=0; bool result_is_double = FALSE; //final type eval. Then calculate using operator. if(isSet_DO1 && isSet_DO2) //double double calc. { //printf("do float calc\n"); switch(action) { case o_add: *d_result = d_operand2 + d_operand1; break; case o_sub: *d_result = d_operand2 - d_operand1; break; case o_mul: *d_result = d_operand2 * d_operand1; break; case o_div: *d_result = d_operand2 / d_operand1; break; } result_is_double = TRUE; //printf("%f\n", *d_result); } else if(isSet_IO1 && isSet_IO2) //int int calc. { //printf("do int calc\n"); switch(action) { case o_add: i_result = i_operand2 + i_operand1; break; case o_sub: i_result = i_operand2 - i_operand1; break; case o_mul: i_result = i_operand2 * i_operand1; break; case o_div: i_result = i_operand2 / i_operand1; break; } //printf("%i\n", i_result); } else if(((bool)(isSet_DO1 + isSet_DO2)) && ((bool)(isSet_IO1 + isSet_IO2))) //hyrid calculations... { //compress... d_operand1= d_operand1 + d_operand2; i_operand1= i_operand1 + i_operand2; if(isSet_DO1) // float is Op_2. { switch(action) { case o_add: *d_result = d_operand1 + (double)i_operand1; break; case o_sub: *d_result = d_operand1 - (double)i_operand1; break; case o_mul: *d_result = d_operand1 * (double)i_operand1; break; case o_div: *d_result = d_operand1 / (double)i_operand1; break; } } else // int is Op_2. { switch(action) { case o_add: *d_result = (double)i_operand1 + d_operand1; break; case o_sub: *d_result = (double)i_operand1 - d_operand1; break; case o_mul: *d_result = (double)i_operand1 * d_operand1; break; case o_div: *d_result = (double)i_operand1 / d_operand1; break; } } result_is_double = TRUE; //printf("%f\n", *d_result); } //destroy old subtree. destroy_nodes_from(*from); pt=NULL; //make new subtree, then add it in place of the old. newsubtree = create_node(NOTHING, EXPRESSION_NT, NULL, NULL, NULL); newsubtree->first = create_node(NOTHING, TERM_NT, NULL, NULL, NULL); newsubtree->first->first = create_node(NOTHING, VALUE_CL_NT, NULL, NULL, NULL); newsubtree->first->first->first = create_node(NOTHING, CONSTANT_NT, NULL, NULL, NULL); if(result_is_double) newsubtree->first->first->first->first = create_node((MEM_SIZE)d_result, FLOAT_CONSTANT_NT, NULL, NULL, NULL); else newsubtree->first->first->first->first = create_node(i_result, INTEGER_CONSTANT_NT, NULL, NULL, NULL); *from=newsubtree; push(st_DATA,(MEM_SIZE)newsubtree->first->first->first->first); } } } void destroy_nodes_from(TERNARY_TREE pt) { if(pt==NULL) return; destroy_nodes_from(pt->first); destroy_nodes_from(pt->second); destroy_nodes_from(pt->third); //printf("destroy %i\n", pt); if(pt->nodeIdentifier == FLOAT_CONSTANT_NT) { double * freeme = (double*)((MEM_SIZE)pt->item); free(freeme); } //printf("record deleted"); free(pt); pt=NULL; } /* Put other auxiliary functions here */ #include "lex.yy.c"
24.021483
184
0.629749
ec5b0d1458ca290d53d49b6a885d425b7bb01c65
3,934
y
Yacc
src/TreeParser.y
orm011/mplan2vdl
1c96ae51511738efd522f2ad333418a8349de388
[ "MIT" ]
2
2017-08-19T22:17:36.000Z
2017-09-18T05:37:43.000Z
src/TreeParser.y
orm011/mplan2vdl
1c96ae51511738efd522f2ad333418a8349de388
[ "MIT" ]
null
null
null
src/TreeParser.y
orm011/mplan2vdl
1c96ae51511738efd522f2ad333418a8349de388
[ "MIT" ]
2
2017-09-18T00:06:03.000Z
2018-10-25T15:14:46.000Z
-- -*- haskell -*- { {-# LANGUAGE ScopedTypeVariables #-} module TreeParser ( parse , fromString , TRel(..) ) where import Text.Printf (printf) import Data.Either(isRight,partitionEithers) import Scanner (ScannedToken(..), Token(..), scan) import Control.DeepSeq(NFData) import GHC.Generics (Generic) import Text.Groom import Debug.Trace import Data.String.Utils(join) import Config import qualified Data.ByteString.Lazy as B import qualified Data.ByteString.Lazy.Char8 as C import Name(Name(..)) } --------------------------------- Directives ---------------------------------- %name parse TProgram %error { parseError } %monad { Either String } %tokentype { ScannedToken } %token '[' { ScannedToken _ _ LBrack } ']' { ScannedToken _ _ RBrack } '(' { ScannedToken _ _ LParen } ')' { ScannedToken _ _ RParen } ',' { ScannedToken _ _ Comma } '.' { ScannedToken _ _ Dot } NOTNULL { ScannedToken _ _ ( Word "NOT NULL") } HASHCOL { ScannedToken _ _ ( Word "HASHCOL") } literal { ScannedToken _ _ ( ValueLiteral $$) } number { ScannedToken _ _ ( NumberLiteral $$) } COUNT { ScannedToken _ _ ( Word "COUNT") } table { ScannedToken _ _ ( Word "table") } identifier { ScannedToken _ _ ( Word $$ ) } %% -------------------------------- Grammar for rel only ------------------------ TProgram: TTree { $1} TTree : TLeaf { $1 } | TNode { $1 } TLeaf : table '(' QualifiedName ')' '[' TExt ']' COUNT { TLeaf { source=$3, columns=$6 } } QualifiedName : QualifiedNameB { Name $ dropsys $1 } QualifiedNameB : identifier { ( [$1] ) } | identifier '.' QualifiedNameB { $1 : $3 } TNode : IdentifierListNE '(' TNodeListNE ')' TBracketListNE { TNode { relop = (B.intercalate " " $1), children = $3, arg_lists = $5 } } IdentifierListNE : identifier { [$1] } | identifier IdentifierListNE { $1 : $2 } TNodeListNE : TTree { ( $1 : [] ) :: [TRel] } | TTree ',' TNodeListNE { ($1 : $3) :: [TRel] } TBracketListNE : '[' TExt ']' { ($2 : []) :: [B.ByteString] } | '[' TExt ']' TBracketListNE { ($2 : $4) :: [B.ByteString] } TExt : { "" :: B.ByteString } | TExtAtom TExt { (B.append $1 $ B.append " " $2) :: B.ByteString } | QualifiedName TExt { (B.append (C.pack $ show $1) ( B.append " " $2)) } TExtAtom -- just reassemble the tokens. dots belong in names : literal { $1 } | number { C.pack $ show $1 } | ',' { C.pack $ show $ extractRawToken $1 } | '(' { C.pack $ show $ extractRawToken $1 } | ')' { C.pack $ show $ extractRawToken $1 } | NOTNULL { "" } | HASHCOL { "" } | TNested { $1 } TNested -- i think i need to deal with this case separately : '[' TExt ']' { B.append "[ " $ B.append $2 " ]" } ----------------------------------- Haskell ----------------------------------- { data TRel = TNode { relop :: B.ByteString , children :: [TRel] , arg_lists :: [B.ByteString] } | TLeaf { source :: Name, columns :: B.ByteString } deriving (Eq,Show,Generic) parseError :: [ScannedToken] -> Either String a parseError [] = Left "unexpected EOF" parseError toks = Left $ printf ("At %d:%d. unexpected token%s (at most %d shown): '%s'." ::String) lineNo columnNo ((if (not $ null $ tail toks) then "s" else "")::String) numToks badTokenText where numToks = 10 firstBadToken = head toks lineNo = Scanner.line firstBadToken columnNo = Scanner.column firstBadToken badTokenText = concatMap ((++ " ") . show . extractRawToken) (take numToks toks) fromString :: B.ByteString -> Config -> Either String TRel fromString str cfg = let tokens = Scanner.scan str in parse tokens -- drop the 'sys' prefix that shows up some times (but not all of the time) dropsys :: [B.ByteString] -> [B.ByteString] dropsys ("sys":rest) = rest dropsys x = x }
28.1
129
0.567107
65fe90e9daf065a43b33e4a9a8a09573ea3b7c05
10,490
yy
Yacc
rooms/rmMenu/rmMenu.yy
chameleonsilk/vertshmup
a350cfcfd80959b039ddf4fc16b665d91efe69ca
[ "FSFAP" ]
null
null
null
rooms/rmMenu/rmMenu.yy
chameleonsilk/vertshmup
a350cfcfd80959b039ddf4fc16b665d91efe69ca
[ "FSFAP" ]
null
null
null
rooms/rmMenu/rmMenu.yy
chameleonsilk/vertshmup
a350cfcfd80959b039ddf4fc16b665d91efe69ca
[ "FSFAP" ]
null
null
null
{ "name": "rmMenu", "id": "c7eeaf66-81e2-4813-a63d-caedd1fbedc9", "creationCodeFile": "RoomCreationCode.gml", "inheritCode": false, "inheritCreationOrder": false, "inheritLayers": false, "instanceCreationOrderIDs": [ "10809766-7a81-4780-be92-5375e2e49210", "c7580f12-488f-4692-b1c4-9ab0259cab0d", "357840fd-c231-4448-ac4f-217d6b9701d1", "54cb4119-e17c-4728-9b5b-5e2abe8482ec", "cc289966-d814-4ef9-83d6-ac4ce651a543", "3ff7a9a7-9521-4f28-8bcf-ae98b682e112" ], "IsDnD": false, "layers": [ { "__type": "GMRInstanceLayer_Model:#YoYoStudio.MVCFormat", "name": "Instances", "id": "9c5ea25c-16d5-4da5-96f8-e9e4a006af9e", "depth": 0, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "instances": [ {"name": "inst_3F3F9873","id": "10809766-7a81-4780-be92-5375e2e49210","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_3F3F9873","objId": "98af24df-60fa-4516-9e9a-a6463e1b975f","properties": null,"rotation": 0,"scaleX": 0.875,"scaleY": 1,"mvc": "1.0","x": 112,"y": 576}, {"name": "inst_5BC4F47A","id": "c7580f12-488f-4692-b1c4-9ab0259cab0d","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_5BC4F47A","objId": "160d311a-f51c-41a0-bcb9-425eb4f05437","properties": null,"rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 375,"y": 315}, {"name": "inst_295CE098","id": "357840fd-c231-4448-ac4f-217d6b9701d1","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_295CE098","objId": "d46739f6-edd2-4d28-9181-0d4b72baaebd","properties": null,"rotation": 0,"scaleX": 1.32,"scaleY": 1.32,"mvc": "1.0","x": -32,"y": 228}, {"name": "inst_239C909","id": "54cb4119-e17c-4728-9b5b-5e2abe8482ec","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_239C909","objId": "c45766ec-0795-4e52-80d4-606b5c8e0f99","properties": null,"rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": 54,"y": 60}, {"name": "inst_759B344C","id": "cc289966-d814-4ef9-83d6-ac4ce651a543","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_759B344C","objId": "1236a201-1212-4785-99ca-457e823ea6d4","properties": null,"rotation": 0,"scaleX": 0.875,"scaleY": 1,"mvc": "1.0","x": 256,"y": 512}, {"name": "inst_70BB15DE","id": "3ff7a9a7-9521-4f28-8bcf-ae98b682e112","colour": { "Value": 4294967295 },"creationCodeFile": "","creationCodeType": "","ignore": false,"imageIndex": 0,"imageSpeed": 1,"inheritCode": false,"inheritItemSettings": false,"IsDnD": false,"m_originalParentID": "00000000-0000-0000-0000-000000000000","m_serialiseFrozen": false,"modelName": "GMRInstance","name_with_no_file_rename": "inst_70BB15DE","objId": "becad769-7d44-45f3-b27d-043b95f52b25","properties": null,"rotation": 0,"scaleX": 1,"scaleY": 1,"mvc": "1.0","x": -7,"y": 344} ], "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRInstanceLayer", "mvc": "1.0", "userdefined_depth": false, "visible": true }, { "__type": "GMRAssetLayer_Model:#YoYoStudio.MVCFormat", "name": "Assets_1", "id": "19d148ec-9182-4810-aeba-afdceec16ae3", "assets": [ ], "depth": 100, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRAssetLayer", "mvc": "1.0", "userdefined_depth": false, "visible": true }, { "__type": "GMRBackgroundLayer_Model:#YoYoStudio.MVCFormat", "name": "Background", "id": "e2a7fb68-817b-495b-b75a-626c79151cd8", "animationFPS": 15, "animationSpeedType": "0", "colour": { "Value": 4278190080 }, "depth": 200, "grid_x": 32, "grid_y": 32, "hierarchyFrozen": false, "hierarchyVisible": true, "hspeed": 0, "htiled": false, "inheritLayerDepth": false, "inheritLayerSettings": false, "inheritSubLayers": false, "inheritVisibility": false, "layers": [ ], "m_parentID": "00000000-0000-0000-0000-000000000000", "m_serialiseFrozen": false, "modelName": "GMRBackgroundLayer", "mvc": "1.0", "spriteId": "00000000-0000-0000-0000-000000000000", "stretch": false, "userdefined_animFPS": false, "userdefined_depth": false, "visible": true, "vspeed": 0, "vtiled": false, "x": 0, "y": 0 } ], "modelName": "GMRoom", "parentId": "00000000-0000-0000-0000-000000000000", "physicsSettings": { "id": "35634dd1-a546-41ae-88c4-678c7e0edb27", "inheritPhysicsSettings": false, "modelName": "GMRoomPhysicsSettings", "PhysicsWorld": false, "PhysicsWorldGravityX": 0, "PhysicsWorldGravityY": 10, "PhysicsWorldPixToMeters": 0.1, "mvc": "1.0" }, "roomSettings": { "id": "bacb8a48-a1c6-49be-bbc4-4d1a5a171878", "Height": 640, "inheritRoomSettings": false, "modelName": "GMRoomSettings", "persistent": false, "mvc": "1.0", "Width": 480 }, "mvc": "1.0", "views": [ {"id": "1776e4aa-3d93-47bd-af9a-26bab8abaa00","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "5e0e12a8-f8ed-48c7-a546-15adbfeceb4e","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "8807a44e-a2b0-4f28-b072-8be2810c260b","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "03c6ad55-74ef-4465-86b1-e49bbcfa455d","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "95cceede-ca16-4c87-ba70-68798384ff3f","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "74e2dd4b-ce9f-4829-872b-0d6725048e57","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "beccc8fa-9186-4042-b070-687e17b843b5","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0}, {"id": "2f178acd-cb2e-4f02-8d31-67d8721cba24","hborder": 32,"hport": 768,"hspeed": -1,"hview": 768,"inherit": false,"modelName": "GMRView","objId": "00000000-0000-0000-0000-000000000000","mvc": "1.0","vborder": 32,"visible": false,"vspeed": -1,"wport": 1024,"wview": 1024,"xport": 0,"xview": 0,"yport": 0,"yview": 0} ], "viewSettings": { "id": "9a6be106-3299-4ce2-9631-ded9c13b6164", "clearDisplayBuffer": false, "clearViewBackground": false, "enableViews": false, "inheritViewSettings": false, "modelName": "GMRoomViewSettings", "mvc": "1.0" } }
68.562092
566
0.602383
756c326f7d619cfaaa0c5825f8b254e67e6ad4b7
18,133
y
Yacc
libexec/got-read-gotconfig/parse.y
ThomasAdam/got-portable
20c6bdb6df94655d118fd1c273846fc7fedc954b
[ "ISC" ]
6
2021-10-13T14:37:06.000Z
2022-03-30T20:33:27.000Z
libexec/got-read-gotconfig/parse.y
ThomasAdam/got-portable
20c6bdb6df94655d118fd1c273846fc7fedc954b
[ "ISC" ]
1
2021-09-25T23:13:07.000Z
2021-09-25T23:13:07.000Z
libexec/got-read-gotconfig/parse.y
ThomasAdam/got-portable
20c6bdb6df94655d118fd1c273846fc7fedc954b
[ "ISC" ]
null
null
null
/* * Copyright (c) 2020, 2021 Tracey Emery <tracey@openbsd.org> * Copyright (c) 2020 Stefan Sperling <stsp@openbsd.org> * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> * Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org> * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> * Copyright (c) 2001 Markus Friedl. All rights reserved. * Copyright (c) 2001 Daniel Hartmeier. All rights reserved. * Copyright (c) 2001 Theo de Raadt. All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ %{ #include <sys/types.h> #include <netdb.h> #include <ctype.h> #include <err.h> #include <errno.h> #include <limits.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "got_compat.h" #include "got_error.h" #include "gotconfig.h" static struct file { FILE *stream; const char *name; size_t ungetpos; size_t ungetsize; u_char *ungetbuf; int eof_reached; int lineno; } *file; static const struct got_error* newfile(struct file**, const char *, int *); static void closefile(struct file *); int yyparse(void); int yylex(void); int yyerror(const char *, ...) __attribute__((__format__ (printf, 1, 2))) __attribute__((__nonnull__ (1))); int kw_cmp(const void *, const void *); int lookup(char *); int igetc(void); int lgetc(int); void lungetc(int); int findeol(void); static int parseport(char *, long long *); TAILQ_HEAD(symhead, sym) symhead = TAILQ_HEAD_INITIALIZER(symhead); struct sym { TAILQ_ENTRY(sym) entry; int used; int persist; char *nam; char *val; }; int symset(const char *, const char *, int); char *symget(const char *); static int atoul(char *, u_long *); static const struct got_error* gerror; static struct gotconfig_remote_repo *remote; static struct gotconfig gotconfig; static const struct got_error* new_remote(struct gotconfig_remote_repo **); static const struct got_error* new_fetch_config(struct fetch_config **); static const struct got_error* new_send_config(struct send_config **); typedef struct { union { long long number; char *string; struct node_branch *branch; struct node_ref *ref; } v; int lineno; } YYSTYPE; #if defined(__APPLE__) && !defined(YYSTYPE) #warning "Setting YYSTYPE - is GNU Bison installed?" #define YYSTYPE YYSTYPE #endif %} %token ERROR %token REMOTE REPOSITORY SERVER PORT PROTOCOL MIRROR_REFERENCES BRANCH %token AUTHOR FETCH_ALL_BRANCHES REFERENCE FETCH SEND %token <v.string> STRING %token <v.number> NUMBER %type <v.number> boolean portplain %type <v.string> numberstring %type <v.branch> branch xbranch branch_list %type <v.ref> ref xref ref_list %% grammar : /* empty */ | grammar '\n' | grammar author '\n' | grammar remote '\n' ; boolean : STRING { if (strcasecmp($1, "true") == 0 || strcasecmp($1, "yes") == 0) $$ = 1; else if (strcasecmp($1, "false") == 0 || strcasecmp($1, "no") == 0) $$ = 0; else { yyerror("invalid boolean value '%s'", $1); free($1); YYERROR; } free($1); } ; numberstring : NUMBER { char *s; if (asprintf(&s, "%lld", $1) == -1) { yyerror("string: asprintf"); YYERROR; } $$ = s; } | STRING ; portplain : numberstring { if (parseport($1, &$$) == -1) { free($1); YYERROR; } free($1); } ; branch : /* empty */ { $$ = NULL; } | xbranch { $$ = $1; } | '{' optnl branch_list '}' { $$ = $3; } ; xbranch : STRING { $$ = calloc(1, sizeof(struct node_branch)); if ($$ == NULL) { yyerror("calloc"); YYERROR; } $$->branch_name = $1; $$->tail = $$; } ; branch_list : xbranch optnl { $$ = $1; } | branch_list comma xbranch optnl { $1->tail->next = $3; $1->tail = $3; $$ = $1; } ; ref : /* empty */ { $$ = NULL; } | xref { $$ = $1; } | '{' optnl ref_list '}' { $$ = $3; } ; xref : STRING { $$ = calloc(1, sizeof(struct node_ref)); if ($$ == NULL) { yyerror("calloc"); YYERROR; } $$->ref_name = $1; $$->tail = $$; } ; ref_list : xref optnl { $$ = $1; } | ref_list comma xref optnl { $1->tail->next = $3; $1->tail = $3; $$ = $1; } ; remoteopts2 : remoteopts2 remoteopts1 nl | remoteopts1 optnl ; remoteopts1 : REPOSITORY STRING { remote->repository = $2; } | SERVER STRING { remote->server = $2; } | PROTOCOL STRING { remote->protocol = $2; } | MIRROR_REFERENCES boolean { remote->mirror_references = $2; } | FETCH_ALL_BRANCHES boolean { remote->fetch_all_branches = $2; } | PORT portplain { remote->port = $2; } | BRANCH branch { remote->branch = $2; } | REFERENCE ref { remote->fetch_ref = $2; } | FETCH { static const struct got_error* error; if (remote->fetch_config != NULL) { yyerror("fetch block already exists"); YYERROR; } error = new_fetch_config(&remote->fetch_config); if (error) { yyerror("%s", error->msg); YYERROR; } } '{' optnl fetchempty '}' | SEND { static const struct got_error* error; if (remote->send_config != NULL) { yyerror("send block already exists"); YYERROR; } error = new_send_config(&remote->send_config); if (error) { yyerror("%s", error->msg); YYERROR; } } '{' optnl sendempty '}' ; fetchempty : /* empty */ | fetchopts2 ; fetchopts2 : fetchopts2 fetchopts1 nl | fetchopts1 optnl ; fetchopts1 : REPOSITORY STRING { remote->fetch_config->repository = $2; } | SERVER STRING { remote->fetch_config->server = $2; } | PROTOCOL STRING { remote->fetch_config->protocol = $2; } | PORT portplain { remote->fetch_config->port = $2; } | BRANCH branch { remote->fetch_config->branch = $2; } ; sendempty : /* empty */ | sendopts2 ; sendopts2 : sendopts2 sendopts1 nl | sendopts1 optnl ; sendopts1 : REPOSITORY STRING { remote->send_config->repository = $2; } | SERVER STRING { remote->send_config->server = $2; } | PROTOCOL STRING { remote->send_config->protocol = $2; } | PORT portplain { remote->send_config->port = $2; } | BRANCH branch { remote->send_config->branch = $2; } ; remote : REMOTE STRING { static const struct got_error* error; error = new_remote(&remote); if (error) { free($2); yyerror("%s", error->msg); YYERROR; } remote->name = $2; } '{' optnl remoteopts2 '}' { TAILQ_INSERT_TAIL(&gotconfig.remotes, remote, entry); gotconfig.nremotes++; } ; author : AUTHOR STRING { gotconfig.author = $2; } ; optnl : '\n' optnl | /* empty */ ; nl : '\n' optnl ; comma : ',' | /* empty */ ; %% struct keywords { const char *k_name; int k_val; }; int yyerror(const char *fmt, ...) { va_list ap; char *msg; char *err = NULL; va_start(ap, fmt); if (vasprintf(&msg, fmt, ap) == -1) { gerror = got_error_from_errno("vasprintf"); return 0; } va_end(ap); if (asprintf(&err, "%s: line %d: %s", file->name, yylval.lineno, msg) == -1) { gerror = got_error_from_errno("asprintf"); return(0); } gerror = got_error_msg(GOT_ERR_PARSE_CONFIG, err); free(msg); return(0); } int kw_cmp(const void *k, const void *e) { return (strcmp(k, ((const struct keywords *)e)->k_name)); } int lookup(char *s) { /* This has to be sorted always. */ static const struct keywords keywords[] = { {"author", AUTHOR}, {"branch", BRANCH}, {"fetch", FETCH}, {"fetch-all-branches", FETCH_ALL_BRANCHES}, {"mirror-references", MIRROR_REFERENCES}, {"port", PORT}, {"protocol", PROTOCOL}, {"reference", REFERENCE}, {"remote", REMOTE}, {"repository", REPOSITORY}, {"send", SEND}, {"server", SERVER}, }; const struct keywords *p; p = bsearch(s, keywords, sizeof(keywords)/sizeof(keywords[0]), sizeof(keywords[0]), kw_cmp); if (p) return (p->k_val); else return (STRING); } #define START_EXPAND 1 #define DONE_EXPAND 2 static int expanding; int igetc(void) { int c; while (1) { if (file->ungetpos > 0) c = file->ungetbuf[--file->ungetpos]; else c = getc(file->stream); if (c == START_EXPAND) expanding = 1; else if (c == DONE_EXPAND) expanding = 0; else break; } return (c); } int lgetc(int quotec) { int c, next; if (quotec) { c = igetc(); if (c == EOF) { yyerror("reached end of file while parsing " "quoted string"); } return (c); } c = igetc(); while (c == '\\') { next = igetc(); if (next != '\n') { c = next; break; } yylval.lineno = file->lineno; file->lineno++; } return (c); } void lungetc(int c) { if (c == EOF) return; if (file->ungetpos >= file->ungetsize) { void *p = reallocarray(file->ungetbuf, file->ungetsize, 2); if (p == NULL) err(1, "%s", __func__); file->ungetbuf = p; file->ungetsize *= 2; } file->ungetbuf[file->ungetpos++] = c; } int findeol(void) { int c; /* Skip to either EOF or the first real EOL. */ while (1) { c = lgetc(0); if (c == '\n') { file->lineno++; break; } if (c == EOF) break; } return (ERROR); } static long long getservice(char *n) { struct servent *s; u_long ulval; if (atoul(n, &ulval) == 0) { if (ulval == 0 || ulval > 65535) { yyerror("illegal port value %lu", ulval); return (-1); } return ulval; } else { s = getservbyname(n, "tcp"); if (s == NULL) s = getservbyname(n, "udp"); if (s == NULL) { yyerror("unknown port %s", n); return (-1); } return (s->s_port); } } static int parseport(char *port, long long *pn) { if ((*pn = getservice(port)) == -1) { *pn = 0LL; return (-1); } return (0); } int yylex(void) { char buf[8096]; char *p, *val; int quotec, next, c; int token; top: p = buf; c = lgetc(0); while (c == ' ' || c == '\t') c = lgetc(0); /* nothing */ yylval.lineno = file->lineno; if (c == '#') { c = lgetc(0); while (c != '\n' && c != EOF) c = lgetc(0); /* nothing */ } if (c == '$' && !expanding) { while (1) { c = lgetc(0); if (c == EOF) return (0); if (p + 1 >= buf + sizeof(buf) - 1) { yyerror("string too long"); return (findeol()); } if (isalnum(c) || c == '_') { *p++ = c; continue; } *p = '\0'; lungetc(c); break; } val = symget(buf); if (val == NULL) { yyerror("macro '%s' not defined", buf); return (findeol()); } p = val + strlen(val) - 1; lungetc(DONE_EXPAND); while (p >= val) { lungetc((unsigned char)*p); p--; } lungetc(START_EXPAND); goto top; } switch (c) { case '\'': case '"': quotec = c; while (1) { c = lgetc(quotec); if (c == EOF) return (0); if (c == '\n') { file->lineno++; continue; } else if (c == '\\') { next = lgetc(quotec); if (next == EOF) return (0); if (next == quotec || c == ' ' || c == '\t') c = next; else if (next == '\n') { file->lineno++; continue; } else lungetc(next); } else if (c == quotec) { *p = '\0'; break; } else if (c == '\0') { yyerror("syntax error"); return (findeol()); } if (p + 1 >= buf + sizeof(buf) - 1) { yyerror("string too long"); return (findeol()); } *p++ = c; } yylval.v.string = strdup(buf); if (yylval.v.string == NULL) err(1, "%s", __func__); return (STRING); } #define allowed_to_end_number(x) \ (isspace(x) || x == ')' || x ==',' || x == '/' || x == '}' || x == '=') if (c == '-' || isdigit(c)) { do { *p++ = c; if ((size_t)(p-buf) >= sizeof(buf)) { yyerror("string too long"); return (findeol()); } c = lgetc(0); } while (c != EOF && isdigit(c)); lungetc(c); if (p == buf + 1 && buf[0] == '-') goto nodigits; if (c == EOF || allowed_to_end_number(c)) { const char *errstr = NULL; *p = '\0'; yylval.v.number = strtonum(buf, LLONG_MIN, LLONG_MAX, &errstr); if (errstr) { yyerror("\"%s\" invalid number: %s", buf, errstr); return (findeol()); } return (NUMBER); } else { nodigits: while (p > buf + 1) lungetc((unsigned char)*--p); c = (unsigned char)*--p; if (c == '-') return (c); } } #define allowed_in_string(x) \ (isalnum(x) || (ispunct(x) && x != '(' && x != ')' && \ x != '{' && x != '}' && \ x != '!' && x != '=' && x != '#' && \ x != ',')) if (isalnum(c) || c == ':' || c == '_') { do { *p++ = c; if ((size_t)(p-buf) >= sizeof(buf)) { yyerror("string too long"); return (findeol()); } c = lgetc(0); } while (c != EOF && (allowed_in_string(c))); lungetc(c); *p = '\0'; token = lookup(buf); if (token == STRING) { yylval.v.string = strdup(buf); if (yylval.v.string == NULL) err(1, "%s", __func__); } return (token); } if (c == '\n') { yylval.lineno = file->lineno; file->lineno++; } if (c == EOF) return (0); return (c); } static const struct got_error* newfile(struct file **nfile, const char *filename, int *fd) { const struct got_error* error = NULL; (*nfile) = calloc(1, sizeof(struct file)); if ((*nfile) == NULL) return got_error_from_errno("calloc"); (*nfile)->stream = fdopen(*fd, "r"); if ((*nfile)->stream == NULL) { error = got_error_from_errno("fdopen"); free((*nfile)); return error; } *fd = -1; /* Stream owns the file descriptor now. */ (*nfile)->name = filename; (*nfile)->lineno = 1; (*nfile)->ungetsize = 16; (*nfile)->ungetbuf = malloc((*nfile)->ungetsize); if ((*nfile)->ungetbuf == NULL) { error = got_error_from_errno("malloc"); fclose((*nfile)->stream); free((*nfile)); return error; } return NULL; } static const struct got_error* new_remote(struct gotconfig_remote_repo **remote) { const struct got_error *error = NULL; *remote = calloc(1, sizeof(**remote)); if (*remote == NULL) error = got_error_from_errno("calloc"); return error; } static const struct got_error* new_fetch_config(struct fetch_config **fetch_config) { const struct got_error *error = NULL; *fetch_config = calloc(1, sizeof(**fetch_config)); if (*fetch_config == NULL) error = got_error_from_errno("calloc"); return error; } static const struct got_error* new_send_config(struct send_config **send_config) { const struct got_error *error = NULL; *send_config = calloc(1, sizeof(**send_config)); if (*send_config == NULL) error = got_error_from_errno("calloc"); return error; } static void closefile(struct file *file) { fclose(file->stream); free(file->ungetbuf); free(file); } const struct got_error * gotconfig_parse(struct gotconfig **conf, const char *filename, int *fd) { const struct got_error *err = NULL; struct sym *sym, *next; *conf = NULL; err = newfile(&file, filename, fd); if (err) return err; TAILQ_INIT(&gotconfig.remotes); yyparse(); closefile(file); /* Free macros and check which have not been used. */ TAILQ_FOREACH_SAFE(sym, &symhead, entry, next) { if (!sym->persist) { free(sym->nam); free(sym->val); TAILQ_REMOVE(&symhead, sym, entry); free(sym); } } if (gerror == NULL) *conf = &gotconfig; return gerror; } static void free_fetch_config(struct fetch_config *fetch_config) { free(remote->fetch_config->repository); free(remote->fetch_config->server); free(remote->fetch_config->protocol); free(remote->fetch_config); } static void free_send_config(struct send_config *send_config) { free(remote->send_config->repository); free(remote->send_config->server); free(remote->send_config->protocol); free(remote->send_config); } void gotconfig_free(struct gotconfig *conf) { struct gotconfig_remote_repo *remote; free(conf->author); while (!TAILQ_EMPTY(&conf->remotes)) { remote = TAILQ_FIRST(&conf->remotes); TAILQ_REMOVE(&conf->remotes, remote, entry); if (remote->fetch_config != NULL) free_fetch_config(remote->fetch_config); if (remote->send_config != NULL) free_send_config(remote->send_config); free(remote->name); free(remote->repository); free(remote->server); free(remote->protocol); free(remote); } } int symset(const char *nam, const char *val, int persist) { struct sym *sym; TAILQ_FOREACH(sym, &symhead, entry) { if (strcmp(nam, sym->nam) == 0) break; } if (sym != NULL) { if (sym->persist == 1) return (0); else { free(sym->nam); free(sym->val); TAILQ_REMOVE(&symhead, sym, entry); free(sym); } } sym = calloc(1, sizeof(*sym)); if (sym == NULL) return (-1); sym->nam = strdup(nam); if (sym->nam == NULL) { free(sym); return (-1); } sym->val = strdup(val); if (sym->val == NULL) { free(sym->nam); free(sym); return (-1); } sym->used = 0; sym->persist = persist; TAILQ_INSERT_TAIL(&symhead, sym, entry); return (0); } int cmdline_symset(char *s) { char *sym, *val; int ret; size_t len; val = strrchr(s, '='); if (val == NULL) return (-1); len = strlen(s) - strlen(val) + 1; sym = malloc(len); if (sym == NULL) errx(1, "cmdline_symset: malloc"); strlcpy(sym, s, len); ret = symset(sym, val + 1, 1); free(sym); return (ret); } char * symget(const char *nam) { struct sym *sym; TAILQ_FOREACH(sym, &symhead, entry) { if (strcmp(nam, sym->nam) == 0) { sym->used = 1; return (sym->val); } } return (NULL); } static int atoul(char *s, u_long *ulvalp) { u_long ulval; char *ep; errno = 0; ulval = strtoul(s, &ep, 0); if (s[0] == '\0' || *ep != '\0') return (-1); if (errno == ERANGE && ulval == ULONG_MAX) return (-1); *ulvalp = ulval; return (0); }
19.992282
75
0.595875
098b9ec0518cbb384e09084aec17454d0196a923
27,784
y
Yacc
src/peanut.y
jongyeol/peanut
c175e268635047f34084e8a107bfdf2ec32e02b6
[ "MIT" ]
1
2020-04-24T04:04:32.000Z
2020-04-24T04:04:32.000Z
src/peanut.y
peanut-lang/peanut
c175e268635047f34084e8a107bfdf2ec32e02b6
[ "MIT" ]
null
null
null
src/peanut.y
peanut-lang/peanut
c175e268635047f34084e8a107bfdf2ec32e02b6
[ "MIT" ]
null
null
null
%{ #define GLOBAL #include "globals.h" #undef GLOBAL #include <stdlib.h> #include <ctype.h> #include <string.h> #include <stdbool.h> #include "eval.h" #include "api.h" #define YYDEBUG 1 #define YYERROR_VERBOSE 1 extern FILE *yyin; //extern YYSTYPE yylval; //extern char* yytext; //extern char token_string[MAX_TOKEN_LENGTH]; pn_node **tree_nodes; //int len_tree_nodes = 0; int yyerrstatus = 0; int yylex(); int yyerror(char* msg); void lex_push_buffer_file(); void lex_push_buffer(char *code); void lex_pop_buffer(); static pn_node *new_node(enum node_type node_type); static pn_node *new_expression(pn_node *object, char *operator, pn_node *other); static pn_node *new_property(pn_node *object, pn_node *property); static pn_node *add_to_last(pn_node *node, pn_node *next); static pn_node *new_if_stmt(pn_node *expression, pn_node *statement_list); static pn_node *add_if_stmt(pn_node *node, pn_node *next); static pn_node *new_while_stmt(pn_node *expression, pn_node *stmt_list); static pn_node *set_object_of_complex_var(pn_node *object, pn_node *chaining_list); static pn_node *new_list(pn_node *items); static pn_node *new_hash(pn_hash_item *items); static pn_hash_item *new_hash_item(pn_node *key, pn_node *value); static pn_hash_item *add_hash_item_to_last(pn_hash_item *item, pn_hash_item *next); static pn_node *new_for_stmt(pn_node *var, pn_node *expression, pn_node *stmt_list); %} %union { int token; pn_node *node; char *text; pn_hash_item *hash_item; } %token <token> CLASS DEF ELIF ELSE END ENDL FOR IF IMPORT IN RETURN WHILE PN_NULL %token <text> PLUS MINUS MULT DIVIDE MOD NOT ASSIGN EQ NEQ AND OR LT LTEQ GT GTEQ %token <text> ID STRING INTEGER REAL %type <node> program codeblock_list codeblock declaration class_decl func_decl_list superclass %type <node> empty_stmt function_decl import_decl func_decl simple_var_list simple_var statement_list statement expression_stmt expression %type <node> simple_expr additive_expr term factor literal list hash %type <node> complex_var chaining_list funcall parameter_list lambda_decl multiline_lambda_decl inline_lambda_decl %type <node> return_stmt if_stmt elseif_stmt_list else_stmt for_stmt while_stmt %type <hash_item> hash_item_list hash_item %type <text> operator add_op rel_op mul_op func_id %start program %% program : codeblock_list { peanut_tree = $1; } ; codeblock_list : codeblock_list codeblock { $$ = add_to_last($1, $2); } | codeblock { $$ = $1; } ; codeblock : declaration { $$ = $1; } | statement { $$ = $1; } ; declaration : import_decl { $$ = $1; } | class_decl { $$ = $1; } | function_decl { $$ = $1; } ; class_decl : CLASS ID superclass ENDL func_decl_list END ENDL { $$ = new_node(NODE_DEF_CLASS); $$->def_class.name = $2; $$->def_class.super_list = $3; $$->def_class.func_list = $5; } | CLASS ID superclass ENDL END ENDL { $$ = new_node(NODE_DEF_CLASS); $$->def_class.name = $2; $$->def_class.super_list = $3; $$->def_class.func_list = NULL; } ; func_decl_list : func_decl_list function_decl { $$ = add_to_last($1, $2); } | function_decl { $$ = $1; } ; superclass : LT simple_var_list { $$ = $2; } | /* empty */ { $$ = NULL; } ; empty_stmt : ENDL { $$ = NULL; } ; function_decl : func_decl ENDL { $$ = $1; } ; import_decl : IMPORT STRING ENDL { // TODO not support in this version } ; func_decl : DEF func_id '(' simple_var_list ')' ENDL statement_list END { pn_node *node = new_node(NODE_DEF_FUNC); node->def_func.func_id = $2; node->def_func.simple_var_list = $4; node->def_func.stmt_list = $7; $$ = node; } | DEF func_id '(' simple_var_list ')' ENDL END { pn_node *node = new_node(NODE_DEF_FUNC); node->def_func.func_id = $2; node->def_func.simple_var_list = $4; node->def_func.stmt_list = NULL; $$ = node; } ; func_id : operator { $$ = strdup($1); } | ID { $$ = strdup($1); } ; operator : PLUS { $$ = $1; } | MINUS { $$ = $1; } | MULT { $$ = $1; } | DIVIDE { $$ = $1; } | MOD { $$ = $1; } | NOT { $$ = $1; } | ASSIGN { $$ = $1; } | EQ { $$ = $1; } | NEQ { $$ = $1; } | AND { $$ = $1; } | OR { $$ = $1; } | LT { $$ = $1; } | LTEQ { $$ = $1; } | GT { $$ = $1; } | GTEQ { $$ = $1; } ; simple_var : ID { pn_node *node = new_node(NODE_VAR_NAME); node->var_name = $1; $$ = node; } ; simple_var_list : simple_var_list ',' simple_var { $$ = add_to_last($1, $3); } | simple_var { $$ = $1; } | /*empty*/ { $$ = NULL; } ; statement_list : statement_list statement { $$ = add_to_last($1, $2); } | statement { $$ = $1; } ; statement : expression_stmt { $$ = $1; } | return_stmt { $$ = $1; } | if_stmt { $$ = $1; } | for_stmt { $$ = $1; } | while_stmt { $$ = $1; } | empty_stmt { $$ = $1; } ; /* expressions ******************************************************/ expression_stmt : expression ENDL { $$ = $1; } ; expression : complex_var ASSIGN simple_expr { $$ = new_expression($1, $2, $3); } | simple_expr { $$ = $1; } ; simple_expr : additive_expr rel_op additive_expr { $$ = new_expression($1, $2, $3); } | additive_expr { $$ = $1; } ; rel_op : LTEQ { $$ = $1; } | LT { $$ = $1; } | GT { $$ = $1; } | GTEQ { $$ = $1; } | EQ { $$ = $1; } | NEQ { $$ = $1; } ; additive_expr : additive_expr add_op term { $$ = new_expression($1, $2, $3); } | term { $$ = $1; } ; add_op : PLUS { $$ = $1; } | MINUS { $$ = $1; } ; term : term mul_op factor { $$ = new_expression($1, $2, $3); } | factor { $$ = $1; } ; mul_op : MULT { $$ = $1; } | DIVIDE { $$ = $1; } | MOD { $$ = $1; } ; factor : '(' expression ')' { $$ = $2; } | lambda_decl { $$ = $1; } | list { $$ = $1; } | hash { $$ = $1; } | complex_var { $$ = $1; } | literal { $$ = $1; } ; literal : STRING { pn_node *node = new_node(NODE_LITERAL); node->value.type = TYPE_STRING; node->value.val.str_val = $1; $$ = node; } | REAL { pn_node *node = new_node(NODE_LITERAL); node->value.type = TYPE_REAL; node->value.val.real_val = atof($1); $$ = node; //free($1); } | INTEGER { pn_node *node = new_node(NODE_LITERAL); node->value.type = TYPE_INTEGER; node->value.val.int_val = atoi($1); $$ = node; //free($1); } | PN_NULL { pn_node *node = new_node(NODE_LITERAL); node->value.type = TYPE_NULL; $$ = node; } ; list : '[' parameter_list ',' ']' { $$ = new_list($2); } | '[' parameter_list ']' { $$ = new_list($2); } ; hash : '{' hash_item_list ',' '}' { $$ = new_hash($2); } | '{' hash_item_list '}' { $$ = new_hash($2); } ; hash_item_list : hash_item_list ',' hash_item { $$ = add_hash_item_to_last($1, $3); } | hash_item { $$ = $1; } | /*empty*/ { $$ = NULL; } ; hash_item : simple_expr ':' simple_expr { $$ = new_hash_item($1, $3); } ; complex_var : list '.' chaining_list { $$ = set_object_of_complex_var($1, $3); } | hash '.' chaining_list { $$ = set_object_of_complex_var($1, $3); } | lambda_decl '.' chaining_list { $$ = set_object_of_complex_var($1, $3); } | literal '.' chaining_list { $$ = set_object_of_complex_var($1, $3); } | '(' expression ')' '.' chaining_list { $$ = set_object_of_complex_var($2, $5); } | chaining_list { $$ = $1; } ; chaining_list : chaining_list '.' simple_var { $$ = new_property($1, $3); } | chaining_list '.' funcall { $3->expr.object = $1; $$ = $3; } | simple_var { $$ = $1; } | funcall { $$ = $1; } ; funcall : func_id '(' parameter_list ')' { $$ = new_expression(NULL, $1, $3); } ; parameter_list : parameter_list ',' expression { $$ = add_to_last($1, $3); } | expression { $$ = $1; } | /*empty*/ { $$ = NULL; } ; lambda_decl : multiline_lambda_decl { $$ = $1; } | inline_lambda_decl { $$ = $1; } ; multiline_lambda_decl : '{' '|' simple_var_list '|' statement_list '}' { pn_node *node = new_node(NODE_LAMBDA); node->lambda.simple_var_list = $3; node->lambda.stmt_list = $5; $$ = node; } ; inline_lambda_decl : '{' '|' simple_var_list '|' expression '}' { pn_node *node = new_node(NODE_LAMBDA); node->lambda.simple_var_list = $3; node->lambda.stmt_list = $5; $$ = node; } ; /* statements ******************************************************/ return_stmt : RETURN expression ENDL { pn_node *node = new_node(NODE_RETURN_STMT); node->return_stmt.expr = $2; $$ = node; } | RETURN ENDL { pn_node *node = new_node(NODE_RETURN_STMT); node->return_stmt.expr = NULL; $$ = node; } ; if_stmt : IF expression ENDL elseif_stmt_list { pn_node *node = new_if_stmt($2, NULL); $$ = add_if_stmt(node, $4); } | IF expression ENDL statement_list elseif_stmt_list { pn_node *node = new_if_stmt($2, $4); $$ = add_if_stmt(node, $5); } ; elseif_stmt_list : else_stmt { $$ = $1; } | ELIF expression ENDL elseif_stmt_list { pn_node *node = new_if_stmt($2, NULL); $$ = add_if_stmt(node, $4); } | ELIF expression ENDL statement_list elseif_stmt_list { pn_node *node = new_if_stmt($2, $4); $$ = add_if_stmt(node, $5); } ; else_stmt : END ENDL { $$ = NULL; } | ELSE statement_list END ENDL { $$ = new_if_stmt(NULL, $2); } ; for_stmt : FOR simple_var IN expression ENDL statement_list END ENDL { $$ = new_for_stmt($2, $4, $6); } | FOR simple_var IN expression ENDL END ENDL { $$ = new_for_stmt($2, $4, NULL); } ; while_stmt : WHILE expression ENDL statement_list END ENDL { $$ = new_while_stmt($2, $4); } | WHILE expression ENDL END ENDL { $$ = new_while_stmt($2, NULL); } ; %% void usage() { fprintf(stdout, "Usage: ./peanut [OPTION].. [FILE]\n" " -t : testmode\n" " -h : help\n" " With no FILE, read standard input.\n" ); } static void run_repl(pn_world *world) { static unsigned int lineno = 0; char *total = (char *)malloc(sizeof(char) * INPUT_STR_BUF * 30); char input[INPUT_STR_BUF]; while (1) { total[0] = 0; while (1) { fprintf(stdout, "[%u]>> ", lineno); fgets(input, INPUT_STR_BUF, stdin); if (strcmp("\n", input) == 0) break; strcat(total, input); } lineno++; pn_object *ret = Peanut_EvalFromString(total, world, true); if (ret == NULL) fprintf(stderr, "# parse error.\n"); } free(total); } void multi_test() { pn_world* worlds[2]; worlds[0] = Peanut_CreateWorld(); //worlds[1] = Peanut_CreateWorld(); pn_object* result = NULL; fprintf(stderr, "def function[%d, %p]\n", 0, worlds[0]); result = Peanut_EvalFromString("def strategy(id, params)\n\t9999\nend\n", worlds[0], true); PN_ASSERT(result != NULL); fprintf(stderr, "end def[%d]\n", 0); /* fprintf(stderr, "def function[%d, %p]\n", 1, worlds[1]); result = Peanut_EvalFromString("def strategy(id, params)\n\t100000\nend\n", worlds[1], true); PN_ASSERT(result != NULL); fprintf(stderr, "end def[%d]\n", 1); */ int i; for (i = 0; i < 1000; i++) { fprintf(stderr, "TEST[%d, %p] start\n", i, worlds[0]); result = Peanut_EvalFromString("1\n", worlds[0], true); //result = Peanut_EvalFromString("strategy(100, 300)\n", worlds[0], true); PN_ASSERT(result != NULL); fprintf(stderr, "TEST[%d, %p] end\n", i, worlds[0]); /* fprintf(stderr, "TEST[%d, %p] start\n", i, worlds[1]); result = Peanut_EvalFromString("strategy(123, 1234)\n", worlds[1], true); PN_ASSERT(result != NULL); fprintf(stderr, "TEST[%d, %p] end\n", i, worlds[1]); */ } Peanut_DestroyWorld(worlds[0]); //Peanut_DestroyWorld(worlds[1]); } static int readfile(const char* filename, char** result) { int size = 0; FILE *f = fopen(filename, "r"); if (f == NULL) return -1; fseek(f, 0, SEEK_END); size = ftell(f); fseek(f, 0, SEEK_SET); *result = (char*)malloc(sizeof(char*) * size + 1); if (size != fread(*result, sizeof(char), size, f)) { free(*result); return -2; } fclose(f); (*result)[size] = 0; return size; } char* filenames[100]; /** * main function of peanut */ int main(int argc, char *argv[]) { bool trace = false; bool with_repl = false; bool eval_test = false; int filename_count = 0; int i; for (i = 1; i < argc; i++) { if (strcmp("-h", argv[i]) == 0) { usage(); return 0; } else if (strcmp("-t", argv[i]) == 0) { trace = true; } else if (strcmp("-i", argv[i]) == 0) { with_repl = true; } else if (strcmp("--eval-test", argv[i]) == 0) { eval_test = true; } else if (strcmp("--multi-test", argv[i]) == 0) { multi_test(); return 0; } else { filenames[filename_count++] = argv[i]; } } pn_world *world = Peanut_CreateWorld(); // run a file or shell mode if (filename_count > 0) { for (i = 0; i < filename_count; i++) { if (eval_test) { char *code; int size = readfile(filenames[i], &code); if (size > 0) Peanut_EvalFromString(code, world, trace); } else { Peanut_EvalFromFile(filenames[i], world, trace); } } if (with_repl) run_repl(world); } else { run_repl(world); } Peanut_DestroyWorld(world); return 0; } pn_world *Peanut_CreateWorld() { return World_Create(); } pn_object *Peanut_EvalFromFile(char *filename, pn_world *world, bool trace) { FILE* backup = NULL; if (filename != NULL) { backup = yyin; yyin = fopen(filename, "r"); if (yyin == NULL) { fprintf(stderr, "file open error. %s\n", filename); return NULL; } } // change lex's buffer lex_push_buffer_file(); //len_tree_nodes = 0; //len_tree_nodes = world->len_tree_nodes; //tree_nodes = (pn_node**)malloc(sizeof(pn_node*) * SIZE_TREE_NODES); int parsed = yyparse(); // restore buffer lex_pop_buffer(); if (filename != NULL) fclose(yyin); // restore yyin yyin = backup; if (parsed == 0) { //world->tree = peanut_tree; //world->tree_nodes = tree_nodes; //world->len_tree_nodes = len_tree_nodes; //return Eval_ExecuteTree(world, world->tree, trace); return Eval_ExecuteTree(world, peanut_tree, trace); } else { yyclearin; yyerrok; //free(tree_nodes); return NULL; } } pn_object *Peanut_EvalFromString(char *code, pn_world *world, bool trace) { // change lex's buffer lex_push_buffer(code); //len_tree_nodes = 0; //tree_nodes = (pn_node**)malloc(sizeof(pn_node*) * SIZE_TREE_NODES); //len_tree_nodes = world->len_tree_nodes; int parsed = yyparse(); // restore lex's buffer lex_pop_buffer(); if (parsed == 0) { //world->tree = peanut_tree; //world->tree_nodes = tree_nodes; //world->len_tree_nodes = len_tree_nodes; //return Eval_ExecuteTree(world, world->tree, trace); return Eval_ExecuteTree(world, peanut_tree, trace); } else { //free(tree_nodes); return NULL; } } void Peanut_DestroyWorld(pn_world *world) { //int i; //FIXME: need debug //for (i = 0; i < world->len_tree_nodes; i++) // free(world->tree_nodes[i]); //free(world->tree_nodes); World_Destroy(world); } /** * error on yacc(bison) */ int yyerror(char *msg) { fprintf(stderr, "# Error: %s\n", msg); return 0; } pn_node nodes[100000]; int node_index = 0; /** * create a node */ static pn_node *new_node(enum node_type node_type) { //pn_node *node = (pn_node *)malloc(sizeof(pn_node)); pn_node *node = &nodes[node_index++]; //FIXME: need debug //tree_nodes[len_tree_nodes++] = node; PN_ASSERT(node != NULL); memset(node, 0, sizeof(pn_node)); node->node_type = node_type; //node->lineno = g_line_no; return node; } static pn_node *new_expression(pn_node *object, char *operator, pn_node *other) { pn_node *node = new_node(NODE_EXPRESSION); PN_ASSERT(node != NULL); node->expr.object = object; node->expr.func_name = operator; node->expr.params = other; return node; } static pn_node *new_property(pn_node *object, pn_node *property) { pn_node *node = new_node(NODE_EXPRESSION); PN_ASSERT(node != NULL); PN_ASSERT(object != NULL); PN_ASSERT(property != NULL); PN_ASSERT(property->node_type == NODE_VAR_NAME); node->expr.object = object; node->expr.func_name = "@"; node->expr.params = property; return node; } static pn_node *add_to_last(pn_node *node, pn_node *next) { pn_node *root = NULL, *t = node; if (t != NULL) { while (t->sibling != NULL) t = t->sibling; t->sibling = next; root = node; } else { root = next; } return root; } static pn_node *add_if_stmt(pn_node *node, pn_node *next) { pn_node *root = NULL, *t = node; if (t != NULL) { while (t->if_stmt.next != NULL) t = t->if_stmt.next; t->if_stmt.next = next; root = node; } else { root = next; } return root; } static pn_node *new_if_stmt(pn_node *expression, pn_node *statement_list) { pn_node *node = new_node(NODE_IF_STMT); PN_ASSERT(node != NULL); node->if_stmt.expr = expression; node->if_stmt.stmt_list = statement_list; return node; } static pn_node *new_while_stmt(pn_node *expression, pn_node *stmt_list) { pn_node *node = new_node(NODE_WHILE_STMT); PN_ASSERT(node != NULL); node->while_stmt.expr = expression; node->while_stmt.stmt_list = stmt_list; return node; } /** * insert `object` to front of chaining_list */ static pn_node *set_object_of_complex_var(pn_node *object, pn_node *chaining_list) { PN_ASSERT(object != NULL); PN_ASSERT(chaining_list != NULL); pn_node *first = chaining_list; pn_node *term = first; while (first != NULL) { PN_ASSERT(first->node_type == NODE_EXPRESSION); term = first; first = first->expr.object; } term->expr.object = object; return chaining_list; } static pn_node *new_list(pn_node *items) { pn_node *node = new_node(NODE_LIST); PN_ASSERT(node != NULL); node->list_items = items; return node; } static pn_node *new_hash(pn_hash_item *items) { pn_node *node = new_node(NODE_HASH); PN_ASSERT(node != NULL); node->hash_items = items; return node; } static pn_hash_item *new_hash_item(pn_node *key, pn_node* value) { pn_hash_item *item = malloc(sizeof(pn_hash_item)); PN_ASSERT(item != NULL); item->key = key; item->value = value; return item; } static pn_hash_item *add_hash_item_to_last(pn_hash_item *item, pn_hash_item *next) { pn_hash_item *root = NULL, *t = item; if (t != NULL) { while (t->next_item != NULL) t = t->next_item; t->next_item = next; root = item; } else { root = next; } return root; } static pn_node *new_for_stmt(pn_node *var, pn_node *expression, pn_node *stmt_list) { pn_node *node = new_node(NODE_FOR_STMT); PN_ASSERT(node != NULL); node->for_stmt.var_name = var->var_name; node->for_stmt.expr = expression; node->for_stmt.stmt_list = stmt_list; //free(var); return node; }
31.043575
138
0.413835
3cd9924c01fd2dfb9b23b5fdfdc4debea086c5a2
12,786
yy
Yacc
sprites/SUndergroundLeaderTransition/SUndergroundLeaderTransition.yy
IstrateMihai0209/PlatformerGMS
67e4f4e7b9ff6d22b595cb0d42a0d7e2291bddf9
[ "MIT" ]
1
2022-01-11T16:26:11.000Z
2022-01-11T16:26:11.000Z
sprites/SUndergroundLeaderTransition/SUndergroundLeaderTransition.yy
IstrateMihai0209/PlatformerGMS
67e4f4e7b9ff6d22b595cb0d42a0d7e2291bddf9
[ "MIT" ]
null
null
null
sprites/SUndergroundLeaderTransition/SUndergroundLeaderTransition.yy
IstrateMihai0209/PlatformerGMS
67e4f4e7b9ff6d22b595cb0d42a0d7e2291bddf9
[ "MIT" ]
null
null
null
{ "id": "274012e4-f208-4e9c-880f-8078574d30e5", "modelName": "GMSprite", "mvc": "1.12", "name": "SUndergroundLeaderTransition", "For3D": false, "HTile": false, "VTile": false, "bbox_bottom": 125, "bbox_left": 0, "bbox_right": 117, "bbox_top": 30, "bboxmode": 0, "colkind": 1, "coltolerance": 0, "edgeFiltering": false, "frames": [ { "id": "2b1aa49d-2c26-422a-9868-f546aa24a8b9", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "1f6b86cf-2871-4db3-a9d2-83ed5209d626", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "2b1aa49d-2c26-422a-9868-f546aa24a8b9", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "71c9e51b-a878-4277-944d-2f2150c668c0", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "2b1aa49d-2c26-422a-9868-f546aa24a8b9", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "bde331bb-5131-4f35-8ae8-1a1e57ba5d4b", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "7023ead2-1d46-4d37-976c-4e7d5f741714", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "bde331bb-5131-4f35-8ae8-1a1e57ba5d4b", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "ec650a56-d68c-438d-9288-1afe49bb0222", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "bde331bb-5131-4f35-8ae8-1a1e57ba5d4b", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "58b88ac9-0a64-4316-887a-164fbb645dfd", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "e6384768-0bee-4e66-adf0-ae2319444e7e", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "58b88ac9-0a64-4316-887a-164fbb645dfd", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "638217d1-50e6-4a6c-bc18-d859b98974eb", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "58b88ac9-0a64-4316-887a-164fbb645dfd", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "453ba2a0-d423-4432-ba28-fa9aaa031ebc", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "23b09687-7527-46ae-94e6-3f38cdcb4790", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "453ba2a0-d423-4432-ba28-fa9aaa031ebc", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "ece821f9-0613-486a-9549-ed3d985721f9", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "453ba2a0-d423-4432-ba28-fa9aaa031ebc", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "efdb6925-a2e4-4010-a116-2ea97f917771", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "593f0edf-2bad-4282-90be-9e6a8c4f0357", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "efdb6925-a2e4-4010-a116-2ea97f917771", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "df00f932-0b68-443d-a511-9283ee5775d9", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "efdb6925-a2e4-4010-a116-2ea97f917771", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "1201e71f-ec99-4bec-ac97-456455d1312e", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "1ff5514c-be86-4a2f-b77f-9975d4cfbd8f", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "1201e71f-ec99-4bec-ac97-456455d1312e", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "cb22d157-9b60-49b9-a24b-267971cd245e", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "1201e71f-ec99-4bec-ac97-456455d1312e", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "43578dba-b52c-449d-abce-588a712d37a8", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "94418098-321f-408a-bcf7-efd42379e19f", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "43578dba-b52c-449d-abce-588a712d37a8", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "89c15af5-7cbf-41ff-8443-a255c1e1a206", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "43578dba-b52c-449d-abce-588a712d37a8", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "fba63ce7-e5a4-464f-85d5-0eb4f397a572", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "015f9b49-f027-4b77-b915-ab6e3038dbb8", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "fba63ce7-e5a4-464f-85d5-0eb4f397a572", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "2f26e64e-ac72-423c-96c6-04f947a88e36", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "fba63ce7-e5a4-464f-85d5-0eb4f397a572", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "c1c315db-e69d-42c4-a295-2202bc69a3f6", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "5d9a803d-eb71-48ab-a1b1-4d3500605162", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "c1c315db-e69d-42c4-a295-2202bc69a3f6", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "2dce3bf1-0c88-45da-8c78-bb5ed8aa451a", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "c1c315db-e69d-42c4-a295-2202bc69a3f6", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "f4ebd27a-5927-49ca-892e-be3bdba609a4", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "e2e1dd60-8e92-4c39-919e-49b964bd596e", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "f4ebd27a-5927-49ca-892e-be3bdba609a4", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "01e1cab4-5fd0-44e0-b09b-678583c46454", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "f4ebd27a-5927-49ca-892e-be3bdba609a4", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "48015ddd-47cc-4a3a-94f9-6639df862633", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "461a69f8-cfee-4d5a-8ea2-ce3b479c6358", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "48015ddd-47cc-4a3a-94f9-6639df862633", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "6608b7bd-3f9f-45be-a8a0-391d31613a06", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "48015ddd-47cc-4a3a-94f9-6639df862633", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "d17e524f-c1b9-467e-b917-b9c7ac52f6be", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "4919cba7-3de2-421c-b14b-df8e0e93d2bf", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "d17e524f-c1b9-467e-b917-b9c7ac52f6be", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "f4092a87-b85e-4237-93a7-a573340df1a8", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "d17e524f-c1b9-467e-b917-b9c7ac52f6be", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] }, { "id": "a46909a7-288a-4829-aa8f-fff8b568792a", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "compositeImage": { "id": "a841a321-fd89-49a5-9db7-6f396282053d", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "a46909a7-288a-4829-aa8f-fff8b568792a", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "69bb3da2-e7a6-4d1f-a319-3f121bee35bf", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "a46909a7-288a-4829-aa8f-fff8b568792a", "LayerId": "6775b2c1-9452-4fe7-a084-45202a176007" } ] } ], "gridX": 0, "gridY": 0, "height": 126, "layers": [ { "id": "6775b2c1-9452-4fe7-a084-45202a176007", "modelName": "GMImageLayer", "mvc": "1.0", "SpriteId": "274012e4-f208-4e9c-880f-8078574d30e5", "blendMode": 0, "isLocked": false, "name": "default", "opacity": 100, "visible": true } ], "origin": 9, "originLocked": false, "playbackSpeed": 10, "playbackSpeedType": 0, "premultiplyAlpha": false, "sepmasks": false, "swatchColours": null, "swfPrecision": 2.525, "textureGroupId": "1225f6b0-ac20-43bd-a82e-be73fa0b6f4f", "type": 0, "width": 144, "xorig": 45, "yorig": 79 }
38.281437
70
0.452526
e37219059dc501799285c8992811b91049e5cc99
45,650
yy
Yacc
TeLICeMS/sources/TeLICeMParse.yy
metatoaster/cellml-api
d7baf9038e42859fa96117db6c9644f9f09ecf8b
[ "W3C" ]
1
2016-10-19T14:48:20.000Z
2016-10-19T14:48:20.000Z
TeLICeMS/sources/TeLICeMParse.yy
metatoaster/cellml-api
d7baf9038e42859fa96117db6c9644f9f09ecf8b
[ "W3C" ]
1
2016-12-05T09:20:14.000Z
2016-12-05T18:08:05.000Z
TeLICeMS/sources/TeLICeMParse.yy
metatoaster/cellml-api
d7baf9038e42859fa96117db6c9644f9f09ecf8b
[ "W3C" ]
14
2015-07-27T13:45:54.000Z
2022-02-02T05:19:53.000Z
%{ #include "cda_compiler_support.h" #undef YYSTYPE #define YYSTYPE TeLICeMSLValue #define YYSTYPE_IS_TRIVIAL 0 %} %define api.prefix {telicem_} %pure-parser %error-verbose %defines %{ #define YYDEBUG 1 #include "TeLICeMSImpl.hxx" #include <stack> #include <cmath> #include <assert.h> #define MATHML_NS L"http://www.w3.org/1998/Math/MathML" #define MAKE_MATHML_OBJECT(store,storetype,eltype) \ ObjRef<iface::mathml_dom::storetype> store; \ { \ RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); \ RETURN_INTO_OBJREF(eltmp, iface::dom::Element, doc->createElementNS(MATHML_NS, eltype)); \ QUERY_INTERFACE(store, eltmp, mathml_dom::storetype);\ } struct PropertyApplicator { const char* propertyName; void (*applyProperty)(iface::mathml_dom::MathMLContentElement* aEl, const std::string& aTarget); }; #define DEFINE_PROPERTYAPPLICATOR(castTo, objName) \ void apply##objName(iface::mathml_dom::MathMLContentElement* aEl, const std::string& aTarget) \ { \ std::wstring str(convertStringToWString(aTarget)); \ static_cast<iface::mathml_dom::MathML##castTo*>(aEl)->objName(str.c_str()); \ } #define DEFINE_PROPERTYAPPLICATOR_AMBIG(castTo, objName) \ void apply##objName##castTo(iface::mathml_dom::MathMLContentElement* aEl, const std::string& aTarget) \ { \ std::wstring str(convertStringToWString(aTarget)); \ dynamic_cast<iface::mathml_dom::MathML##castTo*>(aEl)->objName(str.c_str()); \ } DEFINE_PROPERTYAPPLICATOR(ContentElement, className); DEFINE_PROPERTYAPPLICATOR(ContentElement, mathElementStyle); DEFINE_PROPERTYAPPLICATOR(ContentElement, id); DEFINE_PROPERTYAPPLICATOR(ContentElement, xref); DEFINE_PROPERTYAPPLICATOR(ContentElement, href); DEFINE_PROPERTYAPPLICATOR_AMBIG(ContentToken, definitionURL); DEFINE_PROPERTYAPPLICATOR_AMBIG(ContentToken, encoding); DEFINE_PROPERTYAPPLICATOR_AMBIG(CnElement, type); DEFINE_PROPERTYAPPLICATOR_AMBIG(CnElement, base); DEFINE_PROPERTYAPPLICATOR_AMBIG(CiElement, type); DEFINE_PROPERTYAPPLICATOR_AMBIG(PredefinedSymbol, definitionURL); DEFINE_PROPERTYAPPLICATOR_AMBIG(PredefinedSymbol, encoding); void applyunits(iface::mathml_dom::MathMLContentElement* aEl, const std::string& aTarget) { std::wstring wstr(convertStringToWString(aTarget)); RETURN_INTO_OBJREF(doc, iface::dom::Document, aEl->ownerDocument()); RETURN_INTO_OBJREF(el, iface::dom::Element, doc->documentElement()); RETURN_INTO_WSTRING(nsURI, el->namespaceURI()); aEl->setAttributeNS(nsURI.c_str(), L"units", wstr.c_str()); } static PropertyApplicator pat_element[] = { {"class", applyclassName}, {"style", applymathElementStyle}, {"id", applyid}, {"Xref", applyxref}, {"Href", applyhref}, {NULL, NULL} }; static PropertyApplicator pat_token[] = { {"definitionURL", applydefinitionURLContentToken}, {"encoding", applyencodingContentToken}, {NULL, NULL} }; static PropertyApplicator pat_cn[] = { {"type", applytypeCnElement}, {"base", applybaseCnElement}, {"units", applyunits}, {NULL, NULL} }; static PropertyApplicator pat_ci[] = { {"type", applytypeCiElement}, {NULL, NULL} }; static PropertyApplicator pat_predef[] = { {"definitionURL", applydefinitionURLPredefinedSymbol}, {"encoding", applyencodingPredefinedSymbol}, {NULL, NULL} }; /* * This is used for a range of content elements which don't have any further * properties... */ static PropertyApplicator* patt_contentelement[] = { pat_element, NULL }; static PropertyApplicator* patt_cn[] = { pat_element, pat_token, pat_cn, NULL }; static PropertyApplicator* patt_ci[] = { pat_element, pat_token, pat_ci, NULL }; static PropertyApplicator* patt_predef[] = { pat_element, pat_predef, NULL }; int telicem_lex(TeLICeMSLValue* aLValue, TeLICeMStateScan* aLexer); static void ApplyPropertyList(iface::mathml_dom::MathMLContentElement* aEl, PropertyApplicator** aPropTables, const std::map<std::string, std::string>& aProps) { PropertyApplicator ** p = aPropTables, * q; for (q = *p; (q = *p); p++) { for (; q->propertyName != NULL; q++) { std::map<std::string, std::string>::const_iterator i(aProps.find(q->propertyName)); if (i == aProps.end()) continue; q->applyProperty(aEl, (*i).second); } } } static bool IsConstant(const std::string& aName) { const char* t = aName.c_str(); if (t[0] <= 'i') { if (t[0] <= 'e') { if (t[0] == 'e') { if (t[1] == 'm') // emptyset return strcmp(t + 2, "ptyset") == 0; else if (t[1] == 'u') // eulergamma return strcmp(t + 2, "lergamma") == 0; else if (t[1] == 'x') // exponentiale return strcmp(t + 2, "ponentiale") == 0; else return false; } else if (t[0] == 'c') { // complexes return strcmp(t + 1, "omplexes") == 0; } else return false; } else if (t[0] == 'i') { if (t[1] == 'n') { if (t[2] == 'f') // infinity return strcmp(t + 3, "inity") == 0; else if (t[2] == 't') // integers return strcmp(t + 3, "egers") == 0; else return false; } else if (t[1] == 'm') // imaginaryi return strcmp(t + 2, "aginaryi") == 0; else return false; } else if (t[0] == 'f') // false return strcmp(t + 1, "alse") == 0; else return false; } else { if (t[0] <= 'p') { if (t[0] == 'n') { if (t[1] == 'a') // naturalnumbers return strcmp("turalnumbers", t + 2) == 0; else if (t[1] == 'o') // notanumber return strcmp("tanumber", t + 2) == 0; else return false; } else if (t[0] == 'p') { if (t[1] == 'i') // pi return t[2] == 0; else if (t[1] == 'r') // primes return strcmp("imes", t + 2) == 0; else return false; } } else { if (t[0] == 'r') { if (t[1] == 'a') return strcmp(t + 2, "tionals") == 0; else if (t[1] == 'e') return strcmp(t + 2, "als") == 0; else return false; } else if (t[0] == 't') // true return strcmp(t + 1, "rue") == 0; else return false; } } // Unreachable, but gcc complains if this isn't here... return false; } static iface::mathml_dom::MathMLContentElement* MakeCIOrConstant(const std::string& aName, bool aOverrideConstant, const std::map<std::string,std::string>& aPropList, TeLICeMSParseTarget* aParseTarget) { if (aOverrideConstant || !IsConstant(aName)) { MAKE_MATHML_OBJECT(ciEl, MathMLCiElement, L"ci"); std::wstring name(convertStringToWString(aName)); { RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); RETURN_INTO_OBJREF(tEl, iface::dom::Text, doc->createTextNode(name.c_str())); ciEl->insertArgument(tEl, 1)->release_ref(); } ApplyPropertyList(ciEl, patt_ci, aPropList); ciEl->add_ref(); return ciEl; } else { std::wstring name(convertStringToWString(aName)); RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); RETURN_INTO_OBJREF(tmpstore, iface::dom::Element, doc->createElementNS(MATHML_NS, name.c_str())); DECLARE_QUERY_INTERFACE_OBJREF(store, tmpstore, mathml_dom::MathMLContentElement); ApplyPropertyList(store, patt_predef, aPropList); store->add_ref(); return store; } } static iface::mathml_dom::MathMLContentElement* MakeCaseElement ( iface::mathml_dom::MathMLContentElement* aCondition, iface::mathml_dom::MathMLContentElement* aValue, TeLICeMSParseTarget* aParseTarget, const std::map<std::string, std::string>& aPropList ) { MAKE_MATHML_OBJECT(ceEl, MathMLCaseElement, L"piece"); ceEl->caseValue(aValue); ceEl->caseCondition(aCondition); ApplyPropertyList(ceEl, patt_contentelement, aPropList); ceEl->add_ref(); return ceEl; } static iface::mathml_dom::MathMLContentElement* DoInorderExpression ( const std::string& aOp, TeLICeMSLValue& aLHS, TeLICeMSLValue& aRHS, TeLICeMSParseTarget* aParseTarget, const std::map<std::string, std::string>& aPropList, bool foldLeft ) { // Firstly, we try to merge into the left-hand expression... if (foldLeft && !aLHS.mIndirect && aPropList.size() == 0) { DECLARE_QUERY_INTERFACE_OBJREF(apply, aLHS.math(), mathml_dom::MathMLApplyElement); if (apply != NULL) { RETURN_INTO_OBJREF(op, iface::mathml_dom::MathMLElement, apply->_cxx_operator()); RETURN_INTO_WSTRING(nsURI, op->namespaceURI()); RETURN_INTO_WSTRING(lname, op->localName()); if (nsURI == MATHML_NS && lname == convertStringToWString(aOp)) { apply->appendChild(aRHS.math())->release_ref(); apply->add_ref(); return apply; } } } // We need a new apply element and operator... MAKE_MATHML_OBJECT(apply, MathMLApplyElement, L"apply"); std::wstring waOp(convertStringToWString(aOp)); { RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); RETURN_INTO_OBJREF(operatorDOMEl, iface::dom::Element, doc->createElementNS(MATHML_NS, waOp.c_str())); DECLARE_QUERY_INTERFACE_OBJREF(operatorEl, operatorDOMEl, mathml_dom::MathMLContentElement); apply->appendChild(operatorEl)->release_ref(); } // We now have a new element, so add the left and right hand sides... apply->appendChild(aLHS.math())->release_ref(); apply->appendChild(aRHS.math())->release_ref(); // Put attributes onto the apply... ApplyPropertyList(apply, patt_predef, aPropList); apply->add_ref(); return apply; } static iface::mathml_dom::MathMLContentElement* MakeOtherwiseElement(iface::mathml_dom::MathMLElement* aExpression, const std::map<std::string, std::string>& aPropList, TeLICeMSParseTarget* aParseTarget) { MAKE_MATHML_OBJECT(otherwise, MathMLContentElement, L"otherwise"); otherwise->appendChild(aExpression)->release_ref(); // Put attributes onto the apply... ApplyPropertyList(otherwise, patt_contentelement, aPropList); otherwise->add_ref(); return otherwise; } static iface::mathml_dom::MathMLContentElement* MakePredefinedWrapElement(const std::string& aType, iface::mathml_dom::MathMLElement* aExpression, const std::map<std::string,std::string>& aPropList, TeLICeMSParseTarget* aParseTarget) { MAKE_MATHML_OBJECT(apply, MathMLApplyElement, L"apply"); std::wstring waType(convertStringToWString(aType)); RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); RETURN_INTO_OBJREF(wrapDOMEl, iface::dom::Element, doc->createElementNS(MATHML_NS, waType.c_str())); DECLARE_QUERY_INTERFACE_OBJREF(wrapEl, wrapDOMEl, mathml_dom::MathMLPredefinedSymbol); apply->appendChild(wrapDOMEl)->release_ref(); apply->appendChild(aExpression)->release_ref(); // Put attributes onto the apply... ApplyPropertyList(wrapEl, patt_predef, aPropList); apply->add_ref(); return apply; } static iface::mathml_dom::MathMLContentElement* MakePiecewiseElement(const std::list<iface::mathml_dom::MathMLContentElement*>& aCases, iface::mathml_dom::MathMLContentElement* aOtherwise, const std::map<std::string,std::string>& aPropList, TeLICeMSParseTarget* aParseTarget) { MAKE_MATHML_OBJECT(piecewise, MathMLPiecewiseElement, L"piecewise"); for (std::list<iface::mathml_dom::MathMLContentElement*>::const_iterator i = aCases.begin(); i != aCases.end(); i++) piecewise->appendChild(*i)->release_ref(); if (aOtherwise != NULL) piecewise->appendChild(aOtherwise)->release_ref(); piecewise->add_ref(); return piecewise; } #define CHILD_BVAR 0x0001 #define CHILD_LOWLIMIT 0x0002 #define CHILD_UPLIMIT 0x0004 #define CHILD_DEGREE 0x0008 #define CHILD_LOGBASE 0x0010 static struct FuncInfo { const char* match; enum { TOPLEVEL, APPLY } InterpretAs; int SpecialQualifiers; const char* el; } FunctionInformation[] = { {"bvar", FuncInfo::TOPLEVEL, 0, "bvar"}, {"conditon", FuncInfo::TOPLEVEL, 0, "condition"}, {"definite_integral", FuncInfo::APPLY, CHILD_BVAR|CHILD_LOWLIMIT|CHILD_UPLIMIT, "int"}, {"degree", FuncInfo::TOPLEVEL, 0, "degree"}, {"domainofapplication", FuncInfo::TOPLEVEL, 0, "domainofapplication"}, {"fn", FuncInfo::TOPLEVEL, 0, "fn"}, {"interval", FuncInfo::TOPLEVEL, 0, "interval"}, {"lambda", FuncInfo::TOPLEVEL, 0, "lambda"}, {"list", FuncInfo::TOPLEVEL, 0, "list"}, {"log", FuncInfo::APPLY, CHILD_LOGBASE, "log"}, {"logbase", FuncInfo::TOPLEVEL, 0, "logbase"}, {"lowlimit", FuncInfo::TOPLEVEL, 0, "lowlimit"}, {"matrix", FuncInfo::TOPLEVEL, 0, "matrix"}, {"momentabout", FuncInfo::TOPLEVEL, 0, "momentabout"}, {"row", FuncInfo::TOPLEVEL, 0, "matrixrow"}, {"set", FuncInfo::TOPLEVEL, 0, "set"}, {"uplimit", FuncInfo::TOPLEVEL, 0, "uplimit"}, {"vector", FuncInfo::TOPLEVEL, 0, "vector"} }; #define FUNCTION_TABLE_SIZE (sizeof(FunctionInformation)/sizeof(FunctionInformation[0])) static FuncInfo* GetFunctionInformation(const char* name) { uint32_t upperp = FUNCTION_TABLE_SIZE - 1, lowerp = 0; FuncInfo* ret = NULL; do { uint32_t mid = (upperp + lowerp) / 2; int cmp = strcmp(FunctionInformation[mid].match, name); if (cmp == 0) { ret = FunctionInformation + mid; break; } else if (upperp <= lowerp) break; else if (cmp < 0) lowerp = mid + 1; else { if (mid == lowerp) break; upperp = mid - 1; } } while (true); return ret; } struct Qualifier { int flag; const char* localname; } Qualifiers[] = { {CHILD_BVAR, "bvar"}, {CHILD_LOWLIMIT, "lowlimit"}, {CHILD_UPLIMIT, "uplimit"}, {CHILD_DEGREE, "degree"}, {CHILD_LOGBASE, "logbase"} }; #define QUALIFIER_TABLE_SIZE (sizeof(Qualifiers)/sizeof(Qualifiers[0])) template<typename C> class auto_release_container { public: auto_release_container(C& aC) : mC(aC) { } ~auto_release_container() { for (typename C::iterator i = mC.begin(); i != mC.end(); i++) (*i)->release_ref(); } private: C& mC; }; static iface::mathml_dom::MathMLContentElement* DoFunction(const std::string& aName, const std::list<iface::mathml_dom::MathMLContentElement*>& aMathList, TeLICeMSParseTarget* aParseTarget, const std::map<std::string,std::string>& aPropList) { FuncInfo* fi = GetFunctionInformation(aName.c_str()); FuncInfo deffi; std::wstring el; if (fi == NULL) el = convertStringToWString(aName); else el = convertStringToWString(fi->el); RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); ObjRef<iface::mathml_dom::MathMLContentElement> namedEl = QueryInterface(doc->createElementNS(MATHML_NS, el)); if (fi == NULL) { if (namedEl == NULL) { namedEl = QueryInterface(doc->createElementNS(MATHML_NS, L"csymbol")); ObjRef<iface::dom::Text> tn(doc->createTextNode(el)); namedEl->appendChild(tn)->release_ref(); } fi = &deffi; deffi.InterpretAs = FuncInfo::APPLY; deffi.SpecialQualifiers = 0; } else namedEl = QueryInterface(doc->createElementNS(MATHML_NS, convertStringToWString(fi->el))); std::list<iface::mathml_dom::MathMLContentElement*> notConsumed; std::list<iface::mathml_dom::MathMLContentElement*> endQualifiers; auto_release_container<std::list<iface::mathml_dom::MathMLContentElement*> > eqar(endQualifiers); ObjRef<iface::mathml_dom::MathMLContentElement> math; if (fi->InterpretAs == FuncInfo::TOPLEVEL) { math = namedEl; } else { MAKE_MATHML_OBJECT(apply, MathMLContentElement, L"apply"); apply->appendChild(namedEl)->release_ref(); math = apply; } int sq = fi->SpecialQualifiers; for (std::list<iface::mathml_dom::MathMLContentElement*>::const_iterator j = aMathList.begin(); j != aMathList.end(); j++) { bool foundOne = false; for (size_t i = 0; i < static_cast<size_t>(QUALIFIER_TABLE_SIZE); i++) { std::wstring ln16(convertStringToWString(Qualifiers[i].localname)); if ((sq & Qualifiers[i].flag) == 0) continue; RETURN_INTO_WSTRING(localname, (*j)->localName()); if (localname != ln16) continue; sq &= ~Qualifiers[i].flag; (*j)->add_ref(); endQualifiers.push_back(*j); foundOne = true; } if (!foundOne) notConsumed.push_back(*j); } // Any remaining qualifiers get pushed onto the end of the list. for (int i = QUALIFIER_TABLE_SIZE - 1; i >= 0; i--) { if ((sq & Qualifiers[i].flag) == 0) continue; /* We never allow all the arguments to be used up by qualifiers, * because we automatically hold one back to use as the argument, so * e.g. log(5) is <apply><log/><cn>5</cn></apply> not * <apply><log/><logbase><cn>5</cn></logbase></apply> */ if (notConsumed.size() <= 2) break; std::wstring ln16(convertStringToWString(Qualifiers[i].localname)); RETURN_INTO_OBJREF(namedElN, iface::dom::Element, doc->createElementNS(MATHML_NS, ln16.c_str())); DECLARE_QUERY_INTERFACE_OBJREF(namedEl, namedElN, mathml_dom::MathMLContentElement); namedEl->appendChild(notConsumed.back())->release_ref(); notConsumed.pop_back(); namedEl->add_ref(); endQualifiers.push_back(namedEl); } ObjRef<iface::dom::Node> ignore; for (std::list<iface::mathml_dom::MathMLContentElement*>::iterator i = endQualifiers.begin(); i != endQualifiers.end(); i++) math->appendChild(*i)->release_ref(); for (std::list<iface::mathml_dom::MathMLContentElement*>::iterator i = notConsumed.begin(); i != notConsumed.end(); i++) math->appendChild(*i)->release_ref(); math->add_ref(); return math; } static iface::mathml_dom::MathMLContentElement* MakeConstant(double aValue, TeLICeMSParseTarget* aParseTarget, const std::map<std::string,std::string>& aPropList) { MAKE_MATHML_OBJECT(cn, MathMLCnElement, L"cn"); // Put attributes onto the apply... ApplyPropertyList(cn, patt_cn, aPropList); wchar_t buf[40]; int expn; if (aValue == 0) expn = 0; else if (aValue < 0) expn = -static_cast<int>(floor(log10(-aValue))); else expn = static_cast<int>(floor(log10(aValue))); RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); if (expn < -3 || expn > 3) { double mant = aValue / pow(10.0, expn); cn->type(L"e-notation"); { any_swprintf(buf, 40, L"%.10g", mant); RETURN_INTO_OBJREF(tn, iface::dom::Text, doc->createTextNode(buf)); cn->insertArgument(tn, 1)->release_ref(); } any_swprintf(buf, 40, L"%d", expn); RETURN_INTO_OBJREF(tn, iface::dom::Text, doc->createTextNode(buf)); cn->insertArgument(tn, 2)->release_ref(); } else { any_swprintf(buf, 40, L"%.10g", aValue); RETURN_INTO_OBJREF(tn, iface::dom::Text, doc->createTextNode(buf)); cn->insertArgument(tn, 1)->release_ref(); } cn->add_ref(); return cn; } static iface::mathml_dom::MathMLContentElement* DoDerivative ( const wchar_t* aDifftype, iface::mathml_dom::MathMLContentElement* aExpr, iface::mathml_dom::MathMLContentElement* aBvar, iface::mathml_dom::MathMLContentElement* aDegree, const std::map<std::string,std::string>& aPropList, TeLICeMSParseTarget* aParseTarget ) { RETURN_INTO_OBJREF(doc, iface::dom::Document, aParseTarget->document()); RETURN_INTO_OBJREF(opN, iface::dom::Element, doc->createElementNS(MATHML_NS, aDifftype)); DECLARE_QUERY_INTERFACE_OBJREF(op, opN, mathml_dom::MathMLContentElement); MAKE_MATHML_OBJECT(apply, MathMLApplyElement, L"apply"); apply->appendChild(op)->release_ref(); DECLARE_QUERY_INTERFACE_OBJREF(bvEl, aBvar, mathml_dom::MathMLBvarElement); if (bvEl == NULL) { MAKE_MATHML_OBJECT(bvar, MathMLContainer, L"bvar"); QUERY_INTERFACE(bvEl, bvar, mathml_dom::MathMLBvarElement); bvar->insertArgument(aBvar, 1)->release_ref(); } if (aDegree != NULL) { MAKE_MATHML_OBJECT(degree, MathMLElement, L"degree"); degree->appendChild(aDegree)->release_ref(); bvEl->appendChild(degree)->release_ref(); } apply->appendChild(bvEl)->release_ref(); apply->appendChild(aExpr)->release_ref(); apply->add_ref(); return apply; } void telicem_error(TeLICeMStateScan *aLexer, TeLICeMSParseTarget* aParseTarget, const char *aMessage) { aLexer->lexerError(aMessage); } %} %parse-param {TeLICeMStateScan *aLexer} %parse-param {TeLICeMSParseTarget *aParseTarget} %lex-param {TeLICeMStateScan *aLexer} %token T_ROLETYPE "role type (reactant, product, rate, catalyst, activator, inhibitor, or modifier)" %token T_DIRECTIONTYPE "reaction direction type (forward or reverse)" %token T_SIPREFIX "standard SI prefix" %token T_INTERFACETYPE "interface type (in or out)" %token T_REVERSIBILITY "reversibility (rev or irrev)" /* General syntax... */ %token T_AS "as" %token T_BASE "base" %token T_BETWEEN "between" %token T_CASE "case" %token T_COMP "comp" %token T_DEF "def" %token T_DIR "dir" %token T_DVAR "dvar" %token T_ELSE "else" %token T_ENDCOMP "endcomp" %token T_ENDDEF "enddef" %token T_ENDROLE "endrole" %token T_ENDVAR "endvar" %token T_EXPO "expo" %token T_NONNEGNUMBER "non-negative number" %token T_FOR "for" %token T_GROUP "group" %token T_IDENTIFIER "any identifier" %token T_IMPORT "import" %token T_INCL "incl" %token T_INIT "init" %token T_MAP "map" %token T_MATH "math" %token T_MODEL "model" %token T_MULT "mult" %token T_NAME "name" %token T_NAMESPACE "namespace" %token T_OFF "off" %token T_PIECEWISE "piecewise" %token T_PREF "pref" %token T_PRIV "priv" %token T_PUB "pub" %token T_QUOTED "a quoted string" %token T_REACT "react" %token T_ROLE "role" %token T_STOICHIO "stoichio" %token T_THEN "then" %token T_TYPE "type" %token T_UNIT "unit" %token T_VAR "var" %token T_VARS "vars" %token T_WITH "with" %token T_OR "or" %token T_AND "and" %token T_EQEQ "==" %token T_NEQ "<>" %token T_GE ">=" %token T_LE "<=" %token T_NOT "not" %token T_DIFF "d(" %token T_PARTIALDIFF "del(" %left '=' T_EQEQ T_NEQ %left T_AND %left T_OR %left T_GE T_LE '<' '>' %left '+' '-' %left '*' '/' T_DIFF T_PARIALDIFF %left T_IDENTIFIER %left T_NOT %right VT_UNARY %left '(' ')' '{' '}' %% valid: model { if (!aParseTarget->assertType("CellML")) return 1; } | math_expr { if (!aParseTarget->assertType("MathML")) return 1; static_cast<TeLICeMSParseMathML*>(aParseTarget)->mElement-> appendChild($1.math())->release_ref(); }; model: modelstart modellist T_ENDDEF ';' ; modelstart: T_DEF T_MODEL T_IDENTIFIER T_AS { // Set the name of the model std::wstring modelName($3.widestring()); static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel->name(modelName.c_str()); }; modellist: modellist T_DEF modeldefsomething { static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->addElement($3.element()); } | /* empty */ {}; modeldefsomething: units | comp | group | map | import; import: importstart importlist T_ENDDEF ';' { $$ = $2; }; importstart: T_IMPORT T_QUOTED T_AS { // We are importing something, which means the model should be a CellML 1.1 // model (as opposed to a CellML 1.0 model, which is what it is by default) RETURN_INTO_WSTRING(v, static_cast<TeLICeMSParseCellML*>(aParseTarget)-> mModel->cellmlVersion()); if (v == L"1.0") { RETURN_INTO_OBJREF(altVer, iface::cellml_api::Model, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel-> getAlternateVersion(L"1.1")); static_cast<CDA_TeLICeMModelResult*>( static_cast<CDA_TeLICeMResultBase*>( static_cast<TeLICeMSParseCellML*>(aParseTarget)->mResult))->mModel = altVer; static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel = altVer; } // Create the import definition RETURN_INTO_OBJREF(imp, iface::cellml_api::CellMLImport, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel->createCellMLImport()); // Check that there is actually a URI std::wstring uri($2.widestring()); if (uri == L"") YYABORT; // Specify the URI for the import definition RETURN_INTO_OBJREF(xlinkHref, iface::cellml_api::URI, imp->xlinkHref()); xlinkHref->asText(uri.c_str()); $$.element(imp); }; importlist: importlist importsomething { $$ = $1; $$.element()->addElement($2.element()); } | /* empty */ { $$ = $0; }; importsomething: importunit | importcomp; importunit: T_UNIT T_IDENTIFIER T_AS T_IDENTIFIER ';' { // Create the units import RETURN_INTO_OBJREF(importUnits, iface::cellml_api::ImportUnits, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->createImportUnits()); // Set the name of the reference and current units std::wstring unitsRef($2.widestring()); importUnits->unitsRef(unitsRef.c_str()); std::wstring unitsName($4.widestring()); importUnits->name(unitsName.c_str()); $$.element(importUnits); }; importcomp: T_COMP T_IDENTIFIER T_AS T_IDENTIFIER ';' { // Create the component import RETURN_INTO_OBJREF(importComponent, iface::cellml_api::ImportComponent, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->createImportComponent() ); // Set the name of the reference and current components std::wstring componentRef($2.widestring()); importComponent->componentRef(componentRef.c_str()); std::wstring componentName($4.widestring()); importComponent->name(componentName.c_str()); $$.element(importComponent); }; units: unitsstart unitsbody ';'; unitsbody: T_BASE T_UNIT { // Make the units definition a base unit definition DECLARE_QUERY_INTERFACE_OBJREF(u, $0.element(), cellml_api::Units); u->isBaseUnits(true); } | T_DEF unitlist T_ENDDEF ; unitsstart: T_UNIT T_IDENTIFIER T_AS { // Create the units definition RETURN_INTO_OBJREF(cellmlUnits, iface::cellml_api::Units, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->createUnits()); // Set the name of the units definition std::wstring unitsName($2.widestring()); cellmlUnits->name(unitsName.c_str()); $$.element(cellmlUnits); }; unitlist: unitlist unititem { $1.element()->addElement($2.element()); $$ = $1; } | /* empty */ { $$ = $-1; }; unititem: unititemstart unititemattributes ';' ; unititemstart: T_UNIT T_IDENTIFIER { // Create the unit item RETURN_INTO_OBJREF(cellmlUnit, iface::cellml_api::Unit, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->createUnit()); // Set the units that the unit item refers to std::wstring unitItemUnits($2.widestring()); cellmlUnit->units(unitItemUnits.c_str()); $$.element(cellmlUnit); }; unititemattributes: '{' unitattributelist '}' | /* empty */; unitattributelist: unitattributelist ',' unitattributeitem | unitattributeitem { $$ = $-1; }; anynumber: T_NONNEGNUMBER | '-' T_NONNEGNUMBER { $$.number(-$2.number()); }; siPrefixOrNumber: T_SIPREFIX { $$.number($1.siPrefix()); } | anynumber; unitattributeitem: T_PREF ':' siPrefixOrNumber { // Set the prefix for the unit item DECLARE_QUERY_INTERFACE_OBJREF(unit, $-1.element(), cellml_api::Unit); unit->prefix(static_cast<int32_t>($3.number())); } | T_EXPO ':' anynumber { // Set the exponent for the unit item DECLARE_QUERY_INTERFACE_OBJREF(unit, $-1.element(), cellml_api::Unit); unit->exponent($3.number()); } | T_MULT ':' anynumber { // Set the multiplier for the unit item DECLARE_QUERY_INTERFACE_OBJREF(unit, $-1.element(), cellml_api::Unit); unit->multiplier($3.number()); } | T_OFF ':' anynumber { // Set the offset for the unit item DECLARE_QUERY_INTERFACE_OBJREF(unit, $-1.element(), cellml_api::Unit); unit->offset($3.number()); }; comp: compstart complist T_ENDDEF ';'; compstart: T_COMP T_IDENTIFIER T_AS { // Create the component definition RETURN_INTO_OBJREF(component, iface::cellml_api::CellMLComponent, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->createComponent()); // Set the name of the component definition std::wstring componentName($2.widestring()); component->name(componentName.c_str()); $$.element(component); }; complistdefsomething: units { $-1.element()->addElement($1.element()); } | math { DECLARE_QUERY_INTERFACE_OBJREF(mathCont, $-1.element(), cellml_api::MathContainer); mathCont->addMath($1.mathMath()); } | reaction { $-1.element()->addElement($1.element()); }; complistsomething: T_DEF complistdefsomething { $$ = $2; } | var { $0.element()->addElement($1.element()); }; complist: complist complistsomething { $$ = $1; } | /* empty */ { $$ = $0; }; var: varstart varparams ';' ; varstart: T_VAR T_IDENTIFIER ':' T_IDENTIFIER { // Create the variable definition RETURN_INTO_OBJREF(cellmlVariable, iface::cellml_api::CellMLVariable, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel-> createCellMLVariable()); // Set the variable and units name of the variable definition std::wstring variableName($2.widestring()); cellmlVariable->name(variableName.c_str()); std::wstring unitsName($4.widestring()); cellmlVariable->unitsName(unitsName.c_str()); $$.element(cellmlVariable); }; varparams: '{' varparamlist '}' | /* empty */ ; varparamlist: varparamlist ',' varparamitem | varparamitem { $$ = $-1; }; varparamitem: T_INIT ':' varparamiteminitval { // Set the initial value for the variable definition std::wstring ivText($3.widestring()); DECLARE_QUERY_INTERFACE_OBJREF(cv, $-1.element(), cellml_api::CellMLVariable); cv->initialValue(ivText.c_str()); } | T_PUB ':' T_INTERFACETYPE { // Set the public interface for the variable definition DECLARE_QUERY_INTERFACE_OBJREF(cv, $-1.element(), cellml_api::CellMLVariable); cv->publicInterface($3.variableInterfaceType()); } | T_PRIV ':' T_INTERFACETYPE { // Set the public interface for the variable definition DECLARE_QUERY_INTERFACE_OBJREF(cv, $-1.element(), cellml_api::CellMLVariable); cv->privateInterface($3.variableInterfaceType()); }; varparamiteminitval: anynumber { char buf[30]; any_snprintf(buf, sizeof(buf), "%g", $1.number()); $$.string(buf); } | T_IDENTIFIER; math: mathstart math_list T_ENDDEF ';' { $$ = $1; for (std::list<iface::mathml_dom::MathMLContentElement*>::const_iterator i = $2.mathList().begin(); i != $2.mathList().end(); i++) $$.mathMath()->appendChild(*i)->release_ref(); }; mathstart: T_MATH T_AS { // Create a math container... RETURN_INTO_OBJREF(mathel, iface::dom::Element, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel->createMathElement()); $$.mathMathFromDOM(mathel); }; math_list: math_list math_expr ';' { $$ = $1; $$.addToMathList($2.math()); } | /* empty */ { $$.makeMathList(); }; math_attrs: '{' math_attr_list '}' { $$ = $2; } | /* empty */ { std::map<std::string, std::string> empty; $$.propertyMap(empty); }; math_attr_list: math_attr_list2 math_attr { $$ = $2; } | /* empty */ { std::map<std::string, std::string> empty; $$.propertyMap(empty); }; math_attr_list2: math_attr_list2 math_attr ',' { $$ = $2; } | /* empty */ { std::map<std::string, std::string> empty; $$.propertyMap(empty); }; math_attr: math_attr_id ':' math_attr_value { $$ = $0; $$.propertyMap().insert(std::pair<std::string, std::string>($1.string(), $3.string())); }; math_attr_id: T_IDENTIFIER | T_QUOTED | T_BASE { $$.string("base"); } | T_TYPE { $$.string("type"); } | T_UNIT { $$.string("units"); }; math_attr_value: T_QUOTED | T_IDENTIFIER | anynumber { char buf[30]; any_snprintf(buf, sizeof(buf), "%g", $1.number()); $$.string(buf); }; math_expr: T_IDENTIFIER math_attrs math_maybefunction_args { if ($3.mOverrideBuiltin) { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoFunction($1.string(), $3.mathList(), aParseTarget, $2.propertyMap())); $$.math(m); } else { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, MakeCIOrConstant($1.string(), $1.mOverrideBuiltin, $2.propertyMap(), aParseTarget)); $$.math(m); } } | '(' math_expr ')' { $$ = $2; $$.mIndirect = true; } | math_expr additive_op math_attrs math_expr %prec '+' { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoInorderExpression($2.string(), $1, $4, aParseTarget, $3.propertyMap(), $2.string() == "plus")); $$.math(m); } | math_expr multiplicative_op math_attrs math_expr %prec '*' { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoInorderExpression($2.string(), $1, $4, aParseTarget, $3.propertyMap(), $2.string() == "times")); $$.math(m); } | math_expr comparative_op_lowerprec math_attrs math_expr %prec T_EQEQ { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoInorderExpression($2.string(), $1, $4, aParseTarget, $3.propertyMap(), true)); $$.math(m); } | math_expr comparative_op_higherprec math_attrs math_expr %prec T_GE { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoInorderExpression($2.string(), $1, $4, aParseTarget, $3.propertyMap(), true)); $$.math(m); } | math_expr T_AND math_attrs math_expr { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoInorderExpression("and", $1, $4, aParseTarget, $3.propertyMap(), true)); $$.math(m); } | math_expr T_OR math_attrs math_expr { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoInorderExpression("or", $1, $4, aParseTarget, $3.propertyMap(), true)); $$.math(m); } | T_NONNEGNUMBER math_attrs { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, MakeConstant($1.number(), aParseTarget, $2.propertyMap())); $$.math(m); } | T_PIECEWISE math_attrs '(' piecewise_case_list piecewise_maybe_else ')' { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, MakePiecewiseElement($4.mathList(), $5.math(), $2.propertyMap(), aParseTarget)); $$.math(m); } | unary_op math_attrs math_expr %prec VT_UNARY { bool success = false; if (!$3.mIndirect) { bool isMinus = $1.string() == "minus", isPlus = $1.string() == "plus"; if (isMinus || isPlus) { DECLARE_QUERY_INTERFACE_OBJREF(cn, $3.math(), mathml_dom::MathMLCnElement); if (cn != NULL) { RETURN_INTO_OBJREF(ma1, iface::dom::Node, cn->getArgument(1)); DECLARE_QUERY_INTERFACE_OBJREF(t, ma1, dom::Text); RETURN_INTO_WSTRING(td, t->data()); if (isMinus) td = L"-" + td; t->data(td.c_str()); $$ = $3; success = true; } } } if (!success) { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, MakePredefinedWrapElement($1.string(), $3.math(), $2.propertyMap(), aParseTarget)); $$.math(m); } } | T_DIFF math_expr ')' '/' T_DIFF math_expr math_possible_degree ')' math_attrs { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoDerivative(L"diff", $2.math(), $6.math(), $7.math(), $9.propertyMap(), aParseTarget)); $$.math(m); } | T_PARTIALDIFF math_expr ')' '/' T_PARTIALDIFF math_expr math_possible_degree ')' math_attrs { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, DoDerivative(L"partialdiff", $2.math(), $6.math(), $7.math(), $9.propertyMap(), aParseTarget)); $$.math(m); }; additive_op: '+' { $$.string("plus"); } | '-' { $$.string("minus"); }; multiplicative_op: '*' { $$.string("times"); } | '/' { $$.string("divide"); }; comparative_op_lowerprec: '=' { $$.string("eq"); } | T_EQEQ { $$.string("eq"); } | T_NEQ { $$.string("neq"); } comparative_op_higherprec: '<' { $$.string("lt"); } | '>' { $$.string("gt"); } | T_GE { $$.string("geq");} | T_LE { $$.string("leq"); }; unary_op: '-' { $$.string("minus"); } | T_NOT { $$.string("not"); } | '+' { $$.string("plus"); }; math_maybefunction_args: '(' math_function_arg_list ')' { $$ = $2; $$.mOverrideBuiltin = true; } | /* empty */ { $$.mOverrideBuiltin = false; }; math_function_arg_list: math_function_arg_list ',' math_expr { $$ = $1; $$.addToMathList($3.math()); } | math_expr { $$.makeMathList(); $$.addToMathList($1.math()); }; piecewise_case_list: piecewise_case_list piecewise_case_pair { $$ = $1; $$.addToMathList($2.math()); } | /* empty */ { $$.makeMathList(); }; piecewise_case_pair: T_CASE math_attrs math_expr T_THEN math_expr { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, MakeCaseElement($3.math(), $5.math(), aParseTarget, $2.propertyMap())); $$.math(m); }; piecewise_maybe_else: T_ELSE math_attrs math_expr { RETURN_INTO_OBJREF(m, iface::mathml_dom::MathMLContentElement, MakeOtherwiseElement($3.math(), $2.propertyMap(), aParseTarget)); $$.math(m); } | /* empty */ { $$.math(NULL); }; math_possible_degree: ',' math_expr { $$ = $2; }| /* empty */ { $$.math(NULL); }; reaction: reaction_start reaction_list T_ENDDEF ';'; reaction_start: T_REVERSIBILITY T_REACT T_FOR { // Create the reaction definition RETURN_INTO_OBJREF(reaction, iface::cellml_api::Reaction, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel->createReaction()); // Set the type of the reaction reaction->reversible($1.boolean()); $$.element(reaction); }; reaction_list: reaction_list reaction_statement { $$ = $1; $$.element()->addElement($2.element()); } | /* empty */ { $$ = $0; }; reaction_statement: reaction_statement_start role_list T_ENDVAR ';'; reaction_statement_start: T_VAR T_IDENTIFIER T_WITH { // Create the variable reference RETURN_INTO_OBJREF(varRef, iface::cellml_api::VariableRef, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel-> createVariableRef()); // Set the name of the variable reference std::wstring varName($2.widestring()); varRef->variableName(varName.c_str()); $$.element(varRef); }; role_list: role_list role { $$ = $1; $$.element()->addElement($2.element()); } | /* empty */ { $$ = $0; }; role: role_start role_attributes role_maybe_with ';'; role_start: T_ROLE T_ROLETYPE { // Create the role RETURN_INTO_OBJREF(role, iface::cellml_api::Role, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel-> createRole()); // Set the type of the role role->variableRole($2.reactionRoleType()); $$.element(role); }; role_maybe_with: T_WITH role_math_statements T_ENDROLE | /* empty */; role_attributes: '{' role_attribute_list '}' { $$ = $0; } | /* empty */ { $$ = $0; }; role_attribute_list: role_attribute_list ',' role_attribute_item | role_attribute_item { $$ = $-1; }; role_attribute_item: T_DIR ':' T_DIRECTIONTYPE { // Set the direction of the role DECLARE_QUERY_INTERFACE_OBJREF(role, $-1.element(), cellml_api::Role); role->direction($3.reactionDirectionType()); } | T_DVAR ':' T_IDENTIFIER { // Set the delta variable of the role std::wstring deltaVariableName($3.widestring()); DECLARE_QUERY_INTERFACE_OBJREF(role, $-1.element(), cellml_api::Role); role->deltaVariableName(deltaVariableName.c_str()); } | T_STOICHIO ':' anynumber { DECLARE_QUERY_INTERFACE_OBJREF(role, $-1.element(), cellml_api::Role); // Set the sotichiometry of the role role->stoichiometry($3.number()); }; role_math_statements: role_math_statements T_DEF math { $$ = $1; $$.addToMathList($3.math()); } | /* empty */ { $$ = $-1; }; group: group_start group_types group_list T_ENDDEF ';' ; group_start: T_GROUP T_AS { // Create the group definition RETURN_INTO_OBJREF(g, iface::cellml_api::Group, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel-> createGroup()); $$.element(g); }; group_types: group_types group_type { $$ = $1; $$.element()->addElement($2.element()); } | /* empty */ { $$ = $0; }; group_type: group_type_start group_type_attributes ';'; group_type_start: T_TYPE T_IDENTIFIER group_maybenamespace { // Create the relationship reference for the group RETURN_INTO_OBJREF(rr, iface::cellml_api::RelationshipRef, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->createRelationshipRef()); std::wstring name($2.widestring()), ns($3.widestring()); rr->setRelationshipName(ns.c_str(), name.c_str()); $$.element(rr); }; group_maybenamespace: T_NAMESPACE T_QUOTED { $$ = $2; } | /* empty */ { $$.string(""); } ; group_type_attributes: T_WITH T_NAME T_IDENTIFIER { DECLARE_QUERY_INTERFACE_OBJREF(rr, $0.element(), cellml_api::RelationshipRef); std::wstring name($3.widestring()); rr->name(name.c_str()); } | /* empty */ ; group_list: group_list group_item { $$ = $1; $$.element()->addElement($2.element()); } | /* empty */ { $$ = $0; }; group_item: group_item_start group_maybe_incl ';' { $$ = $1; }; group_maybe_incl: group_list_incl group_list T_ENDCOMP | /* empty */; group_list_incl: T_INCL { $$ = $0; }; group_item_start: T_COMP T_IDENTIFIER { // Create the component reference for the group RETURN_INTO_OBJREF(cr, iface::cellml_api::ComponentRef, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel-> createComponentRef()); // Set the name of the component reference std::wstring componentRefName($2.widestring()); cr->componentName(componentRefName.c_str()); $$.element(cr); }; map: map_start map_list T_ENDDEF ';'; map_start: T_MAP T_BETWEEN T_IDENTIFIER T_AND T_IDENTIFIER T_FOR { // Create the connection definition RETURN_INTO_OBJREF(conn, iface::cellml_api::Connection, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel-> createConnection()); RETURN_INTO_OBJREF(cm, iface::cellml_api::MapComponents, conn->componentMapping()); std::wstring cname1($3.widestring()), cname2($5.widestring()); cm->firstComponentName(cname1.c_str()); cm->secondComponentName(cname2.c_str()); $$.element(conn); }; map_list: map_list map_item { $$ = $1; $$.element()->addElement($2.element()); } | /* empty */ { $$ = $0; }; map_item: T_VARS T_IDENTIFIER T_AND T_IDENTIFIER ';' { // Create for the map variables for the connection RETURN_INTO_OBJREF(mapvar, iface::cellml_api::MapVariables, static_cast<TeLICeMSParseCellML*>(aParseTarget)->mModel ->createMapVariables()); // Set the name of the first and second variables for the map variables std::wstring vname1($2.widestring()), vname2($4.widestring()); mapvar->firstVariableName(vname1.c_str()); mapvar->secondVariableName(vname2.c_str()); $$.element(mapvar); };
31.811847
105
0.629244
8a4c0610cd51adb1598b7aac1c960ad6c09a57b8
6,509
yy
Yacc
sprites/SGhostAppears/SGhostAppears.yy
IstrateMihai0209/PlatformerGMS
67e4f4e7b9ff6d22b595cb0d42a0d7e2291bddf9
[ "MIT" ]
1
2022-01-11T16:26:11.000Z
2022-01-11T16:26:11.000Z
sprites/SGhostAppears/SGhostAppears.yy
IstrateMihai0209/PlatformerGMS
67e4f4e7b9ff6d22b595cb0d42a0d7e2291bddf9
[ "MIT" ]
null
null
null
sprites/SGhostAppears/SGhostAppears.yy
IstrateMihai0209/PlatformerGMS
67e4f4e7b9ff6d22b595cb0d42a0d7e2291bddf9
[ "MIT" ]
null
null
null
{ "id": "8a82af14-7b4e-4049-af59-4cfe4778467e", "modelName": "GMSprite", "mvc": "1.12", "name": "SGhostAppears", "For3D": false, "HTile": false, "VTile": false, "bbox_bottom": 45, "bbox_left": 17, "bbox_right": 51, "bbox_top": 3, "bboxmode": 0, "colkind": 1, "coltolerance": 0, "edgeFiltering": false, "frames": [ { "id": "f793d407-9ec3-4bf4-8bb5-642c6f9e4f1a", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "8a82af14-7b4e-4049-af59-4cfe4778467e", "compositeImage": { "id": "cc621aa1-a4a9-4256-bb3b-11ff4dc3ae2b", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "f793d407-9ec3-4bf4-8bb5-642c6f9e4f1a", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "78a2af91-dbb6-4735-9e83-8829d99129f9", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "f793d407-9ec3-4bf4-8bb5-642c6f9e4f1a", "LayerId": "e47754ae-9c67-400d-b308-1ee6157fe942" } ] }, { "id": "8375dd4d-f4b7-4fd7-b3e4-a60974e6cf0c", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "8a82af14-7b4e-4049-af59-4cfe4778467e", "compositeImage": { "id": "f58a8595-79c4-4b45-84cf-1fa74a58fa30", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "8375dd4d-f4b7-4fd7-b3e4-a60974e6cf0c", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "c61deaa4-57a4-4c62-9afc-567eab17fac5", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "8375dd4d-f4b7-4fd7-b3e4-a60974e6cf0c", "LayerId": "e47754ae-9c67-400d-b308-1ee6157fe942" } ] }, { "id": "17c39816-a701-47e7-91ca-5c34977a8db5", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "8a82af14-7b4e-4049-af59-4cfe4778467e", "compositeImage": { "id": "7e6715b8-e958-4928-b515-29cd7ff07257", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "17c39816-a701-47e7-91ca-5c34977a8db5", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "426b9df6-37d5-4527-a740-1f70011730ff", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "17c39816-a701-47e7-91ca-5c34977a8db5", "LayerId": "e47754ae-9c67-400d-b308-1ee6157fe942" } ] }, { "id": "d979cc33-267d-440f-8793-3b961f5c4a58", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "8a82af14-7b4e-4049-af59-4cfe4778467e", "compositeImage": { "id": "271f0d02-f609-4073-a2ed-ff757c0b3178", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "d979cc33-267d-440f-8793-3b961f5c4a58", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "3fab20e2-a5f3-48e6-b33a-57987266b4b0", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "d979cc33-267d-440f-8793-3b961f5c4a58", "LayerId": "e47754ae-9c67-400d-b308-1ee6157fe942" } ] }, { "id": "ed22ec1c-62c5-4f6a-9c19-89a0bb69541d", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "8a82af14-7b4e-4049-af59-4cfe4778467e", "compositeImage": { "id": "37397c41-e1eb-4b47-9755-64fbd9cc9240", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "ed22ec1c-62c5-4f6a-9c19-89a0bb69541d", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "134b5ea8-1de0-44ca-9b00-422fac0d2f45", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "ed22ec1c-62c5-4f6a-9c19-89a0bb69541d", "LayerId": "e47754ae-9c67-400d-b308-1ee6157fe942" } ] }, { "id": "479232ca-8006-422f-aab3-d3b1ba544f3e", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "8a82af14-7b4e-4049-af59-4cfe4778467e", "compositeImage": { "id": "d7102ee0-ed8d-4248-9bc2-65dff0899256", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "479232ca-8006-422f-aab3-d3b1ba544f3e", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "715c83cf-02a2-4ac0-a602-a8ed56aee228", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "479232ca-8006-422f-aab3-d3b1ba544f3e", "LayerId": "e47754ae-9c67-400d-b308-1ee6157fe942" } ] } ], "gridX": 0, "gridY": 0, "height": 48, "layers": [ { "id": "e47754ae-9c67-400d-b308-1ee6157fe942", "modelName": "GMImageLayer", "mvc": "1.0", "SpriteId": "8a82af14-7b4e-4049-af59-4cfe4778467e", "blendMode": 0, "isLocked": false, "name": "default", "opacity": 100, "visible": true } ], "origin": 4, "originLocked": false, "playbackSpeed": 12, "playbackSpeedType": 0, "premultiplyAlpha": false, "sepmasks": false, "swatchColours": null, "swfPrecision": 2.525, "textureGroupId": "1225f6b0-ac20-43bd-a82e-be73fa0b6f4f", "type": 0, "width": 64, "xorig": 32, "yorig": 24 }
36.161111
70
0.456906
2cffc41965973a2524ab1c1a6c96dfb8a13882db
60
y
Yacc
data/chunking/581.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
6
2015-02-18T23:13:30.000Z
2019-02-26T15:04:54.000Z
data/chunking/581.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
1
2016-02-02T23:42:55.000Z
2016-02-16T12:01:02.000Z
data/chunking/581.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
2
2016-05-09T03:45:23.000Z
2019-10-18T08:04:54.000Z
6 0 2 2 2 3 0 2 2 2 2 3 0 2 6 6 3 0 2 6 0 2 2 2 1 0 1 0 2 6
1.935484
1
0.5
66ff8f790e8affcb4f25c3137b0dc2c4784a56a2
2,524
y
Yacc
modules/service/expr/parse.y
yubo/falcon
2576d7978b3c0f08d7bb604339680e3c3e893835
[ "BSD-3-Clause" ]
11
2016-08-17T09:42:49.000Z
2021-04-11T11:34:45.000Z
modules/service/expr/parse.y
yubo/falcon
2576d7978b3c0f08d7bb604339680e3c3e893835
[ "BSD-3-Clause" ]
null
null
null
modules/service/expr/parse.y
yubo/falcon
2576d7978b3c0f08d7bb604339680e3c3e893835
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright 2016,2017 yubo. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ %{ package expr %} %union { num int float float64 b bool expr *Expr expr_obj *ExprObj text string } %type <b> bool %type <text> text %type <num> expr_op expr_logic_op time %type <float> float %type <expr> expr %type <expr_obj> expr_obj %token <num> NUM %token <text> TEXT %token '(' ')' '=' '>' '<' '&' '|' '#' '+' '-' '*' '/' ',' %token TRUE FALSE %token COUNT %% trigger: | expr { yy_trigger = $1 } ; expr: bool { $$ = &Expr{Type: EXPR_TYPE_RAW << 1, Objs: []interface{}{$1}} } | expr_obj expr_op expr_obj { $$ = &Expr{Type: uint32($2), Objs: []interface{}{$1, $3}} } | expr expr_logic_op expr { $$ = &Expr{Type: uint32($2), Objs: []interface{}{$1, $3}} } | '(' expr ')' { $$ = $2 } ; bool: TRUE { $$ = true } | FALSE { $$ = false } ; text: TEXT { $$ = string(yy.t) } float: NUM { $$ = yy.f } ; expr_op: '>' { $$ = EXPR_TYPE_OP_GT } | '>' '=' { $$ = EXPR_TYPE_OP_GE } | '=' { $$ = EXPR_TYPE_OP_EQ } | '<' '=' { $$ = EXPR_TYPE_OP_LE } | '<' { $$ = EXPR_TYPE_OP_LT } | '<' '>' { $$ = EXPR_TYPE_OP_NE } ; expr_logic_op: '&' '&' { $$ = EXPR_TYPE_AND} | '|' '|' { $$ = EXPR_TYPE_OR } ; expr_obj: float { $$ = &ExprObj{Type: EXPR_OBJ_TYPE_RAW, Args: []float64{$1}} }| COUNT count_args ')' { yy.err = yy_obj.reduce("count") $$ = yy_obj }| text obj_args ')' { yy.err = yy_obj.reduce($1) $$ = yy_obj } ; // count(10m,12,gt,1d) → number of values for preceding 10 minutes up to 24 hours ago that were over '12' count_args: '(' { yy_obj = &ExprObj{} }| count_args arg0 ',' float ',' expr_op ',' time { yy_obj.Args = append(yy_obj.Args, $4, float64($6), float64($8)) }| count_args arg0 ',' float ',' expr_op { yy_obj.Args = append(yy_obj.Args, $4, float64($6)) }| count_args arg0 ',' float { yy_obj.Args = append(yy_obj.Args, $4) }| count_args arg0 ; obj_args: '(' { yy_obj = &ExprObj{} }| obj_args arg0 func_args ; arg0: float { yy_obj.Args = []float64{$1} }| '#' float { yy_obj.Type = 1 yy_obj.Args = []float64{$2} }| time { yy_obj.Args = []float64{float64($1)} } ; time: float { $$ = int($1) }| float text { switch $2 { case "m": $$ = int($1) * 60 case "h": $$ = int($1) * 60 * 60 case "d": $$ = int($1) * 60 * 60 * 24 default: yy.err = EINVAL } } func_args: | func_args ',' float { yy_obj.Args = append(yy_obj.Args, $3) } ; %%
18.423358
105
0.551506
c25da9e58e8dd0868de0561b6d5b27112f31057f
14,168
yy
Yacc
yx-plsmgn/sprites/spr_plasmaShotBots/spr_plasmaShotBots.yy
yuigoto/lowrezjam-plsmgn
98ef7d5b0fd14c633fdc3588777cf535d16d3de7
[ "FTL", "RSA-MD" ]
null
null
null
yx-plsmgn/sprites/spr_plasmaShotBots/spr_plasmaShotBots.yy
yuigoto/lowrezjam-plsmgn
98ef7d5b0fd14c633fdc3588777cf535d16d3de7
[ "FTL", "RSA-MD" ]
null
null
null
yx-plsmgn/sprites/spr_plasmaShotBots/spr_plasmaShotBots.yy
yuigoto/lowrezjam-plsmgn
98ef7d5b0fd14c633fdc3588777cf535d16d3de7
[ "FTL", "RSA-MD" ]
null
null
null
{ "id": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "modelName": "GMSprite", "mvc": "1.12", "name": "spr_plasmaShotBots", "For3D": false, "HTile": false, "VTile": false, "bbox_bottom": 4, "bbox_left": 0, "bbox_right": 4, "bbox_top": 0, "bboxmode": 0, "colkind": 1, "coltolerance": 0, "frames": [ { "id": "b7b59d9e-0269-4c84-85e1-c4ab28782154", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "93512fcb-8ef9-405d-8171-e010b87a3dfc", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b7b59d9e-0269-4c84-85e1-c4ab28782154", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "18e763ca-bb9c-4531-8390-6c6abb9aa040", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b7b59d9e-0269-4c84-85e1-c4ab28782154", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "8519405f-646c-497c-a34a-ac1fa5395c1f", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b7b59d9e-0269-4c84-85e1-c4ab28782154", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "8b9424de-a269-473c-9dc1-475fdc9ba9f3", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "b7b59d9e-0269-4c84-85e1-c4ab28782154", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] }, { "id": "9bdd9e94-93ce-4868-8513-29356c21a4db", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "1d87adcd-b06e-4bcd-bc96-8a92288a46e8", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9bdd9e94-93ce-4868-8513-29356c21a4db", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "aaf64fd4-cd01-46c3-84bf-47b655da4573", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9bdd9e94-93ce-4868-8513-29356c21a4db", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "b43ec575-2200-4751-8b14-d404c99eb93d", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9bdd9e94-93ce-4868-8513-29356c21a4db", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "a35a2309-dad4-42bc-b966-aef1b920df4d", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9bdd9e94-93ce-4868-8513-29356c21a4db", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] }, { "id": "581d599b-2d3c-4dbf-8b67-2cb6073f2be5", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "b431b4fb-5818-4df1-b0f2-2e849cd8854a", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "581d599b-2d3c-4dbf-8b67-2cb6073f2be5", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "a5e30ffc-c030-45ab-bdb0-9acffbcb489b", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "581d599b-2d3c-4dbf-8b67-2cb6073f2be5", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "33e102ae-1159-4fec-878b-7f148c4e03bc", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "581d599b-2d3c-4dbf-8b67-2cb6073f2be5", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "a7219f6f-3458-4528-8ecc-30021513dcc5", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "581d599b-2d3c-4dbf-8b67-2cb6073f2be5", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] }, { "id": "db5b6aab-081c-42a3-83bb-8e24375243d7", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "d85f6683-bbe6-4d5c-a894-20766a376226", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "db5b6aab-081c-42a3-83bb-8e24375243d7", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "755d0b28-0d8b-4bf9-aef7-8d1b32a66c6a", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "db5b6aab-081c-42a3-83bb-8e24375243d7", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "38ee93c0-c57c-4814-8a6f-db7eb59c0098", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "db5b6aab-081c-42a3-83bb-8e24375243d7", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "0b658148-1fc8-49fa-b8eb-05e1334b4fc9", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "db5b6aab-081c-42a3-83bb-8e24375243d7", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] }, { "id": "465cfe69-a895-4380-a31c-2edc4cf9672c", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "05b124dc-9352-423e-b7fe-b1b6c1ed3fe7", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "465cfe69-a895-4380-a31c-2edc4cf9672c", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "88dfe2b9-a1a7-40ab-9655-aeb7735472ac", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "465cfe69-a895-4380-a31c-2edc4cf9672c", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "48c72f8e-4353-44e4-b4a6-a1958b72ae49", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "465cfe69-a895-4380-a31c-2edc4cf9672c", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "4c5b6996-aa0b-4e7c-ab53-9e1a4d43324b", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "465cfe69-a895-4380-a31c-2edc4cf9672c", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] }, { "id": "9a0b3f02-10d1-46c6-a027-a52dce48070a", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "1732e07e-b3b7-4200-8cef-7513d1af01fb", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9a0b3f02-10d1-46c6-a027-a52dce48070a", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "88ceb2ee-04c0-40e6-a311-7f7c186421d3", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9a0b3f02-10d1-46c6-a027-a52dce48070a", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "7631252b-73d5-48e5-8855-9c4a60eca415", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9a0b3f02-10d1-46c6-a027-a52dce48070a", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "3acdf33e-0b03-4d8f-b6c9-e96341269737", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "9a0b3f02-10d1-46c6-a027-a52dce48070a", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] }, { "id": "6b837e76-0598-4ed4-9505-6b504a40a9c1", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "2f3c48cd-1396-4f60-b6bc-52a684ba9055", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "6b837e76-0598-4ed4-9505-6b504a40a9c1", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "5d0a5193-5e99-4bd9-8df2-1de8590422d4", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "6b837e76-0598-4ed4-9505-6b504a40a9c1", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "d775b0ec-7372-4d2b-b1b3-5f35a695c2f4", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "6b837e76-0598-4ed4-9505-6b504a40a9c1", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "ce7fb5f3-89c4-4b8c-a401-df10d43abbaf", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "6b837e76-0598-4ed4-9505-6b504a40a9c1", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] }, { "id": "ac99068b-85ad-4676-b39f-45d581696173", "modelName": "GMSpriteFrame", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "compositeImage": { "id": "1c760658-7faf-46db-beab-3d0842e4c247", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "ac99068b-85ad-4676-b39f-45d581696173", "LayerId": "00000000-0000-0000-0000-000000000000" }, "images": [ { "id": "8871f0e6-559f-464b-ad25-cfddab193138", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "ac99068b-85ad-4676-b39f-45d581696173", "LayerId": "59f38a5b-2713-4518-a8cd-2b8f748750e1" }, { "id": "f90aa9ac-1cb6-49ce-afb6-3c53b58a620c", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "ac99068b-85ad-4676-b39f-45d581696173", "LayerId": "039262c1-6bac-491c-bd05-cca840e08c00" }, { "id": "97f6aa9a-ff1f-4aa0-8564-94555a70c1fc", "modelName": "GMSpriteImage", "mvc": "1.0", "FrameId": "ac99068b-85ad-4676-b39f-45d581696173", "LayerId": "84a83371-0b87-4e38-8eb7-40697472aab9" } ] } ], "gridX": 0, "gridY": 0, "height": 5, "layers": [ { "id": "84a83371-0b87-4e38-8eb7-40697472aab9", "modelName": "GMImageLayer", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "blendMode": 1, "isLocked": false, "name": "Layer 13", "opacity": 68, "visible": true }, { "id": "59f38a5b-2713-4518-a8cd-2b8f748750e1", "modelName": "GMImageLayer", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "blendMode": 1, "isLocked": false, "name": "default", "opacity": 67, "visible": true }, { "id": "039262c1-6bac-491c-bd05-cca840e08c00", "modelName": "GMImageLayer", "mvc": "1.0", "SpriteId": "6f1a478c-d41b-4896-b37f-8764f687f2d6", "blendMode": 0, "isLocked": false, "name": "Layer 6", "opacity": 100, "visible": true } ], "origin": 4, "playbackSpeed": 15, "playbackSpeedType": 0, "sepmasks": false, "swatchColours": null, "swfPrecision": 2.525, "textureGroupId": "1225f6b0-ac20-43bd-a82e-be73fa0b6f4f", "type": 0, "width": 5, "xorig": 2, "yorig": 2 }
39.909859
70
0.440782
7c2e8478b04beebee1417787eb4ed64a77c66577
73,433
yy
Yacc
rooms/lev_chamber4/lev_chamber4.yy
alaingalvan/ora
35e0a60050f26385f92c0d0796bb6f325de2b0c0
[ "MIT" ]
1
2020-09-25T09:13:10.000Z
2020-09-25T09:13:10.000Z
rooms/lev_chamber4/lev_chamber4.yy
alaingalvan/ora
35e0a60050f26385f92c0d0796bb6f325de2b0c0
[ "MIT" ]
1
2017-05-16T15:18:27.000Z
2017-05-16T15:18:27.000Z
rooms/lev_chamber4/lev_chamber4.yy
alaingalvan/ora
35e0a60050f26385f92c0d0796bb6f325de2b0c0
[ "MIT" ]
1
2020-09-25T09:13:12.000Z
2020-09-25T09:13:12.000Z
{ "isDnd": false, "volume": 1.0, "parentRoom": null, "views": [ {"inherit":false,"visible":true,"xview":0,"yview":0,"wview":1280,"hview":800,"xport":0,"yport":0,"wport":1280,"hport":800,"hborder":640,"vborder":400,"hspeed":-1,"vspeed":-1,"objectId":{"name":"obj_orb","path":"objects/obj_orb/obj_orb.yy",},}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":1280,"hview":800,"xport":0,"yport":0,"wport":1280,"hport":800,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":640,"hview":480,"xport":0,"yport":0,"wport":640,"hport":480,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":640,"hview":480,"xport":0,"yport":0,"wport":640,"hport":480,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":640,"hview":480,"xport":0,"yport":0,"wport":640,"hport":480,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":640,"hview":480,"xport":0,"yport":0,"wport":640,"hport":480,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":640,"hview":480,"xport":0,"yport":0,"wport":640,"hport":480,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, {"inherit":false,"visible":false,"xview":0,"yview":0,"wview":640,"hview":480,"xport":0,"yport":0,"wport":640,"hport":480,"hborder":32,"vborder":32,"hspeed":-1,"vspeed":-1,"objectId":null,}, ], "layers": [ {"instances":[ {"properties":[],"isDnd":false,"objectId":{"name":"obj_orb","path":"objects/obj_orb/obj_orb.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":832.0,"y":15488.0,"resourceVersion":"1.0","name":"inst_1F5882A4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_nextlv","path":"objects/obj_block_nextlv/obj_block_nextlv.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":3072.0,"y":8832.0,"resourceVersion":"1.0","name":"inst_4186DCA5","tags":[],"resourceType":"GMRInstance",}, ],"visible":true,"depth":-10,"userdefinedDepth":true,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"Compatibility_Instances_Depth_-10","tags":[],"resourceType":"GMRInstanceLayer",}, {"instances":[ {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_jumppad","path":"objects/obj_block_jumppad/obj_block_jumppad.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2880.0,"y":15680.0,"resourceVersion":"1.0","name":"inst_8C57E7BE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_jumppad","path":"objects/obj_block_jumppad/obj_block_jumppad.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2944.0,"y":15680.0,"resourceVersion":"1.0","name":"inst_F3CD4A26","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_jumppad","path":"objects/obj_block_jumppad/obj_block_jumppad.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":3008.0,"y":15680.0,"resourceVersion":"1.0","name":"inst_FE8E0375","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_void","path":"objects/obj_block_void/obj_block_void.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":7.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":704.0,"y":13380.0,"resourceVersion":"1.0","name":"inst_BE5287A8","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_jumppad","path":"objects/obj_block_jumppad/obj_block_jumppad.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":13380.0,"resourceVersion":"1.0","name":"inst_E252B32C","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_jumppad","path":"objects/obj_block_jumppad/obj_block_jumppad.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2496.0,"y":13700.0,"resourceVersion":"1.0","name":"inst_2ED9B506","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":12288.0,"resourceVersion":"1.0","name":"inst_3873A8CA","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":12160.0,"resourceVersion":"1.0","name":"inst_A2AFD9D4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":12032.0,"resourceVersion":"1.0","name":"inst_9DDB76F1","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":11904.0,"resourceVersion":"1.0","name":"inst_510F8A8E","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":11776.0,"resourceVersion":"1.0","name":"inst_4E708A4B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":12928.0,"resourceVersion":"1.0","name":"inst_6C844F35","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":13056.0,"resourceVersion":"1.0","name":"inst_330BA747","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":13184.0,"resourceVersion":"1.0","name":"inst_C349C54B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":12800.0,"resourceVersion":"1.0","name":"inst_D4EF42F6","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":12672.0,"resourceVersion":"1.0","name":"inst_6C3652AF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":45.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":10688.0,"resourceVersion":"1.0","name":"inst_DC2C7C49","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":40.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":448.0,"y":10496.0,"resourceVersion":"1.0","name":"inst_914BE244","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":30.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":896.0,"y":10304.0,"resourceVersion":"1.0","name":"inst_686E6313","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":25.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1088.0,"y":10112.0,"resourceVersion":"1.0","name":"inst_44BD71D4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":20.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1280.0,"y":9920.0,"resourceVersion":"1.0","name":"inst_DC6BEBEB","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":15.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1408.0,"y":9728.0,"resourceVersion":"1.0","name":"inst_7672BE0B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashr","path":"objects/obj_block_dashr/obj_block_dashr.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":3.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1024.0,"y":15360.0,"resourceVersion":"1.0","name":"inst_9CC8DABD","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashr","path":"objects/obj_block_dashr/obj_block_dashr.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":3.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1792.0,"y":15360.0,"resourceVersion":"1.0","name":"inst_426AD782","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashr","path":"objects/obj_block_dashr/obj_block_dashr.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":3.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2560.0,"y":15360.0,"resourceVersion":"1.0","name":"inst_7426BED6","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":12544.0,"resourceVersion":"1.0","name":"inst_6C399738","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":12416.0,"resourceVersion":"1.0","name":"inst_9C83514B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":11648.0,"resourceVersion":"1.0","name":"inst_15477043","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":12288.0,"resourceVersion":"1.0","name":"inst_24D36AFF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":12160.0,"resourceVersion":"1.0","name":"inst_D250AAE7","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_dashu","path":"objects/obj_block_dashu/obj_block_dashu.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":36.5556,"scaleY":0.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":9600.0,"resourceVersion":"1.0","name":"inst_8ADC2968","tags":[],"resourceType":"GMRInstance",}, ],"visible":true,"depth":-5,"userdefinedDepth":true,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"Compatibility_Instances_Depth_-5","tags":[],"resourceType":"GMRInstanceLayer",}, {"instances":[ {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":45.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":0.0,"y":15552.0,"resourceVersion":"1.0","name":"inst_4520F6DF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_invis","path":"objects/obj_block_invis/obj_block_invis.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":3.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":640.0,"y":15360.0,"resourceVersion":"1.0","name":"inst_7AB361CE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":45.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":0.0,"y":15296.0,"resourceVersion":"1.0","name":"inst_97EA5343","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":3.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2880.0,"y":15744.0,"resourceVersion":"1.0","name":"inst_03C63DF0","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":3.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2816.0,"y":15616.0,"resourceVersion":"1.0","name":"inst_ABBEE5A9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2816.0,"y":15232.0,"resourceVersion":"1.0","name":"inst_EFE8EB70","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":100.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":128.0,"y":8832.0,"resourceVersion":"1.0","name":"inst_0E036E41","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":105.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":3072.0,"y":9088.0,"resourceVersion":"1.0","name":"inst_9DED092D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":42.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":15168.0,"resourceVersion":"1.0","name":"inst_40EAF109","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_risingvoidini","path":"objects/obj_block_risingvoidini/obj_block_risingvoidini.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":3.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2880.0,"y":15168.0,"resourceVersion":"1.0","name":"inst_1CE6918D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":3008.0,"y":14596.0,"resourceVersion":"1.0","name":"inst_A2721B84","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2944.0,"y":14596.0,"resourceVersion":"1.0","name":"inst_68E8D28F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2880.0,"y":14596.0,"resourceVersion":"1.0","name":"inst_A4FDCC07","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2816.0,"y":14596.0,"resourceVersion":"1.0","name":"inst_0895F003","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2752.0,"y":14596.0,"resourceVersion":"1.0","name":"inst_0F99F5E8","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2688.0,"y":14596.0,"resourceVersion":"1.0","name":"inst_EBC3B6B4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2496.0,"y":14852.0,"resourceVersion":"1.0","name":"inst_FC8C0EA4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":14980.0,"resourceVersion":"1.0","name":"inst_46C5A8BF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1792.0,"y":15044.0,"resourceVersion":"1.0","name":"inst_33E956DA","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":12.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1408.0,"y":14464.0,"resourceVersion":"1.0","name":"inst_53FB69BE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2432.0,"y":14532.0,"resourceVersion":"1.0","name":"inst_8F7A5433","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":11.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":14276.0,"resourceVersion":"1.0","name":"inst_8045A276","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":8.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":13828.0,"resourceVersion":"1.0","name":"inst_4895DFB2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":17.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1344.0,"y":13764.0,"resourceVersion":"1.0","name":"inst_1182E1FF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2368.0,"y":13316.0,"resourceVersion":"1.0","name":"inst_98B66493","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1792.0,"y":13316.0,"resourceVersion":"1.0","name":"inst_B51038D2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":448.0,"y":13636.0,"resourceVersion":"1.0","name":"inst_202F3A5A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1024.0,"y":14084.0,"resourceVersion":"1.0","name":"inst_41450BC0","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":832.0,"y":13892.0,"resourceVersion":"1.0","name":"inst_EB8282C9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1152.0,"y":13828.0,"resourceVersion":"1.0","name":"inst_3CDD9F55","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1408.0,"y":13316.0,"resourceVersion":"1.0","name":"inst_2E0170E8","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":13636.0,"resourceVersion":"1.0","name":"inst_B485A97C","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":7.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":704.0,"y":13444.0,"resourceVersion":"1.0","name":"inst_DACD830A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":640.0,"y":13380.0,"resourceVersion":"1.0","name":"inst_DD3B5DE2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1152.0,"y":13380.0,"resourceVersion":"1.0","name":"inst_01D03736","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":512.0,"y":13380.0,"resourceVersion":"1.0","name":"inst_4D385505","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":13444.0,"resourceVersion":"1.0","name":"inst_9EBB85A3","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":512.0,"y":13444.0,"resourceVersion":"1.0","name":"inst_E82A60D8","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":640.0,"y":13444.0,"resourceVersion":"1.0","name":"inst_F4D22208","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1152.0,"y":13444.0,"resourceVersion":"1.0","name":"inst_67106854","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2560.0,"y":13700.0,"resourceVersion":"1.0","name":"inst_F3B05EB2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2432.0,"y":13700.0,"resourceVersion":"1.0","name":"inst_ACD69A4B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2496.0,"y":13764.0,"resourceVersion":"1.0","name":"inst_AAC8CD25","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2432.0,"y":13764.0,"resourceVersion":"1.0","name":"inst_0CCD3658","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_wall","path":"objects/obj_block_wall/obj_block_wall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2560.0,"y":13764.0,"resourceVersion":"1.0","name":"inst_D6099D7D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2432.0,"y":12928.0,"resourceVersion":"1.0","name":"inst_F929B438","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2688.0,"y":12928.0,"resourceVersion":"1.0","name":"inst_AD06BA26","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2944.0,"y":12928.0,"resourceVersion":"1.0","name":"inst_A5BA33B9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2560.0,"y":12928.0,"resourceVersion":"1.0","name":"inst_2F36EDE2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2816.0,"y":12928.0,"resourceVersion":"1.0","name":"inst_FD894A03","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":12736.0,"resourceVersion":"1.0","name":"inst_48318D0D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":12544.0,"resourceVersion":"1.0","name":"inst_0A1423A9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":4.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":11328.0,"resourceVersion":"1.0","name":"inst_3A9C4DF4","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":21.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":768.0,"y":11328.0,"resourceVersion":"1.0","name":"inst_452C3C97","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":12.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2304.0,"y":11328.0,"resourceVersion":"1.0","name":"inst_B8E6DB3F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2688.0,"y":14208.0,"resourceVersion":"1.0","name":"inst_F897C3AE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2944.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_CCE66F02","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2560.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_CC0C0CDC","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2176.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_5C2447F1","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1792.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_AE66D81A","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1408.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_C543BB9D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1024.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_A8465294","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":640.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_E1F7E490","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_fall","path":"objects/obj_block_fall/obj_block_fall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":256.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_6F1FF2DF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":448.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_9A6C6C6F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1600.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_0E6B8159","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1984.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_A552299B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2368.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_33D8E747","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2752.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_5D8117D9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1216.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_01D12585","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":832.0,"y":11008.0,"resourceVersion":"1.0","name":"inst_2E299A0B","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1408.0,"y":13568.0,"resourceVersion":"1.0","name":"inst_C45C1FE2","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2304.0,"y":9472.0,"resourceVersion":"1.0","name":"inst_34FAF3F5","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2496.0,"y":9472.0,"resourceVersion":"1.0","name":"inst_C1B95F7F","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2688.0,"y":9472.0,"resourceVersion":"1.0","name":"inst_9140ACCF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2880.0,"y":9472.0,"resourceVersion":"1.0","name":"inst_3FF9053D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2816.0,"y":9280.0,"resourceVersion":"1.0","name":"inst_57A232AF","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2944.0,"y":9088.0,"resourceVersion":"1.0","name":"inst_07ED49CA","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":15.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":3072.0,"y":9024.0,"resourceVersion":"1.0","name":"inst_F8B56C6D","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":61.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":128.0,"y":8768.0,"resourceVersion":"1.0","name":"inst_225AA0E3","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_invis","path":"objects/obj_block_invis/obj_block_invis.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":3.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":3136.0,"y":8832.0,"resourceVersion":"1.0","name":"inst_CD2E0BB5","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":23.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":14848.0,"resourceVersion":"1.0","name":"inst_BDC4FBB9","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":14656.0,"resourceVersion":"1.0","name":"inst_201ED7DE","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":384.0,"y":14464.0,"resourceVersion":"1.0","name":"inst_3A6259E8","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":14272.0,"resourceVersion":"1.0","name":"inst_B40D7746","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":6.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2688.0,"y":14016.0,"resourceVersion":"1.0","name":"inst_815DB689","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":576.0,"y":14656.0,"resourceVersion":"1.0","name":"inst_7D539ECB","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_crush","path":"objects/obj_block_crush/obj_block_crush.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":384.0,"y":13952.0,"resourceVersion":"1.0","name":"inst_F2CFBCB3","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":3.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1920.0,"y":14208.0,"resourceVersion":"1.0","name":"inst_D950F9B6","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":3.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2240.0,"y":14080.0,"resourceVersion":"1.0","name":"inst_AF5218DA","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":3.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1536.0,"y":14208.0,"resourceVersion":"1.0","name":"inst_CB0FAD09","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_floor","path":"objects/obj_block_floor/obj_block_floor.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":3.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":1152.0,"y":14656.0,"resourceVersion":"1.0","name":"inst_421D8A19","tags":[],"resourceType":"GMRInstance",}, ],"visible":true,"depth":0,"userdefinedDepth":true,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"Compatibility_Instances_Depth_0","tags":[],"resourceType":"GMRInstanceLayer",}, {"instances":[ {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_backwall","path":"objects/obj_block_backwall/obj_block_backwall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":15.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":0.0,"y":15360.0,"resourceVersion":"1.0","name":"inst_CAB0FF67","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_backwall","path":"objects/obj_block_backwall/obj_block_backwall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":1.0,"scaleY":3.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":2880.0,"y":15168.0,"resourceVersion":"1.0","name":"inst_88232755","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_backwall","path":"objects/obj_block_backwall/obj_block_backwall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":15.0,"scaleY":33.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":192.0,"y":8832.0,"resourceVersion":"1.0","name":"inst_A4A35060","tags":[],"resourceType":"GMRInstance",}, {"properties":[],"isDnd":false,"objectId":{"name":"obj_block_backwall","path":"objects/obj_block_backwall/obj_block_backwall.yy",},"inheritCode":false,"hasCreationCode":false,"colour":4294967295,"rotation":0.0,"scaleX":5.0,"scaleY":1.0,"imageIndex":0,"imageSpeed":1.0,"inheritedItemId":null,"frozen":false,"ignore":false,"inheritItemSettings":false,"x":3072.0,"y":8832.0,"resourceVersion":"1.0","name":"inst_D1339706","tags":[],"resourceType":"GMRInstance",}, ],"visible":true,"depth":10,"userdefinedDepth":true,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"Compatibility_Instances_Depth_10","tags":[],"resourceType":"GMRInstanceLayer",}, {"spriteId":null,"colour":4278848010,"x":0,"y":0,"htiled":false,"vtiled":false,"hspeed":0.0,"vspeed":0.0,"stretch":false,"animationFPS":15.0,"animationSpeedType":0,"userdefinedAnimFPS":false,"visible":true,"depth":2147483600,"userdefinedDepth":true,"inheritLayerDepth":false,"inheritLayerSettings":false,"gridX":32,"gridY":32,"layers":[],"hierarchyFrozen":false,"effectEnabled":true,"effectType":null,"properties":[],"resourceVersion":"1.0","name":"Compatibility_Colour","tags":[],"resourceType":"GMRBackgroundLayer",}, ], "inheritLayers": false, "creationCodeFile": "${project_dir}/rooms/lev_chamber4/RoomCreationCode.gml", "inheritCode": false, "instanceCreationOrder": [ {"name":"inst_CAB0FF67","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_88232755","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_A4A35060","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_D1339706","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_4520F6DF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_7AB361CE","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_97EA5343","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_03C63DF0","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_ABBEE5A9","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_EFE8EB70","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_0E036E41","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_9DED092D","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_40EAF109","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_1CE6918D","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_A2721B84","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_68E8D28F","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_A4FDCC07","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_0895F003","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_0F99F5E8","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_EBC3B6B4","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_FC8C0EA4","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_46C5A8BF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_33E956DA","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_53FB69BE","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_8F7A5433","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_8045A276","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_4895DFB2","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_1182E1FF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_98B66493","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_B51038D2","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_202F3A5A","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_41450BC0","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_EB8282C9","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_3CDD9F55","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_2E0170E8","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_B485A97C","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_DACD830A","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_DD3B5DE2","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_01D03736","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_4D385505","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_9EBB85A3","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_E82A60D8","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_F4D22208","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_67106854","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_F3B05EB2","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_ACD69A4B","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_AAC8CD25","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_0CCD3658","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_D6099D7D","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_F929B438","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_AD06BA26","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_A5BA33B9","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_2F36EDE2","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_FD894A03","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_48318D0D","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_0A1423A9","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_3A9C4DF4","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_452C3C97","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_B8E6DB3F","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_F897C3AE","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_CCE66F02","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_CC0C0CDC","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_5C2447F1","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_AE66D81A","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_C543BB9D","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_A8465294","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_E1F7E490","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_6F1FF2DF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_9A6C6C6F","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_0E6B8159","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_A552299B","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_33D8E747","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_5D8117D9","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_01D12585","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_2E299A0B","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_C45C1FE2","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_34FAF3F5","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_C1B95F7F","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_9140ACCF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_3FF9053D","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_57A232AF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_07ED49CA","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_F8B56C6D","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_225AA0E3","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_CD2E0BB5","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_BDC4FBB9","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_201ED7DE","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_3A6259E8","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_B40D7746","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_815DB689","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_7D539ECB","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_F2CFBCB3","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_D950F9B6","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_AF5218DA","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_CB0FAD09","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_421D8A19","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_8C57E7BE","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_F3CD4A26","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_FE8E0375","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_BE5287A8","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_E252B32C","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_2ED9B506","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_3873A8CA","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_A2AFD9D4","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_9DDB76F1","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_510F8A8E","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_4E708A4B","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_6C844F35","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_330BA747","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_C349C54B","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_D4EF42F6","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_6C3652AF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_DC2C7C49","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_914BE244","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_686E6313","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_44BD71D4","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_DC6BEBEB","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_7672BE0B","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_9CC8DABD","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_426AD782","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_7426BED6","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_6C399738","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_9C83514B","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_15477043","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_24D36AFF","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_D250AAE7","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_8ADC2968","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_1F5882A4","path":"rooms/lev_chamber4/lev_chamber4.yy",}, {"name":"inst_4186DCA5","path":"rooms/lev_chamber4/lev_chamber4.yy",}, ], "inheritCreationOrder": false, "sequenceId": null, "roomSettings": { "inheritRoomSettings": false, "Width": 4000, "Height": 16000, "persistent": false, }, "viewSettings": { "inheritViewSettings": false, "enableViews": true, "clearViewBackground": true, "clearDisplayBuffer": true, }, "physicsSettings": { "inheritPhysicsSettings": false, "PhysicsWorld": false, "PhysicsWorldGravityX": 0.0, "PhysicsWorldGravityY": 10.0, "PhysicsWorldPixToMetres": 0.1, }, "parent": { "name": "Rooms", "path": "folders/Rooms.yy", }, "resourceVersion": "1.0", "name": "lev_chamber4", "tags": [], "resourceType": "GMRoom", }
230.921384
523
0.711111
2d0e4df1a15d28079a9ad84abc0bda298e4c0cd1
23,910
y
Yacc
doc/spec/grammar/parser.y
eventualbuddha/koka
87aa72c13110320a889c07fac0e156128abeb49a
[ "Apache-2.0" ]
null
null
null
doc/spec/grammar/parser.y
eventualbuddha/koka
87aa72c13110320a889c07fac0e156128abeb49a
[ "Apache-2.0" ]
null
null
null
doc/spec/grammar/parser.y
eventualbuddha/koka
87aa72c13110320a889c07fac0e156128abeb49a
[ "Apache-2.0" ]
null
null
null
/* Copyright 2012-2021, Microsoft Research, Daan Leijen This is free software; you can redistribute it and/or modify it under the terms of the Apache License, Version 2.0. */ /* Requires at least Bison 3+; you can get a version for windows from https://sourceforge.net/projects/winflexbison (use the "latest" zip package) */ /* %pure-parser */ %define api.pure %{ typedef void* yyscan_t; %} %parse-param { yyscan_t scanner } %lex-param { yyscan_t scanner } /* token structure. The memory for Id and String is kept in a list and deallocated after parsing (in 'doneScanState') */ %union { const char* Id; /* used for operators OP too */ const char* String; /* 'modified' UTF-8 string (\0 chars are encoded as \xC0\x80) */ double Float; unsigned long Nat; unsigned int Char; } %{ #include <stdio.h> #define yylex mylex void yyerror(YYLTYPE* loc, yyscan_t scanner, char* s, ...); int mylex( YYSTYPE* val, YYLTYPE* loc, yyscan_t scanner ); typedef int bool; #define true (1==1) #define false (!true) void printDecl( const char* sort, const char* name ); %} %token <Id> ID CONID OP IDOP QID QCONID QIDOP WILDCARD '(' ')' '[' ']' %token <Nat> NAT %token <Float> FLOAT %token <String> STRING %token <Char> CHAR /* %token APP */ /* '(' for applications */ /* %token IDX */ /* '[' for indexing */ %token IF THEN ELSE ELIF %token WITH IN %token MATCH %token RARROW LARROW %token FUN FN VAL VAR CONTROL RCONTROL EXCEPT %token TYPE STRUCT EFFECT %token ALIAS CON %token FORALL EXISTS SOME %token IMPORT AS MODULE %token PUBLIC PRIVATE ABSTRACT %token EXTERN %token INFIX INFIXL INFIXR %token LEX_WHITE LEX_COMMENT %token INSERTED_SEMI %token LE ASSIGN DCOLON EXTEND %token RETURN %token HANDLER HANDLE NAMED MASK OVERRIDE %token IFACE UNSAFE %token ID_CO ID_REC %token ID_INLINE ID_NOINLINE %token ID_C ID_CS ID_JS ID_FILE %token ID_LINEAR ID_OPEN ID_EXTEND %token ID_BEHIND %token ID_VALUE ID_REFERENCE ID_SCOPED %token ID_INITIALLY ID_FINALLY %type <Id> varid conid qvarid qconid op %type <Id> identifier qidentifier qoperator qconstructor %type <Id> funid typeid modulepath binder %type <Id> fundecl aliasdecl typedecl externdecl puredecl /* precedence declarations are in increasing order, i.e. the last precedence declaration has the highest precedence. */ /* resolve s/r conflict by shifting on ELSE so the ELSE binds to the closest IF.*/ %precedence THEN %precedence ELSE ELIF /* resolve s/r conflict to have a `FN funparams -> expr` span as far as possible, e.g. `fn(x) -> x + 1` is `(fn(x) -> x + 1)` and not `(fn(x) -> x) + 1` and `fn(x) -> x.foo` is `(fn(x) -> x.foo)` and not `(fn(x) -> x).foo` note: we could avoid these rules by disallowing the `->` form in trailing lambdas. */ %precedence RARROW /* -> */ %precedence '(' '[' FN '{' '.' /* applications */ %precedence OP ASSIGN '>' '<' '|' /* operators */ /* %precedence '?' */ %% /* --------------------------------------------------------- -- Program ----------------------------------------------------------*/ program : semis visibility MODULE modulepath moduledecl { printDecl("module",$4); } | moduledecl { printDecl("module","main"); } ; moduledecl : '{' semis modulebody '}' semis | semis modulebody ; modulebody : importdecl semis1 modulebody | declarations ; importdecl : visibility IMPORT modulepath | visibility IMPORT modulepath '=' modulepath ; modulepath : varid { $$ = $1; } | qvarid { $$ = $1; } ; visibility : PUBLIC | PRIVATE | /* empty */ ; semis1 : semis1 semi | semi ; semis : semis semi | /* empty */ ; semi : ';' | INSERTED_SEMI ; /* --------------------------------------------------------- -- Top level declarations ----------------------------------------------------------*/ declarations: fixitydecl semis1 declarations | topdecls ; fixitydecl : visibility fixity oplist1 ; fixity : INFIX NAT | INFIXR NAT | INFIXL NAT ; oplist1 : oplist1 ',' identifier | identifier ; topdecls : topdecls1 | /* empty */ ; topdecls1 : topdecls1 topdecl semis1 | topdecl semis1 /* error recovery */ | topdecls1 error semis1 | error semis1 { yyerror(&@1,scanner,"skipped top-level declaration"); } ; topdecl : visibility puredecl { printDecl("value",$2); } | visibility aliasdecl { printDecl("alias",$2); } | visibility typedecl { printDecl("type",$2); } | ABSTRACT typedecl { printDecl("type",$2); } | visibility externdecl { printDecl("extern",$2); } ; /* --------------------------------------------------------- -- External declarations ----------------------------------------------------------*/ externdecl : ID_INLINE EXTERN funid externtype externbody { $$ = $3; } | ID_NOINLINE EXTERN funid externtype externbody { $$ = $3; } | EXTERN funid externtype externbody { $$ = $2; } | EXTERN IMPORT externimpbody { $$ = "<extern import>"; } ; externtype : ':' typescheme | typeparams '(' parameters ')' annotres ; externbody : '{' semis externstats1 '}' | '{' semis '}' ; externstats1: externstats1 externstat semis1 | externstat semis1 ; externstat : externtarget externinline STRING | externinline STRING ; externinline: ID_INLINE | /* empty */ ; externimpbody: '=' externimp | '{' semis externimps1 '}' ; externimps1 : externimps1 externimp semis1 | externimp semis1 ; externimp : externtarget varid STRING | externtarget '{' externvals1 '}' ; externvals1 : externvals1 externval semis1 | externval semis1 ; externval : varid '=' STRING ; externtarget: ID_CS | ID_JS | ID_C ; /* --------------------------------------------------------- -- Type declarations ----------------------------------------------------------*/ aliasdecl : ALIAS typeid typeparams kannot '=' type { $$ = $2; } ; typedecl : typemod TYPE typeid typeparams kannot typebody { $$ = $3; } | structmod STRUCT typeid typeparams kannot conparams { $$ = $3; } | effectmod EFFECT varid typeparams kannot opdecls { $$ = $3; } | effectmod EFFECT typeparams kannot operation { $$ = "<operation>"; } | NAMED effectmod EFFECT varid typeparams kannot opdecls { $$ = $4; } | NAMED effectmod EFFECT typeparams kannot operation { $$ = "<operation>"; } | NAMED effectmod EFFECT varid typeparams kannot IN type opdecls { $$ = $4; } /* error on SCOPED (?) */ ; typemod : structmod | ID_OPEN | ID_EXTEND | ID_CO | ID_REC ; structmod : ID_VALUE | ID_REFERENCE | /* empty */ ; effectmod : ID_REC | ID_LINEAR | ID_LINEAR ID_REC | /* empty */ ; typebody : '{' semis constructors '}' | /* empty */ ; typeid : '(' commas ')' { $$ = "(,)"; } /* tuples */ | '[' ']' { $$ = "[]"; } /* lists */ | '<' '>' { $$ = "<>"; } /* total effect */ | '<' '|' '>' { $$ = "<|>"; } /* effect extension */ | varid { $$ = $1; } ; commas : commas1 | /* empty */ ; commas1 : commas ',' ; constructors: constructors1 semis1 | /* empty */ ; constructors1: constructors1 semis1 constructor | constructor ; constructor : visibility con conid typeparams conparams | visibility con STRING typeparams conparams ; con : CON | /* empty */ ; conparams : '(' parameters1 ')' /* deprecated */ | '{' semis sconparams '}' | /* empty */ ; sconparams : sconparams parameter semis1 | /* empty */ ; /* --------------------------------------------------------- -- Effect declarations ----------------------------------------------------------*/ opdecls : '{' semis operations '}' ; operations : operations operation semis1 | /* empty */ ; operation : visibility VAL identifier typeparams ':' tatomic | visibility FUN identifier typeparams '(' parameters ')' ':' tatomic | visibility EXCEPT identifier typeparams '(' parameters ')' ':' tatomic | visibility CONTROL identifier typeparams '(' parameters ')' ':' tatomic ; /* --------------------------------------------------------- -- Pure (top-level) Declarations ----------------------------------------------------------*/ puredecl : inlineattr VAL binder '=' blockexpr { $$ = $3; } | inlineattr FUN funid funparams bodyexpr { $$ = $3; } ; inlineattr : ID_INLINE | ID_NOINLINE | /* empty */ ; fundecl : funid funparams bodyexpr { $$ = $1; } ; binder : identifier { $$ = $1; } | identifier ':' type { $$ = $1; } ; funid : identifier { $$ = $1; } | '[' commas ']' { $$ = "[]"; } | STRING { $$ = $1; } ; funparams : typeparams '(' pparameters ')' annotres qualifier ; annotres : ':' tresult | /* empty */ ; /* --------------------------------------------------------- -- Statements ----------------------------------------------------------*/ block : '{' semis statements1 '}' /* must end with an expression statement (and not a declaration) */ ; statements1 : statements1 statement semis1 | statement semis1 | error semis1 ; statement : decl | withstat | withstat IN blockexpr | returnexpr | basicexpr ; decl : FUN fundecl | VAL apattern '=' blockexpr /* local value declaration can use a pattern binding */ | VAR binder ASSIGN blockexpr /* local variable declaration */ ; /* --------------------------------------------------------- -- Expressions ----------------------------------------------------------*/ bodyexpr : RARROW blockexpr | block ; blockexpr : expr /* a `block` is not interpreted as an anonymous function but as statement grouping */ ; expr : withexpr | block /* interpreted as an anonymous function (except if coming from `blockexpr`) */ | returnexpr // | basicexpr '?' expr ':' expr | basicexpr ; basicexpr : ifexpr | matchexpr | handlerexpr | fnexpr | opexpr %prec RARROW ; /* keyword expressions */ matchexpr : MATCH ntlexpr '{' semis matchrules '}' ; fnexpr : FN funparams bodyexpr /* anonymous function */ ; returnexpr : RETURN expr ; ifexpr : IF ntlexpr THEN expr elifs | IF ntlexpr THEN expr | IF ntlexpr RETURN expr ; elifs : ELIF ntlexpr THEN expr elifs | ELSE expr ; /* operator expression */ opexpr : opexpr qoperator prefixexpr | prefixexpr ; prefixexpr : '!' prefixexpr | '~' prefixexpr | appexpr %prec RARROW ; appexpr : appexpr '(' arguments ')' /* application */ | appexpr '[' arguments ']' /* index expression */ | appexpr '.' atom /* dot application */ | appexpr block /* trailing function application */ | appexpr fnexpr /* trailing function application */ | atom ; /* non-trailing-lambda expression */ ntlexpr : ntlopexpr ; ntlopexpr : ntlopexpr qoperator ntlprefixexpr | ntlprefixexpr ; ntlprefixexpr: '!' ntlprefixexpr | '~' ntlprefixexpr | ntlappexpr ; ntlappexpr : ntlappexpr '(' arguments ')' /* application */ | ntlappexpr '[' arguments ']' /* index expression */ | ntlappexpr '.' atom /* dot application */ | atom ; /* atomic expressions */ atom : qidentifier | qconstructor | literal | mask | '(' aexprs ')' /* unit, parenthesized (possibly annotated) expression, tuple expression */ | '[' cexprs ']' /* list expression (elements may be terminated with comma instead of separated) */ ; literal : NAT | FLOAT | CHAR | STRING ; mask : MASK behind '<' tbasic '>' ; behind : ID_BEHIND | /* empty */ ; /* arguments: separated by comma */ arguments : arguments1 | /* empty */ ; arguments1 : arguments1 ',' argument | argument ; argument : expr | identifier '=' expr /* named arguments */ ; /* parameters: separated by comma, must have a type */ parameters : parameters1 | /* empty */ ; parameters1 : parameters1 ',' parameter | parameter ; parameter : paramid ':' paramtype | paramid ':' paramtype '=' expr ; paramid : identifier | WILDCARD ; paramtype : type | '?' type ; /* pattern matching parameters: separated by comma */ pparameters : pparameters1 | /* empty */ ; pparameters1: pparameters1 ',' pparameter | pparameter ; pparameter : pattern | pattern ':' paramtype | pattern ':' paramtype '=' expr | pattern '=' expr ; /* annotated expressions: separated or terminated by comma */ aexprs : aexprs1 /* separated by comma */ | /* empty */ ; aexprs1 : aexprs1 ',' aexpr | aexpr ; cexprs : cexprs0 /* terminated or separated by comma */ | cexprs0 aexpr ; cexprs0 : cexprs0 aexpr ',' | /* empty */ ; aexpr : expr annot ; annot : ':' typescheme | /* empty */ ; /* --------------------------------------------------------- -- Identifiers and operators ----------------------------------------------------------*/ qoperator : op ; qidentifier : qvarid | QIDOP | identifier ; identifier : varid | IDOP ; qvarid : QID ; varid : ID | ID_C { $$ = "c"; } | ID_CS { $$ = "cs"; } | ID_JS { $$ = "js"; } | ID_FILE { $$ = "file"; } | ID_INLINE { $$ = "inline"; } | ID_NOINLINE { $$ = "noinline"; } | ID_OPEN { $$ = "open"; } | ID_EXTEND { $$ = "extend"; } | ID_LINEAR { $$ = "linear"; } | ID_BEHIND { $$ = "behind"; } | ID_VALUE { $$ = "value"; } | ID_REFERENCE { $$ = "reference"; } | ID_SCOPED { $$ = "scoped"; } | ID_INITIALLY { $$ = "initially"; } | ID_FINALLY { $$ = "finally"; } | ID_REC { $$ = "rec"; } | ID_CO { $$ = "co"; } /* | ID_NAMED { $$ = "named"; } */ ; qconstructor: conid | qconid ; qconid : QCONID { $$ = $1; } ; conid : CONID { $$ = $1; } ; op : OP | '>' { $$ = ">"; } | '<' { $$ = "<"; } | '|' { $$ = "|"; } | ASSIGN { $$ = ":="; } ; /* --------------------------------------------------------- -- Matching ----------------------------------------------------------*/ matchrules : matchrules1 semis1 | /* empty */ ; matchrules1 : matchrules1 semis1 matchrule | matchrule ; matchrule : patterns1 '|' expr RARROW blockexpr | patterns1 bodyexpr ; patterns1 : patterns1 ',' pattern | pattern ; apatterns : apatterns1 | /* empty */ ; apatterns1 : apatterns1 ',' apattern | apattern ; apattern : pattern annot /* annotated pattern */ ; pattern : identifier | identifier AS pattern /* named pattern */ | conid | conid '(' patargs ')' | '(' apatterns ')' /* unit, parenthesized, and tuple pattern */ | '[' apatterns ']' /* list pattern */ | literal | WILDCARD ; patargs : patargs1 | /* empty */ ; patargs1 : patargs ',' patarg | patarg ; patarg : identifier '=' apattern /* named argument */ | apattern ; /* --------------------------------------------------------- -- Handlers ----------------------------------------------------------*/ handlerexpr : HANDLER override witheff opclauses | HANDLE override witheff ntlexpr opclauses | NAMED HANDLER witheff opclauses | NAMED HANDLE witheff ntlexpr opclauses ; override : OVERRIDE | /* empty */ ; witheff : '<' anntype '>' | /* empty */ ; withstat : WITH basicexpr | WITH override witheff opclauses /* shorthand for handler */ | WITH binder LARROW basicexpr | WITH binder LARROW witheff opclauses /* shorthand for named handler */ /* deprecated: */ | WITH binder '=' basicexpr | WITH binder '=' witheff opclauses /* shorthand for named handler */ ; withexpr : withstat IN blockexpr /* | withstat */ ; opclauses : opclause | '{' semis opclauses1 semis1 '}' | '{' semis '}' ; opclauses1 : opclauses1 semis1 opclausex | opclausex ; opclausex : ID_FINALLY bodyexpr | ID_INITIALLY bodyexpr | opclause ; opclause : VAL qidentifier '=' expr | VAL qidentifier ':' type '=' expr | FUN qidentifier opparams bodyexpr | EXCEPT qidentifier opparams bodyexpr | CONTROL qidentifier opparams bodyexpr | RCONTROL qidentifier opparams bodyexpr | RETURN '(' opparam ')' bodyexpr | RETURN paramid bodyexpr /* deprecated */ ; opparams : '(' opparams0 ')' | /* empty */ ; opparams0 : opparams1 | /* empty */ ; opparams1 : opparams1 ',' opparam | opparam ; opparam : paramid | paramid ':' type ; /* --------------------------------------------------------- -- Types ----------------------------------------------------------*/ tbinders : tbinders1 | /* empty */ ; tbinders1 : tbinders1 ',' tbinder | tbinder ; tbinder : varid kannot ; /* full type */ typescheme : someforalls tarrow qualifier /* used for type annotations */ ; type : FORALL typeparams1 tarrow qualifier | tarrow qualifier ; someforalls : SOME typeparams1 FORALL typeparams1 | SOME typeparams1 | FORALL typeparams1 | /* empty */ ; typeparams : typeparams1 | /* empty */ ; typeparams1 : '<' tbinders '>' ; qualifier : WITH '(' predicates1 ')' | /* empty */ ; predicates1 : predicates1 ',' predicate | predicate ; predicate : typeapp /* interface: identifier '<' targuments '>' */ ; /* mono types */ tarrow : tatomic RARROW tresult | tatomic ; tresult : tatomic tbasic /* effect and result type */ | tatomic /* just a result type (with a default total effect) */ ; tatomic : tbasic | '<' targuments1 '|' tatomic '>' /* extensible effect type */ | '<' targuments '>' /* fixed effect type */ ; tbasic : typeapp | '(' tparams ')' /* unit, parenthesis, tuple, named parameters */ | '[' anntype ']' /* list type */ ; typeapp : typecon | typecon '<' targuments '>' ; typecon : varid | qvarid /* type name */ | WILDCARD /* wildcard type variable */ | '(' commas1 ')' /* tuple constructor */ | '[' ']' /* list constructor */ | '(' RARROW ')' /* function constructor */ ; tparams : tparams1 | /* empty */ ; tparams1 : tparams1 ',' tparam | tparam ; tparam : identifier ':' anntype /* named parameter */ | anntype ; targuments : targuments1 | /* empty */ ; targuments1 : targuments1 ',' anntype | anntype ; anntype : type kannot ; /* --------------------------------------------------------- -- Kinds ----------------------------------------------------------*/ kannot : DCOLON kind | /* empty */ ; kind : '(' kinds1 ')' RARROW katom | katom RARROW kind | katom ; kinds1 : kinds1 ',' kind | kind ; katom : conid ; %% void printDecl( const char* sort, const char* name ) { printf( "parsed %s declaration: %s\n", sort, name ); }
26.41989
123
0.434421
fd983c6fd909a855a30e96dd6c56cb15026adfd5
2,798
y
Yacc
math-logic/B/Syntax.y
Lascor22/ITMO-university
a252773ea1dea6179ba37403f38656be499640fc
[ "MIT" ]
null
null
null
math-logic/B/Syntax.y
Lascor22/ITMO-university
a252773ea1dea6179ba37403f38656be499640fc
[ "MIT" ]
null
null
null
math-logic/B/Syntax.y
Lascor22/ITMO-university
a252773ea1dea6179ba37403f38656be499640fc
[ "MIT" ]
4
2021-02-19T01:08:57.000Z
2021-11-21T14:41:53.000Z
{ module Syntax where import Lexer } %name synt %tokentype { Token } %error { parseError } %token "->" { TImpl } "|-" { TTur } var { TVar $$ } '&' { TSym '&' } '|' { TSym '|' } '!' { TSym '!' } '(' { TSym '(' } ')' { TSym ')' } ',' { TSym ',' } %right "->" %left '&' '|' %% Base: LE "|-" Expr { Prf $1 $3 } | "|-" Expr { Prf [] $2 } | Expr { Expr $1 } LE: Expr ',' LE { ($1:$3) } | Expr { [$1] } Expr: Tm "->" Expr { Iml $1 $3 } | Tm { Tm $1 } Tm: Tm '|' Cl { Ds $1 $3 } | Cl { Cl $1 } Cl: Cl '&' Ng { Cn $1 $3 } | Ng { Ng $1 } Ng: '!' Ng { Neg $2 } | Fc { Fc $1 } Fc: var { Vr $1 } | '(' Expr ')' { Br $2 } { parseError :: [Token] -> a parseError _ = error "Parse error" data Base = Prf [Expr] Expr | Expr Expr data Expr = Iml Tm Expr | Tm Tm data Tm = Ds Tm Cl | Cl Cl data Cl = Cn Cl Ng | Ng Ng data Ng = Neg Ng | Fc Fc data Fc = Vr String | Br Expr instance Show Fc where show (Vr a) = a show (Br a) = show a instance Show Ng where show (Neg a) = "!" ++ (show a) show (Fc a) = show a instance Show Tm where show (Ds a b) = "(" ++ (show a) ++ " | " ++ (show b) ++ ")" show (Cl a) = show a instance Show Cl where show (Cn a b) = "(" ++ (show a) ++ " & " ++ (show b) ++ ")" show (Ng a) = show a instance Show Expr where show (Iml a b) = "(" ++ (show a) ++ " -> " ++ (show b) ++ ")" show (Tm a) = show a instance Show Base where show (Prf a b) = (g (map show a)) ++ "|- " ++ (show b) where g [] = [] g xs = f xs f = foldr (\a b -> a ++ (if (null b) then " " else ", ") ++ b) [] show (Expr a) = show a data Exp = Impl Exp Exp | Var String | Con Exp Exp | Dis Exp Exp | Not Exp deriving (Eq, Ord) instance Show Exp where show (Impl a b) = "(" ++ (show a) ++ " -> " ++ (show b) ++ ")" show (Con a b) = "(" ++ (show a) ++ " & " ++ (show b) ++ ")" show (Dis a b) = "(" ++ (show a) ++ " | " ++ (show b) ++ ")" show (Not a) = "!" ++ (show a) show (Var a) = a -- convert to my type Exp normalize :: Base -> Exp normalize (Expr expr) = nl0 expr where nl0 (Iml a b) = Impl (nl1 a) (nl0 b) nl0 (Tm a) = nl1 a nl1 (Ds a b) = Dis (nl1 a) (nl2 b) nl1 (Cl a) = nl2 a nl2 (Cn a b) = Con (nl2 a) (nl3 b) nl2 (Ng a) = nl3 a nl3 (Neg a) = Not (nl3 a) nl3 (Fc a) = nl4 a nl4 (Vr a) = Var a nl4 (Br a) = nl0 a }
23.316667
93
0.387777
874cec436f28d2d7311d67fd0eeb87c498631ec5
180
yy
Yacc
gm-project/scripts/pah_reset_timer/pah_reset_timer.yy
adenhumbert/gms2-patreon
ed738ca31d255d1acbad6ce30277267cd7ee1853
[ "MIT" ]
1
2020-04-08T16:57:42.000Z
2020-04-08T16:57:42.000Z
gm-project/scripts/pah_reset_timer/pah_reset_timer.yy
adenhumbert/gms2-patreon
ed738ca31d255d1acbad6ce30277267cd7ee1853
[ "MIT" ]
null
null
null
gm-project/scripts/pah_reset_timer/pah_reset_timer.yy
adenhumbert/gms2-patreon
ed738ca31d255d1acbad6ce30277267cd7ee1853
[ "MIT" ]
null
null
null
{ "id": "69edd2f6-b230-4c62-8672-ab4631d6efb2", "modelName": "GMScript", "mvc": "1.0", "name": "pah_reset_timer", "IsCompatibility": false, "IsDnD": false }
22.5
49
0.583333
9556cd66f5065e51ae1e9c6ba873233f917bb220
18
y
Yacc
data/chunking/111.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
6
2015-02-18T23:13:30.000Z
2019-02-26T15:04:54.000Z
data/chunking/111.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
1
2016-02-02T23:42:55.000Z
2016-02-16T12:01:02.000Z
data/chunking/111.y
sebastien-bratieres/pygpstruct
fdb31752ea521797fe13f07beebe21e32144cd03
[ "Apache-2.0" ]
2
2016-05-09T03:45:23.000Z
2019-10-18T08:04:54.000Z
0 3 6 0 3 0 3 7 6
1.8
1
0.5
9cb1a611fd40982a758e668858e8fbee559619ea
2,079
zep
Zephir
phalcon/Html/Link/Serializer/Header.zep
tidytrax/cphalcon
f2dbbb86bbc3e9929878549a2dedbbb67211b9d1
[ "BSD-3-Clause" ]
7,737
2015-01-01T14:03:10.000Z
2022-03-30T20:58:21.000Z
phalcon/Html/Link/Serializer/Header.zep
tidytrax/cphalcon
f2dbbb86bbc3e9929878549a2dedbbb67211b9d1
[ "BSD-3-Clause" ]
6,398
2015-01-01T09:04:48.000Z
2022-03-26T01:09:17.000Z
phalcon/Html/Link/Serializer/Header.zep
tidytrax/cphalcon
f2dbbb86bbc3e9929878549a2dedbbb67211b9d1
[ "BSD-3-Clause" ]
2,258
2015-01-04T05:12:17.000Z
2022-03-30T13:53:15.000Z
/** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalcon.io> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ namespace Phalcon\Html\Link\Serializer; use Psr\Link\EvolvableLinkInterface; /** * Class Phalcon\Http\Link\Serializer\Header */ class Header implements SerializerInterface { /** * Serializes all the passed links to a HTTP link header */ public function serialize(array links) -> string | null { var attributes, key, link, rels, result = null, subValue, value; array elements, parts; let elements = []; for link in links { /** * Leave templated links alone */ if true === link->isTemplated() { continue; } /** * Split the parts of the attributes so that we can parse them */ let attributes = link->getAttributes(), rels = link->getRels(), parts = [ "", "rel=\"" . implode(" ", rels) . "\"" ]; for key, value in attributes { if typeof value === "array" { for subValue in value { let parts[] = key . "=\"" . subValue . "\""; } continue; } if typeof value !== "boolean" { let parts[] = key . "=\"" . value . "\""; continue; } if true === value { let parts[] = key; continue; } } let elements[] = "<" . link->getHref() . ">" . implode("; ", parts); } if count(elements) > 0 { let result = implode(",", elements); } return result; } }
26.316456
78
0.429533
379d3101bfd7dbea805dfdf3b391f2b45310ded3
884
zep
Zephir
ice/i18n/plural/two.zep
remicollet/framework-1
4c8bf6e56b0f8838123854810d8f8334c0fc5466
[ "BSD-3-Clause" ]
null
null
null
ice/i18n/plural/two.zep
remicollet/framework-1
4c8bf6e56b0f8838123854810d8f8334c0fc5466
[ "BSD-3-Clause" ]
null
null
null
ice/i18n/plural/two.zep
remicollet/framework-1
4c8bf6e56b0f8838123854810d8f8334c0fc5466
[ "BSD-3-Clause" ]
null
null
null
namespace Ice\I18n\Plural; /** * Plural rules for the following locales and languages: * * Locales: iu kw naq se sma smi smj smn sms * * Rules: * one → n is 1; * two → n is 2; * other → everything else * * Reference CLDR Version 21 (2012-03-01 03:27:30 GMT) * @see http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html * @see http://unicode.org/repos/cldr/trunk/common/supplemental/plurals.xml * * @package Ice/I18n * @category Plural rules * @author Ice Team * @copyright (c) 2014-2020 Ice Team * @license http://iceframework.org/license */ class Two implements PluralInterface { public function getCategory(int count) -> string { if count == 1 { return "one"; } elseif count == 2 { return "two"; } else { return "other"; } } }
23.891892
93
0.608597
02cfe07d7756bfaab69ee083719fecf281c870b0
5,264
zep
Zephir
phalcon/app/process.zep
penlook/app
adaf569e17fd6f8bf34e7be9738d06c1717e71c8
[ "RSA-MD" ]
1
2019-08-09T04:28:54.000Z
2019-08-09T04:28:54.000Z
phalcon/app/process.zep
penlook/app
adaf569e17fd6f8bf34e7be9738d06c1717e71c8
[ "RSA-MD" ]
1
2019-08-09T04:17:53.000Z
2019-08-09T04:17:53.000Z
phalcon/app/process.zep
penlook/app
adaf569e17fd6f8bf34e7be9738d06c1717e71c8
[ "RSA-MD" ]
1
2015-07-30T03:19:50.000Z
2015-07-30T03:19:50.000Z
/* +--------------------------------------------------------------------------+ | Penlook Project | +--------------------------------------------------------------------------+ | Copyright (c) 2015 Penlook Development Team | +--------------------------------------------------------------------------+ | | | This program is free software: you can redistribute it and/or modify | | it under the terms of the GNU Affero General Public License as | | published by the Free Software Foundation, either version 3 of the | | License, or (at your option) any later version. | | | | This program is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public License | | along with this program. If not, see <http://www.gnu.org/licenses/>. | | | +--------------------------------------------------------------------------+ | Authors: Loi Nguyen <loint@penlook.com> | | Tin Nguyen <tinntt@penlook.com> | | Nam Vo <namvh@penlook.com> | +--------------------------------------------------------------------------+ */ namespace Phalcon\App; /** * Process * * @category Penlook Application * @package App * @copyright Penlook Development Team * @license GNU Affero General Public * @version 1.0 * @link http://github.com/penlook * @since Class available since Release 1.0 */ class Process { private static static_process; /** * Return Process Instant * * @return Process */ public static function getInstance() { if (!self::static_process) { let self::static_process = new Process(); } return self::static_process; } /** * Convert array to object * * @param arr * * @return mixed */ public static function arr2obj(var arr) { return json_decode(json_encode(arr), false); } /** * Debug variable * * @param variable */ public static function debug(var variable) { echo "<pre>"; print_r(variable); echo "</pre>"; die(); } /** * Encode password * * @param email * @param hash_password * * @return string */ public static function encodePassword(var email, var hash_password) // Encode second times { // $secure = '~!@#$%^&*()_+[]'; // $hash_password = md5(sha1(password).$secure)); var salt; let salt = "D6Aa45zzTyOPA12309Pso981266"; return md5(sha1(hash_password . salt) . email); // unique } /** * Get extension of file name * @param string path * @return string */ public static function getExtension(path) { return substr(strrchr(path,'.'),1); } /** * Get extension of file name * @param string path * @return string */ public static function getFileType(path) { var ext; let ext = self::getExtension(path); switch (ext) { case "less": return "less"; case "coffee": return "coffeescript"; case "css": return "css"; case "js": return "javascript"; default: return "text"; } } /** * MD5 Encoding * * @param text * @param limit * * @return hash */ public static function md5(text, limit=null) { if is_null(limit) { return md5(text); } else { var res; let res = md5(text); return substr(res, 0, limit); } } /** * Matching pattern * * @param text * @param limit * * @return hash */ public static function match(pattern, text) { var matches; let matches = []; preg_match(pattern, text, matches); return (count(matches)>0) ? true : false; } public static function hashID(var id) { /*var hash_number, hash_table, str_hash, hash = "", k, ch; let hash_number = 1050382 + id; let hash_table = "APZPLMXYDW"; let str_hash = strval(hash_number); for ch in str_hash { let k = intval(ch); let hash .= hash_table[k]; } return hash;*/ } public function splitWord(var str) { return explode(str, " "); } }
27.274611
94
0.443009
c3ed268a737b804aa0e74841f1b8bfb8fdff12d6
394
zep
Zephir
ctwig/errors/syntax.zep
SDpower/CTwig
6bfde553e413ea841f9a9f51ba82e3ce09db7ebe
[ "BSD-3-Clause" ]
1
2015-09-04T05:09:05.000Z
2015-09-04T05:09:05.000Z
ctwig/errors/syntax.zep
SDpower/CTwig
6bfde553e413ea841f9a9f51ba82e3ce09db7ebe
[ "BSD-3-Clause" ]
null
null
null
ctwig/errors/syntax.zep
SDpower/CTwig
6bfde553e413ea841f9a9f51ba82e3ce09db7ebe
[ "BSD-3-Clause" ]
null
null
null
/* * This file is part of CTwig. * * (c) 2014 Steve Lo * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Exception thrown when a syntax error occurs during lexing or parsing of a template. * * * @author Steve Lo <info@sd.idv.tw> */ namespace CTwig\Errors; class Syntax extends \CTwig\Errors { }
19.7
86
0.69797
dbb9183453687121340417901acc3fbd67c0bdae
5,848
zep
Zephir
phalcon/forms/elementinterface.zep
luomor/cphalcon
2f55ebb91a37cdcd2bc0709c0cb313dc139bf91c
[ "PHP-3.01", "Zend-2.0", "BSD-3-Clause" ]
null
null
null
phalcon/forms/elementinterface.zep
luomor/cphalcon
2f55ebb91a37cdcd2bc0709c0cb313dc139bf91c
[ "PHP-3.01", "Zend-2.0", "BSD-3-Clause" ]
null
null
null
phalcon/forms/elementinterface.zep
luomor/cphalcon
2f55ebb91a37cdcd2bc0709c0cb313dc139bf91c
[ "PHP-3.01", "Zend-2.0", "BSD-3-Clause" ]
null
null
null
/* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2017 Phalcon Team (https://phalconphp.com) | +------------------------------------------------------------------------+ | This source file is subject to the New BSD License that is bundled | | with this package in the file LICENSE.txt. | | | | If you did not receive a copy of the license and are unable to | | obtain it through the world-wide-web, please send an email | | to license@phalconphp.com so we can send you a copy immediately. | +------------------------------------------------------------------------+ | Authors: Andres Gutierrez <andres@phalconphp.com> | | Eduar Carvajal <eduar@phalconphp.com> | +------------------------------------------------------------------------+ */ namespace Phalcon\Forms; use Phalcon\Forms\Form; use Phalcon\Validation\MessageInterface; use Phalcon\Validation\ValidatorInterface; use Phalcon\Validation\Message\Group; /** * Phalcon\Forms\Element * * Interface for Phalcon\Forms\Element classes */ interface ElementInterface { /** * Sets the parent form to the element */ public function setForm(<Form> form) -> <ElementInterface>; /** * Returns the parent form to the element */ public function getForm() -> <Form>; /** * Sets the element's name */ public function setName(string! name) -> <ElementInterface>; /** * Returns the element's name */ public function getName() -> string; /** * Sets the element's filters * * @param array|string filters * @return \Phalcon\Forms\ElementInterface */ public function setFilters(filters) -> <ElementInterface>; /** * Adds a filter to current list of filters */ public function addFilter(string filter) -> <ElementInterface>; /** * Returns the element's filters * * @return mixed */ public function getFilters(); /** * Adds a group of validators * * @param \Phalcon\Validation\ValidatorInterface[] * @param boolean merge * @return \Phalcon\Forms\ElementInterface */ public function addValidators(array! validators, boolean merge = true) -> <ElementInterface>; /** * Adds a validator to the element */ public function addValidator(<ValidatorInterface> validator) -> <ElementInterface>; /** * Returns the validators registered for the element */ public function getValidators() -> <ValidatorInterface[]>; /** * Returns an array of prepared attributes for Phalcon\Tag helpers * according to the element's parameters */ public function prepareAttributes(array attributes = null, boolean useChecked = false) -> array; /** * Sets a default attribute for the element * * @param string attribute * @param mixed value * @return \Phalcon\Forms\ElementInterface */ public function setAttribute(string attribute, value) -> <ElementInterface>; /** * Returns the value of an attribute if present * * @param string attribute * @param mixed defaultValue * @return mixed */ public function getAttribute(string attribute, defaultValue = null); /** * Sets default attributes for the element */ public function setAttributes(array! attributes) -> <ElementInterface>; /** * Returns the default attributes for the element */ public function getAttributes() -> array; /** * Sets an option for the element * * @param string option * @param mixed value * @return \Phalcon\Forms\ElementInterface */ public function setUserOption(string option, value) -> <ElementInterface>; /** * Returns the value of an option if present * * @param string option * @param mixed defaultValue * @return mixed */ public function getUserOption(string option, defaultValue = null); /** * Sets options for the element */ public function setUserOptions(array options) -> <ElementInterface>; /** * Returns the options for the element */ public function getUserOptions() -> array; /** * Sets the element label */ public function setLabel(string label) -> <ElementInterface>; /** * Returns the element's label */ public function getLabel() -> string; /** * Generate the HTML to label the element */ public function label() -> string; /** * Sets a default value in case the form does not use an entity * or there is no value available for the element in _POST * * @param mixed value * @return \Phalcon\Forms\ElementInterface */ public function setDefault(value) -> <ElementInterface>; /** * Returns the default value assigned to the element * * @return mixed */ public function getDefault(); /** * Returns the element's value * * @return mixed */ public function getValue(); /** * Returns the messages that belongs to the element * The element needs to be attached to a form * * @return \Phalcon\Validation\Message\Group */ public function getMessages(); /** * Checks whether there are messages attached to the element */ public function hasMessages() -> boolean; /** * Sets the validation messages related to the element */ public function setMessages(<Group> group) -> <ElementInterface>; /** * Appends a message to the internal message list */ public function appendMessage(<MessageInterface> message) -> <ElementInterface>; /** * Clears every element in the form to its default value */ public function clear() -> <ElementInterface>; /** * Renders the element widget * * @param array attributes */ public function render(attributes = null) -> string; }
25.426087
97
0.620896