までだ/までのことだ => Only A (will be done) N1
(Not)only , (Not) even
まま => Still, unchange N4
Situations and Experiences
~ます/~ません => Polite, present form N5
Verb suffixes
ままに => Do B as/like A N2
Adjectival, Descriptions
~ました/~ませんでした => Polite, past form of verb N5
Verb suffixes
てしまう => Did something N4
Secondary Verb
うと~まいと,うが~まいが => Whether or not A (is/occurs) N1
Based/focused/depending on
まだしも => A is acceptable, N2
Comparison, Exchange
まだ => Still doing, haven't done yet N5
Miscellaneous
ずじまい => Haven't done A N1
Will, Decision, Doing
あまり~ない => Not very ~ N5
Amount
ずにはすまない/ないではすまない => A must be done N1
Potential, Possibility