public override void ExitStateMutability([NotNull] StateMutabilityContext context) { if (context.Start.Text == "constant") { isconst = true; } }
public override void EnterStateMutability([NotNull] StateMutabilityContext context) { string payload = context.Payload.ToString(); if (context.Payload.ToString().Contains(SolidityParser.ConstantKeyword.ToString())) { isconst = true; } }