Parses an expression that represents a single coordinate.
(scope: &Scope<'_>, narg: u8)
| 40 | |
| 41 | /// Parses an expression that represents a single coordinate. |
| 42 | fn parse_coordinate(scope: &Scope<'_>, narg: u8) -> CallResult<i16> { |
| 43 | parse_coordinate_value(scope.get_pos(narg), scope.get_integer(narg)) |
| 44 | } |
| 45 | |
| 46 | /// Parses an integer that represents a single coordinate. |
| 47 | fn parse_coordinate_value(pos: LineCol, i: i32) -> CallResult<i16> { |
no test coverage detected