Source code for aac.plugins.print_defs.print_aac_definitions_impl

"""The AaC Print AaC Definitions plugin implementation module."""
# NOTE: It is safe to edit this file.
# This file is only initially generated by aac gen-plugin, and it won't be overwritten if the file already exists.

from aac.execute.aac_execution_result import (
    ExecutionResult,
    ExecutionStatus,
    ExecutionMessage,
    MessageLevel,
)
from aac.context.language_context import LanguageContext, AAC_LANG_FILE_NAME
from aac.context.definition import Definition
from aac.in_out.parser._parse_source import parse
import yaml
from os.path import join, dirname
from os import linesep
import inspect

plugin_name = "Print AaC Definitions"