hydra namespace
Subpackages
- hydra.type_script namespace
- Submodules
- hydra.type_script.coder module
analyze_type_script_function()collect_forall_params()collect_imports()collect_inner_type_imports()collect_term_imports()eager_free_variables_in_term()encode_binding_as_statement()encode_lazy_call()encode_literal()encode_literal_type()encode_param()encode_term()encode_term_definition()encode_type()encode_type_definition()encode_type_or_any()filter_non_local_names()flatten_application()force_lazy_refs()function_declaration_from_term()imports_to_text()lazy_flags_for_primitive()let_binding_is_thunk_candidate()mk_doc_comment()module_to_type_script()print_interface_declaration()print_literal()print_module_item()print_property_signature()print_type_alias_declaration()print_type_expression()print_type_parameter()print_type_parameter_list()sanitize_param_name()sort_bindings_topologically()sort_term_defs_topologically()strip_foralls()term_head_variable()thunk_lazy_bindings()thunk_lazy_let()ts_array()ts_arrow()ts_arrow_typed()ts_as_any()ts_call()ts_cond()ts_doc_entity_ref()ts_env_get_graph()ts_env_set_graph()ts_escape_string()ts_expr_ident()ts_expr_str()ts_ident()ts_member()ts_named_type()ts_new()ts_object()ts_param()ts_param_app1()ts_param_app2()ts_paren()ts_prop_sig()ts_prop_sig_with_doc()ts_readonly_map()ts_readonly_set()ts_tuple()ts_typed_ident()ts_undefined()
- hydra.type_script.language module
- hydra.type_script.operators module
add_op()arrow_op()assign_op()bitwise_and_op()bitwise_or_op()bitwise_xor_op()colon_op()comma_op()define_op()divide_op()equal_op()exponentiate_op()greater_than_op()greater_than_or_equal_op()in_op()instance_of_op()left_shift_op()less_than_op()less_than_or_equal_op()logical_and_op()logical_or_op()modulo_op()multiply_op()not_equal_op()nullish_coalescing_op()right_shift_op()strict_equal_op()strict_not_equal_op()subtract_op()ternary_op()unsigned_right_shift_op()
- hydra.type_script.serde module
all_digits()array_element_to_expr()array_expression_to_expr()array_pattern_to_expr()arrow_function_expression_to_expr()assignment_expression_to_expr()assignment_operator_to_string()assignment_pattern_to_expr()binary_expression_to_expr()binary_operator_to_expr()block_statement_to_expr()break_statement_to_expr()call_expression_to_expr()catch_clause_to_expr()class_declaration_to_expr()class_declaration_with_comments_to_expr()conditional_expression_to_expr()continue_statement_to_expr()do_while_statement_to_expr()documentation_comment_to_expr()documentation_tag_to_line()escape_string()export_all_to_expr()export_declaration_to_expr()export_specifier_to_expr()expression_to_expr()for_in_statement_to_expr()for_of_statement_to_expr()for_statement_to_expr()format_import_specifiers()function_declaration_to_expr()function_declaration_with_comments_to_expr()function_expression_to_expr()identifier_to_expr()if_statement_to_expr()import_declaration_to_expr()import_specifier_to_expr()is_kernel_type_var_name()labeled_statement_to_expr()literal_to_expr()member_expression_to_expr()method_definition_to_expr()module_item_to_expr()module_item_with_comments_to_expr()named_export_to_expr()numeric_literal_to_expr()object_expression_to_expr()object_pattern_property_to_expr()object_pattern_to_expr()pattern_to_expr()pattern_to_string()program_to_expr()property_to_expr()return_statement_to_expr()statement_to_expr()string_literal_to_expr()switch_case_to_expr()switch_statement_to_expr()template_literal_to_expr()throw_statement_to_expr()to_line_comment()to_type_script_comments()try_statement_to_expr()ts_type_expression_to_string()type_expression_to_string()typed_pattern_to_expr()unary_expression_to_expr()unary_operator_to_string()variable_declaration_to_expr()variable_declarator_to_expr()variable_kind_to_expr()while_statement_to_expr()
- hydra.type_script.syntax module
ArrayElementArrayElementExpressionArrayElementHoleArrayElementSpreadArrayTypeExpressionArrowFunctionBodyArrowFunctionBodyBlockArrowFunctionBodyExpressionArrowFunctionExpressionAsExpressionAssignmentExpressionAssignmentOperatorAssignmentPatternBinaryExpressionBinaryOperatorCallExpressionCatchClauseClassDeclarationClassDeclarationWithCommentsCommentCommentBlockCommentDocumentationCommentLineConditionalExpressionDoWhileStatementDocumentationCommentDocumentationTagExportAllDeclarationExportDeclarationExportDeclarationAllExportDeclarationDeclarationExportDeclarationDefaultExportDeclarationNamedExportSpecifierExpressionExpressionArrayExpressionArrowExpressionAsExpressionExpressionAssignmentExpressionAwaitExpressionBinaryExpressionCallExpressionConditionalExpressionFunctionExpressionIdentifierExpressionLiteralExpressionMemberExpressionNewExpressionObjectExpressionParenthesizedExpressionSequenceExpressionSpreadExpressionThisExpressionUnaryExpressionYieldForInLeftForInLeftPatternForInLeftVariableForInStatementForInitForInitExpressionForInitVariableForOfStatementForStatementFunctionDeclarationFunctionDeclarationWithCommentsFunctionExpressionFunctionTypeExpressionIdentifierIfStatementImportClauseImportClauseDefaultImportClauseNamedImportClauseNamespaceImportDeclarationImportDefaultSpecifierImportNamespaceSpecifierImportSpecifierInterfaceDeclarationLabeledStatementLiteralLiteralBigIntLiteralBooleanLiteralNullLiteralNumberLiteralStringLiteralTemplateLiteralUndefinedMemberExpressionMethodDefinitionMethodKindModuleItemModuleItemExportModuleItemImportModuleItemInterfaceModuleItemStatementModuleItemTypeAliasModuleItemWithCommentsNamedExportNumericLiteralNumericLiteralFloatNumericLiteralIntegerObjectPatternObjectPatternPropertyObjectPatternPropertyPropertyObjectPatternPropertyRestParameterizedTypeExpressionPatternPatternArrayPatternAssignmentPatternIdentifierPatternObjectPatternRestPatternTypedProgramPropertyPropertyKindPropertySignatureRestElementSourceTypeSpreadElementStatementStatementBlockStatementBreakStatementClassDeclarationStatementContinueStatementDebuggerStatementDoWhileStatementEmptyStatementExpressionStatementForStatementForInStatementForOfStatementFunctionDeclarationStatementIfStatementLabeledStatementReturnStatementSwitchStatementThrowStatementTryStatementVariableDeclarationStatementWhileStatementWithCommentsStringLiteralSwitchCaseSwitchStatementTemplateElementTemplateLiteralThrowStatementTryStatementTypeAliasDeclarationTypeAnnotationTypeExpressionTypeExpressionAnyTypeExpressionArrayTypeExpressionFunctionTypeExpressionIdentifierTypeExpressionIntersectionTypeExpressionLiteralTypeExpressionNeverTypeExpressionObjectTypeExpressionOptionalTypeExpressionParameterizedTypeExpressionReadonlyTypeExpressionTupleTypeExpressionUnionTypeExpressionUnknownTypeExpressionVoidTypeParameterTypedPatternUnaryExpressionUnaryOperatorVariableDeclarationVariableDeclaratorVariableKindWhileStatement
- hydra.type_script.coder module
- Submodules