spoofax_helloworld/editor/Syntax.esv

28 lines
491 B
Plaintext

module Syntax
imports
libspoofax/color/default
completion/colorer/spoofax_helloworld-cc-esv
language
table : target/metaborg/sdf.tbl
start symbols : Start
line comment : "//"
block comment : "/*" * "*/"
fences : [ ] ( ) { }
menus
menu: "Syntax" (openeditor)
action: "Format" = editor-format (source)
action: "Show parsed AST" = debug-show-aterm (source)
views
outline view: editor-outline (source)
expand to level: 3