-
Notifications
You must be signed in to change notification settings - Fork 628
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main: implement the setter and getter for parser specific fields defi…
…ned in an optlib parser Signed-off-by: Masatake YAMATO <[email protected]>
- Loading branch information
Showing
10 changed files
with
154 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#LETTER NAME ENABLED LANGUAGE JSTYPE FIXED OP DESCRIPTION | ||
- boolfield no FIELDTEST --b no -- a field having boolean value | ||
- boolfield no FIELDTEST --b no rw a field having boolean value | ||
- deffield no FIELDTEST s-- no -- a field that type is not specified | ||
- intfield no FIELDTEST -i- no -- a field having integer value | ||
- strfield no FIELDTEST s-- no -- a field having string value | ||
- intfield no FIELDTEST -i- no rw a field having integer value | ||
- strfield no FIELDTEST s-- no rw a field having string value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#LETTER NAME DESCRIPTION | ||
- datatype=TYPE acceaptable datatype of the field ([str]|bool|int) | ||
- datatype=TYPE acceaptable datatype of the field (str|bool|int) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ protected func bar(n); | |
private func baz(n,...); | ||
X:tagme@iamowner | ||
Y:iamowner2=tagme2 | ||
Z:tagme-z@iamowner-z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
--langdef=knownz | ||
--kinddef-knownz=m,mark,makers | ||
|
||
--_fielddef-knownz=owner,the owner of the markers | ||
--_fielddef-knownz=owner,the owner of the markers{datatype=str} | ||
|
||
--_fielddef-knownz=len,the length of owner string{datatype=int} | ||
--fields-knownz=+{len} | ||
--_fielddef-knownz=lenplus,the length of owner string + 1{datatype=int} | ||
--fields-knownz=+{lenplus} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters