Skip to content

Commit

Permalink
Update syntax rules
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagodp committed Dec 14, 2019
1 parent 0c475e7 commit 8aa0d52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dist/modules/nlp/SyntaxRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ exports.UI_ACTION_SYNTAX_RULES = [
constant: { min: 0, max: 1 },
ui_property_ref: { min: 0, max: 1 }
},
{ name: "see", minTargets: 0, maxTargets: 2,
{ name: "see", minTargets: 0, maxTargets: 3,
targets: ["ui_element", "ui_literal", "value", "number", "constant", "ui_property_ref"],
ui_element: { min: 0, max: 1 },
ui_literal: { min: 0, max: 1 },
value: { min: 0, max: 1 },
number: { min: 0, max: 1 },
constant: { min: 0, max: 1 },
value: { min: 0, max: 2 },
number: { min: 0, max: 2 },
constant: { min: 0, max: 2 },
ui_property_ref: { min: 0, max: 1 }
},
{ name: "select", minTargets: 1, maxTargets: 2,
Expand Down
8 changes: 4 additions & 4 deletions modules/nlp/SyntaxRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ export const UI_ACTION_SYNTAX_RULES = [
constant: { min: 0, max: 1 },
ui_property_ref: { min: 0, max: 1 }
},
{ name: "see", minTargets: 0, maxTargets: 2,
{ name: "see", minTargets: 0, maxTargets: 3,
targets: [ "ui_element", "ui_literal", "value", "number", "constant", "ui_property_ref" ],
ui_element: { min: 0, max: 1 },
ui_literal: { min: 0, max: 1 },
value: { min: 0, max: 1 },
number: { min: 0, max: 1 },
constant: { min: 0, max: 1 },
value: { min: 0, max: 2 },
number: { min: 0, max: 2 },
constant: { min: 0, max: 2 },
ui_property_ref: { min: 0, max: 1 }
},
{ name: "select", minTargets: 1, maxTargets: 2,
Expand Down

0 comments on commit 8aa0d52

Please sign in to comment.