Browsable Rascal Key Symbols Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: api/rascal/keysym/extracted
Source used for this grammar: Atze van der Ploeg, vis::KeySym, 2009–2013 [Explore]

Summary

Syntax

KeySym ::=
	[keyPrintable]::⟨key⟩:string
	[keyAltLeft]::ε
	[keyAltRight]::ε
	[keyArrowDown]::ε
	[keyArrowLeft]::ε
	[keyArrowRight]::ε
	[keyArrowUp]::ε
	[keyBackSpace]::ε
	[keyBreak]::ε
	[keyCapsLock]::ε
	[keyCommandLeft]::ε
	[keyCommandRight]::ε
	[keyControlLeft]::ε
	[keyControlRight]::ε
	[keyEnd]::ε
	[keyEnter]::ε
	[keyEscape]::ε
	[keyF1]::ε
	[keyF10]::ε
	[keyF11]::ε
	[keyF12]::ε
	[keyF13]::ε
	[keyF14]::ε
	[keyF15]::ε
	[keyF16]::ε
	[keyF17]::ε
	[keyF18]::ε
	[keyF19]::ε
	[keyF2]::ε
	[keyF20]::ε
	[keyF3]::ε
	[keyF4]::ε
	[keyF5]::ε
	[keyF6]::ε
	[keyF7]::ε
	[keyF8]::ε
	[keyF9]::ε
	[keyHelp]::ε
	[keyHome]::ε
	[keyInsert]::ε
	[keyKeypad0]::ε
	[keyKeypad1]::ε
	[keyKeypad2]::ε
	[keyKeypad3]::ε
	[keyKeypad4]::ε
	[keyKeypad5]::ε
	[keyKeypad6]::ε
	[keyKeypad7]::ε
	[keyKeypad8]::ε
	[keyKeypad9]::ε
	[keyKeypadAdd]::ε
	[keyKeypadCr]::ε
	[keyKeypadDecimal]::ε
	[keyKeypadDivide]::ε
	[keyKeypadEqual]::ε
	[keyKeypadMultiply]::ε
	[keyKeypadSubtract]::ε
	[keyNumLock]::ε
	[keyPageDown]::ε
	[keyPageUp]::ε
	[keyPause]::ε
	[keyPrintScreen]::ε
	[keyScrollLock]::ε
	[keyShiftLeft]::ε
	[keyShiftRight]::ε
	[keyTab]::ε
	[keyUnknown]::⟨keyCode⟩:integer
KeyModifier ::=
	[modCtrl]::ε
	[modAlt]::ε
	[modShift]::ε
	[modCommand]::ε

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []