public override void ExitEnumDefinition([NotNull] EnumDefinitionContext context) { enumDefs.Add(currEnum.name, currEnum); enumStart = false; currEnum = null; ethGlobal.DebugPrint("->Exit enum value " + context.Start.Text); }
public override object Clone() { SolidityEnum copy = new SolidityEnum(); copy.name = name; foreach (string enames in enumNames) { copy.AddEnum(enames); } return(copy); }
public override void EnterEnumDefinition([NotNull] EnumDefinitionContext context) { //string nm = context.Start.Text; enumStart = true; currEnum = new SolidityEnum(); }