gdlc 3.0.0.0 → 3.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/GDLC_manual.html +21 -2
- data/docs/GDLC_manual.md +19 -2
- data/lib/gdlc/version.rb +2 -2
- data/res/gdlc.jar +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97d5d01f1a71769e3ea3f69c37488d30cff32f91
|
4
|
+
data.tar.gz: 6eb7d4b9218d5a37c3c2ac1221c3aaa3024f8fbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a196700104e6331f558b6c02bc58cb353d89e85d3628ed62d5dd8739380ecf7301abc493db0a049bea51975be6590310e420f2d9bcf734ce6b490f18bef0d2b
|
7
|
+
data.tar.gz: 334653caf03943ef349e1f00f94c2bfb6dff226d4f07a5442eacdc40a9a674ea2389bb51bd024e987d52b4c70a8c4baf7c934a8256a8fba67d313159edf8e733
|
data/docs/GDLC_manual.html
CHANGED
@@ -202,6 +202,7 @@
|
|
202
202
|
<li><span class="h3toc"><a href="#Lookup.Files">Lookup Files</a></span></li>
|
203
203
|
<li><span class="h3toc"><a href="#PowerLookup.Files">PowerLookup Files</a></span></li>
|
204
204
|
<li><span class="h2toc"><a href="#XML.Functions">XML Functions</a></span></li>
|
205
|
+
<li><span class="h3toc"><a href="#Argument.Flow.Type.Indicators">Argument Flow Type Indicators</a></span></li>
|
205
206
|
<li><span class="h3toc"><a href="#Definitions.7">Definitions</a></span></li>
|
206
207
|
<li><span class="h3toc"><a href="#References.6">References</a></span></li>
|
207
208
|
<li><span class="h2toc"><a href="#Miscellaneous">Miscellaneous</a></span></li>
|
@@ -1220,7 +1221,7 @@ end // guideline MyGuideline
|
|
1220
1221
|
<a name="XML.Functions"></a>
|
1221
1222
|
<h2>XML Functions</h2>
|
1222
1223
|
|
1223
|
-
<pre><code>xmlfunc identifier( [
|
1224
|
+
<pre><code>xmlfunc identifier( [FLOW_TYPE] dpmVariable, [FLOW_TYPE] "constant", [FLOW_TYPE] 15.5 );
|
1224
1225
|
</code></pre>
|
1225
1226
|
|
1226
1227
|
<p>XML Functions are defined and provided by the engine. The compiler does not
|
@@ -1229,7 +1230,19 @@ the function exists before using it in your guideline.</p>
|
|
1229
1230
|
|
1230
1231
|
<p>To use an XML function, it must first be defined. The compiler does check the
|
1231
1232
|
argument count against the function definition when it is referenced within a
|
1232
|
-
rule. Errors will be thrown if the argument count doesn't match.</p>
|
1233
|
+
rule. Errors will be thrown if the <em>required</em> argument count doesn't match.</p>
|
1234
|
+
|
1235
|
+
<a name="Argument.Flow.Type.Indicators"></a>
|
1236
|
+
<h3>Argument Flow Type Indicators</h3>
|
1237
|
+
|
1238
|
+
<p>Available flow types:</p>
|
1239
|
+
|
1240
|
+
<pre><code>IN
|
1241
|
+
OUT
|
1242
|
+
OPT
|
1243
|
+
INOPT
|
1244
|
+
OUTOPT
|
1245
|
+
</code></pre>
|
1233
1246
|
|
1234
1247
|
<p>In both definitions and references, the <code>IN</code> and <code>OUT</code> keywords can be used in
|
1235
1248
|
front of each argument. These keywords are optional. They affect nothing and
|
@@ -1237,6 +1250,12 @@ are only used as an indicator for the user as to whether the variable is used
|
|
1237
1250
|
for INput to the function or OUTput from the function. <code>IN</code> and <code>OUT</code> can be
|
1238
1251
|
used in either definitions, or references, or both.</p>
|
1239
1252
|
|
1253
|
+
<p><code>OPT</code>, <code>INOPT</code>, and <code>OUTOPT</code> are <em>optional</em> indicators. They indicate that the
|
1254
|
+
argument is <strong>optional</strong> (ie. not required). <em>The compiler will not flag
|
1255
|
+
a function reference (throw an error) that doesn't include optional arguments.</em>
|
1256
|
+
<code>INOPT</code> and <code>OUTOPT</code> are used to indicate OPTional INput and OPTional OUTput
|
1257
|
+
arguments.</p>
|
1258
|
+
|
1240
1259
|
<p>DPM variables, PPM variables, numbers and constants (values surrounded with
|
1241
1260
|
quotes) can be used as arguments. Inline expressions are not allowed as
|
1242
1261
|
arguments to the function. Assigning values to variables before using them
|
data/docs/GDLC_manual.md
CHANGED
@@ -849,7 +849,7 @@ its use would be as follows:
|
|
849
849
|
- - -
|
850
850
|
## XML Functions
|
851
851
|
|
852
|
-
xmlfunc identifier( [
|
852
|
+
xmlfunc identifier( [FLOW_TYPE] dpmVariable, [FLOW_TYPE] "constant", [FLOW_TYPE] 15.5 );
|
853
853
|
|
854
854
|
XML Functions are defined and provided by the engine. The compiler does not
|
855
855
|
know whether or not a function is available. It is up to the user to verify
|
@@ -857,7 +857,17 @@ the function exists before using it in your guideline.
|
|
857
857
|
|
858
858
|
To use an XML function, it must first be defined. The compiler does check the
|
859
859
|
argument count against the function definition when it is referenced within a
|
860
|
-
rule. Errors will be thrown if the argument count doesn't match.
|
860
|
+
rule. Errors will be thrown if the _required_ argument count doesn't match.
|
861
|
+
|
862
|
+
### Argument Flow Type Indicators
|
863
|
+
|
864
|
+
Available flow types:
|
865
|
+
|
866
|
+
IN
|
867
|
+
OUT
|
868
|
+
OPT
|
869
|
+
INOPT
|
870
|
+
OUTOPT
|
861
871
|
|
862
872
|
In both definitions and references, the `IN` and `OUT` keywords can be used in
|
863
873
|
front of each argument. These keywords are optional. They affect nothing and
|
@@ -865,6 +875,13 @@ are only used as an indicator for the user as to whether the variable is used
|
|
865
875
|
for INput to the function or OUTput from the function. `IN` and `OUT` can be
|
866
876
|
used in either definitions, or references, or both.
|
867
877
|
|
878
|
+
`OPT`, `INOPT`, and `OUTOPT` are _optional_ indicators. They indicate that the
|
879
|
+
argument is **optional** (ie. not required). _The compiler will not flag
|
880
|
+
a function reference (throw an error) that doesn't include optional arguments._
|
881
|
+
`INOPT` and `OUTOPT` are used to indicate OPTional INput and OPTional OUTput
|
882
|
+
arguments.
|
883
|
+
|
884
|
+
|
868
885
|
DPM variables, PPM variables, numbers and constants (values surrounded with
|
869
886
|
quotes) can be used as arguments. Inline expressions are not allowed as
|
870
887
|
arguments to the function. Assigning values to variables before using them
|
data/lib/gdlc/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
##############################################################################
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2016 Jeff McAffee
|
3
3
|
#
|
4
4
|
# This program is free software: you can redistribute it and/or modify
|
5
5
|
# it under the terms of the GNU General Public License as published by
|
@@ -16,7 +16,7 @@
|
|
16
16
|
#
|
17
17
|
|
18
18
|
module Gdlc
|
19
|
-
VERSION = "3.
|
19
|
+
VERSION = "3.1.0.0" unless constants.include?("VERSION")
|
20
20
|
APPNAME = "GDLC" unless constants.include?("APPNAME")
|
21
21
|
COPYRIGHT = "Copyright (c) 2016 Jeff McAffee. All rights reserved" unless constants.include?("COPYRIGHT")
|
22
22
|
end
|
data/res/gdlc.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdlc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff McAffee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|