yapocis.rpc.parser
¶
Module Contents¶
Classes¶
Manages the kernel definitions, particularly the parameter specifications. |
Functions¶
|
pyparser grammar for the yapocis interface specification. Inspired by an IDL parser by Paul McGuire, shipped as a demo with pyparser. |
|
|
|
Deals with variants of parameter specifications, returns a uniform array of information. |
|
Builds an InterfaceCL for the source interface definition. |
-
yapocis.rpc.parser.
INTERFACECL_BNF
() → pyparsing.OneOrMore[source]¶ pyparser grammar for the yapocis interface specification. Inspired by an IDL parser by Paul McGuire, shipped as a demo with pyparser.
-
class
yapocis.rpc.parser.
InterfaceCL
(interface_name: str, kernel_defs: yapocis.utils.typing.List[Any], kernel_aliases: yapocis.utils.typing.Dict[str, str])[source]¶ Manages the kernel definitions, particularly the parameter specifications.
-
yapocis.rpc.parser.
fix_param
(param: yapocis.utils.typing.List[Any]) → yapocis.utils.typing.List[Any][source]¶ Deals with variants of parameter specifications, returns a uniform array of information.
-
yapocis.rpc.parser.
get_interface
(s: str) → yapocis.rpc.parser.InterfaceCL[source]¶ Builds an InterfaceCL for the source interface definition.