parse_integer_atom

Function parse_integer_atom 

Source
fn parse_integer_atom<T, U>(
    pair: Pair<'_, Rule>,
    builder: &U,
    ctx: &ByMCParsingContext<'_>,
) -> Result<IntegerExpression<T>, String>
where T: Atomic, U: IsDeclared<T> + IsDeclared<Parameter>,
Expand description

Parse integer atom

Returns an integer expression if the pair is a constant, known identifier, or could be parsed to an expression Returns an error if the identifier was not declared with the identifier name