Skip to content

Commit

Permalink
State group definitions; machine names
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Jul 30, 2017
1 parent 1f4f030 commit 5a1806d
Show file tree
Hide file tree
Showing 5 changed files with 224 additions and 6 deletions.
210 changes: 208 additions & 2 deletions dist/jssm.es5.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/jssm.es5.cjs.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/lib/index.html
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset='utf-8' />
<title>jssm 3.10.0 | Documentation</title>
<title>jssm 3.11.0 | Documentation</title>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' type='text/css' rel='stylesheet' />
<link href='assets/style.css' type='text/css' rel='stylesheet' />
Expand All @@ -14,7 +14,7 @@
<div class='fixed xs-hide fix-3 overflow-auto max-height-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>jssm</h3>
<div class='mb1'><code>3.10.0</code></div>
<div class='mb1'><code>3.11.0</code></div>
<input
placeholder='Filter'
id='filter-input'
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jssm",
"version": "3.10.0",
"version": "3.11.0",
"engines": {
"node": ">=6.0.0"
},
Expand Down
12 changes: 12 additions & 0 deletions src/js/jssm-dot.peg
Expand Up @@ -317,9 +317,21 @@ StateDef "state definition"



MachineName
= Whitespace "machine name" Whitespace ":" Whitespace name:Label Whitespace ";" Whitespace { return { key: "Machine name", value: name }; }



StateGroupDef
= Whitespace "group" Whitespace name:Label Whitespace ":" Whitespace nl:LabelOrLabelList Whitespace ";" Whitespace { return { key: "group definition", value: { name: name, list: nl } }; }



Term
= Exp
/ StateDef
/ MachineName
/ StateGroupDef
/ Config

TermList
Expand Down

0 comments on commit 5a1806d

Please sign in to comment.