public override void ExitAttribute_section([NotNull] SBP.Attribute_sectionContext context) { if (m_propertyBlockOperands.Count != 1) { throw new InvalidOperationException("Unexpected stack depth."); } m_lastAttributes.AddRange(m_propertyBlockOperands.Pop()); }
public override void EnterAttribute_section([NotNull] SBP.Attribute_sectionContext context) { m_propertyBlockOperands.Clear(); m_propertyBlockOperands.Push(new List <PropertyBlockEntry>()); }