Lines Matching full:children

535     def identifier(self, children):  argument
537 return _XdrIdentifier(children[0].value)
539 def value(self, children): argument
541 if isinstance(children[0], _XdrIdentifier):
542 return _XdrValue(children[0].symbol)
543 return _XdrValue(children[0].children[0].value)
545 def constant(self, children): argument
547 match children[0].data:
549 value = int(children[0].children[0].value, base=10)
551 value = int(children[0].children[0].value, base=16)
553 value = int(children[0].children[0].value, base=8)
556 def type_specifier(self, children): argument
558 if isinstance(children[0], _XdrIdentifier):
559 name = children[0].symbol
562 name = children[0].data.value
565 def constant_def(self, children): argument
567 name = children[0].symbol
568 value = children[1].value
573 def enum(self, children): argument
575 enum_name = children[0].symbol
579 body = children[1]
580 while i < len(body.children):
581 name = body.children[i].symbol
582 value = body.children[i + 1].value
588 def fixed_length_opaque(self, children): argument
590 name = children[0].symbol
591 size = children[1].value
595 def variable_length_opaque(self, children): argument
597 name = children[0].symbol
598 if children[1] is not None:
599 maxsize = children[1].value
605 def string(self, children): argument
607 name = children[0].symbol
608 if children[1] is not None:
609 maxsize = children[1].value
615 def fixed_length_array(self, children): argument
617 spec = children[0]
618 name = children[1].symbol
619 size = children[2].value
623 def variable_length_array(self, children): argument
625 spec = children[0]
626 name = children[1].symbol
627 if children[2] is not None:
628 maxsize = children[2].value
634 def optional_data(self, children): argument
636 spec = children[0]
637 name = children[1].symbol
641 def basic(self, children): argument
643 spec = children[0]
644 name = children[1].symbol
648 def void(self, children): argument
653 def struct(self, children): argument
655 name = children[0].symbol
656 fields = children[1].children
667 def typedef(self, children): argument
669 new_type = children[0]
673 def case_spec(self, children): argument
676 for item in children[0:-1]:
678 arm = children[-1]
682 def default_spec(self, children): argument
684 arm = children[0]
688 def union(self, children): argument
690 name = children[0].symbol
692 body = children[1]
693 discriminant = body.children[0].children[0]
694 cases = body.children[1:-1]
695 default = body.children[-1]
699 def procedure_def(self, children): argument
701 result = children[0]
702 name = children[1].symbol
703 argument = children[2]
704 number = children[3].value
708 def version_def(self, children): argument
710 name = children[0].symbol
711 number = children[-1].value
712 procedures = children[1:-1]
716 def program_def(self, children): argument
718 name = children[0].symbol
719 number = children[-1].value
720 versions = children[1:-1]
724 def pragma_def(self, children): argument
726 directive = children[0].children[0].data
729 big_endian.append(children[1].symbol)
731 excluded_apis.append(children[1].symbol)
734 header_name = children[1].symbol
736 public_apis.append(children[1].symbol)