> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/value/valueexpression/valueexpression.get_components.md).

# ValueExpression.get\_components()

`get_components(self) -> APIList[Union[`[`Value`](/glider-ide/api/value/value.md)`,` [`NoneObject`](/glider-ide/api/internal/noneobject.md)`]]`

## Query Example

```python
from glider import *


def query():
    instructions = (
        Instructions()
        .exec(1, 6)
    )
    for instruction in instructions:
        main_value = instruction.get_value()

        if isinstance(main_value, ValueExpression):
          for component in main_value.get_components():
              print(component)
              print(component.expression)
              
    return instructions
```

## Example Output

<figure><img src="/files/amvAUwO5rls0WrfoIYtP" alt=""><figcaption></figcaption></figure>
