On the image of Mary's baptism, 7 Feb 1694/5 it has daughter of Samuel & ....... (leaving space to add mother's name). If Samuel and Barbara were married in Oct 1694, Mary would have been conceived before marriage.
As to the illeg birth - odd to call a daughter Samuel Greenway! Could there be more one Samuel Greenway of an age to father children, I seem to have found more SG burials than expected in the early 1700s.
And now the will
dated 30 Jan 1730, but could really be 1731.
Mentions:
Eldest son Keeling Greenway, and grandchildren, Anne, Jane, Alice and Keeling, children of said son Keeling
Son John
Son William
Daughter Martha Neal
Daughter Sarah Green
Daughter Mary Brown
Grandson Samuel Greenway
Grandson William Greenway (he doesn't say who the father(s) of these two are and they may not be brothers, but first cousins)
Grandsons John and Samuel Brooks (These two definitely brothers as he says if either dies before he attains age 16 his share goes to the surviving brother)
Residue goes to Son Robert Greenway who is also executor
ADDED
Just noticed that it says the Brookes brothers are the children of his deceased daughter Elizabeth Brookes.
Samuel's children with Alice seem to be Keeling 1683, Samuel 1684 (possible burial 1710), Robert 1686 and Alice 1688.
Alice might have married John Coton in 1707. and had five children. Pos burial for John in 1721 and for Alice (widdow) on March 10th 1726. But unless the Coton children all also died before the will was written, I'm surprised they're not mentioned like the Brookes boys
ANOTHER AMENDMENT
The daughter I listed as Sarah Green is Sarah Greenway (way is at beginning of next line), so not married in 1730, could be the sarah who married Joseph Capernhurst on 05 Mar 1735.
But who is Mary Brown, the only Mary Greenway marriage in right area at the right sort of time is to Moses Joben in 1716