i3
CommandResultIR Struct Reference

Holds an intermediate representation of the result of a call to any command. More...

#include <commands_parser.h>

Collaboration diagram for CommandResultIR:

Data Fields

yajl_gen json_gen
 
ipc_clientclient
 
int next_state
 
bool needs_tree_render
 

Detailed Description

Holds an intermediate representation of the result of a call to any command.

When calling parse_command("floating enable, border none"), the parser will internally use this struct when calling cmd_floating and cmd_border.

Definition at line 21 of file commands_parser.h.

Field Documentation

◆ client

ipc_client* CommandResultIR::client

Definition at line 27 of file commands_parser.h.

Referenced by next_state(), and parse_command().

◆ json_gen

yajl_gen CommandResultIR::json_gen

Definition at line 23 of file commands_parser.h.

Referenced by next_state(), and parse_command().

◆ needs_tree_render

bool CommandResultIR::needs_tree_render

Definition at line 35 of file commands_parser.h.

Referenced by maybe_back_and_forth(), next_state(), and parse_command().

◆ next_state

int CommandResultIR::next_state

Definition at line 32 of file commands_parser.h.

Referenced by next_state(), and next_state().


The documentation for this struct was generated from the following file: