Package dap4.core.dmr.parser.bison
Class Bison.Location
- java.lang.Object
-
- dap4.core.dmr.parser.bison.Bison.Location
-
-
Field Summary
Fields Modifier and Type Field Description Bison.PositionbeginThe first, inclusive, position in the range.Bison.PositionendThe first position beyond the range.
-
Constructor Summary
Constructors Constructor Description Location(Bison.Position loc)Create aLocationdenoting an empty range located at a given point.Location(Bison.Position begin, Bison.Position end)Create aLocationfrom the endpoints of the range.
-
-
-
Field Detail
-
begin
public Bison.Position begin
The first, inclusive, position in the range.
-
end
public Bison.Position end
The first position beyond the range.
-
-
Constructor Detail
-
Location
public Location(Bison.Position loc)
Create aLocationdenoting an empty range located at a given point.- Parameters:
loc- The position at which the range is anchored.
-
Location
public Location(Bison.Position begin, Bison.Position end)
Create aLocationfrom the endpoints of the range.- Parameters:
begin- The first position included in the range.end- The first position beyond the range.
-
-