> 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.md).

# Value

This class represents different parts of an [instruction](/glider-ide/api/instruction.md).

While an easy way to understand what instruction is is to imagine that it is everything that ends with ";" e.g

```solidity
require(predicate); 
uint a = 0;
foo(bar()-1);
```

These are all examples of instructions.

Value represents the internal parts of instruction, e.g for the instruction:

```solidity
foo(bar()-1);
```

the `bar()` - call, `bar()-1` expression and `foo(bar()-1)` calls will be the values of the instruction.

While the Value is a very important part of the engine, one will most likely never work with the Value class directly, but rather with the derived classes of the Value, which are:

* [Call](/glider-ide/api/value/call.md)
* [Var](broken://pages/rnn4Jn6B6awdIwYN0lHF)
* [ValueExpression](/glider-ide/api/value/valueexpression.md)
* ValueContractType
* [Literal](/glider-ide/api/value/literal.md)
