#include <requirement.hpp>
◆ TokenStream
◆ Type
A heuristic of what type the value is. May not always be perfectly accurate.
| Enumerator |
|---|
| String | |
| Integer | |
| Floating | |
| Other | |
◆ is_literal
| bool asmgrader::exprs::ExpressionRepr::Repr::is_literal |
Whether the expression is a literal value, or is composed of solely literal values. Examples: 123 (1 + 2) ^ 5.
◆ kind
| Type asmgrader::exprs::ExpressionRepr::Repr::kind |
◆ raw_str
| std::string_view asmgrader::exprs::ExpressionRepr::Repr::raw_str |
Original string (should be as generated by the # prepocessor operator)
◆ raw_str_tokens
| TokenStream asmgrader::exprs::ExpressionRepr::Repr::raw_str_tokens |
Tokenized raw_str see Tokenizer.
◆ repr
Representation of the expression as by repr
◆ str
Representation of the expression's value as by str
◆ type_index
| boost::typeindex::type_index asmgrader::exprs::ExpressionRepr::Repr::type_index |
This field will probably never be used, but it might be nice later for debug info.
The documentation for this struct was generated from the following file: