Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set different verbose values for PMD.Parser #181

Open
pedroripper opened this issue Sep 18, 2023 · 0 comments
Open

Set different verbose values for PMD.Parser #181

pedroripper opened this issue Sep 18, 2023 · 0 comments

Comments

@pedroripper
Copy link
Member

pedroripper commented Sep 18, 2023

Currently, the verbose option for the PMD.Parser is a Bool. Should we change it for an Int or Enum, so the user can select how much detail they want from the parser´s log?

mutable struct Parser
# io pointer to read from
io::IO
# original pmd path and current line number, used to
# compose better error/warning messages
path::String
lineno::Int
# current parser state
state::Vector{Any}
# items to be merged
merge::Dict{String, Vector{Any}}
# whether to display warnings
verbose::Bool
# Study info
data_struct::DataStruct
relation_mapper::RelationMapper
model_template::ModelTemplate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant