ArkScript
A small, fast, functional and scripting language for video games
Formatter Member List

This is the complete list of members for Formatter, including all inherited members.

codeModified() constFormatter
format(const Ark::internal::Node &node, std::size_t indent, bool after_newline)Formatterprivate
formatBegin(const Ark::internal::Node &node, std::size_t indent, bool after_newline)Formatterprivate
formatBlock(const Ark::internal::Node &node, std::size_t indent, bool after_newline)Formatterprivate
formatCall(const Ark::internal::Node &node, std::size_t indent)Formatterprivate
formatComment(const std::string &comment, std::size_t indent) constFormatterprivate
formatCondition(const Ark::internal::Node &node, std::size_t indent, bool is_macro=false)Formatterprivate
formatDel(const Ark::internal::Node &node, std::size_t indent)Formatterprivate
formatFunction(const Ark::internal::Node &node, std::size_t indent)Formatterprivate
formatImport(const Ark::internal::Node &node, std::size_t indent)Formatterprivate
formatLoop(const Ark::internal::Node &node, std::size_t indent)Formatterprivate
formatMacro(const Ark::internal::Node &node, std::size_t indent)Formatterprivate
Formatter(bool dry_run)Formatterexplicit
Formatter(std::string filename, bool dry_run)Formatter
formatVariable(const Ark::internal::Node &node, std::size_t indent)Formatterprivate
isBeginBlock(const Ark::internal::Node &node)Formatterprivatestatic
isFuncCall(const Ark::internal::Node &node)Formatterprivatestatic
isFuncDef(const Ark::internal::Node &node)Formatterprivatestatic
isListStartingWithKeyword(const Ark::internal::Node &node, Ark::internal::Keyword keyword)Formatterprivatestatic
lineOfLastNodeIn(const Ark::internal::Node &node)Formatterprivatestatic
m_dry_runFormatterprivate
m_filenameFormatterprivate
m_outputFormatterprivate
m_parserFormatterprivate
m_updatedFormatterprivate
output() constFormatter
prefix(const std::size_t indent)Formatterinlineprivatestatic
processAst(const Ark::internal::Node &ast)Formatterprivate
run()Formatter
runWithString(const std::string &code)Formatter
shouldAddNewLineBetweenNodes(const Ark::internal::Node &node, std::size_t at)Formatterprivate
shouldSplitOnNewline(const Ark::internal::Node &node)Formatterprivate
warnIfCommentsWereRemoved(const std::string &original_code, const std::string &filename)Formatterprivate