mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 18:27:42 +00:00
Shell: Rename two 'fd' class members to have an 'm_' prefix
This commit is contained in:
parent
51e598cf0b
commit
d64e00a5f6
2 changed files with 6 additions and 6 deletions
|
@ -739,13 +739,13 @@ DynamicEvaluate::~DynamicEvaluate()
|
||||||
void Fd2FdRedirection::dump(int level) const
|
void Fd2FdRedirection::dump(int level) const
|
||||||
{
|
{
|
||||||
Node::dump(level);
|
Node::dump(level);
|
||||||
print_indented(String::format("%d -> %d", source_fd, dest_fd), level);
|
print_indented(String::format("%d -> %d", m_source_fd, m_dest_fd), level);
|
||||||
}
|
}
|
||||||
|
|
||||||
RefPtr<Value> Fd2FdRedirection::run(RefPtr<Shell>)
|
RefPtr<Value> Fd2FdRedirection::run(RefPtr<Shell>)
|
||||||
{
|
{
|
||||||
Command command;
|
Command command;
|
||||||
command.redirections.append(FdRedirection::create(source_fd, dest_fd, Rewiring::Close::None));
|
command.redirections.append(FdRedirection::create(m_source_fd, m_dest_fd, Rewiring::Close::None));
|
||||||
return create<CommandValue>(move(command));
|
return create<CommandValue>(move(command));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -756,8 +756,8 @@ void Fd2FdRedirection::highlight_in_editor(Line::Editor& editor, Shell&, Highlig
|
||||||
|
|
||||||
Fd2FdRedirection::Fd2FdRedirection(Position position, int src, int dst)
|
Fd2FdRedirection::Fd2FdRedirection(Position position, int src, int dst)
|
||||||
: Node(move(position))
|
: Node(move(position))
|
||||||
, source_fd(src)
|
, m_source_fd(src)
|
||||||
, dest_fd(dst)
|
, m_dest_fd(dst)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -633,8 +633,8 @@ private:
|
||||||
virtual String class_name() const override { return "Fd2FdRedirection"; }
|
virtual String class_name() const override { return "Fd2FdRedirection"; }
|
||||||
virtual bool is_command() const override { return true; }
|
virtual bool is_command() const override { return true; }
|
||||||
|
|
||||||
int source_fd { -1 };
|
int m_source_fd { -1 };
|
||||||
int dest_fd { -1 };
|
int m_dest_fd { -1 };
|
||||||
};
|
};
|
||||||
|
|
||||||
class FunctionDeclaration final : public Node {
|
class FunctionDeclaration final : public Node {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue