public override void ExitElementPropertyList([NotNull] SBP.ElementPropertyListContext context) { if (m_propertyBlockOperands.Count != 1) { throw new InvalidOperationException("Unexpected stack depth."); } m_lastElementPropertyBlock = new PropertyBlock(context.Start.Line, m_propertyBlockOperands.Pop()); if (m_currentFileElement != null) { m_currentFileElement.SetPropertyBlockData(m_lastElementPropertyBlock); try { m_currentFileElement.ParsePropertyBlock(this); } catch (ParsingErrorException ex) { m_errors.SymanticError(context.Start.Line, -1, false, $"Value '{ex.Name}': {ex.Message}"); } } }
public override void ExitElementPropertyList([NotNull] SBP.ElementPropertyListContext context) { }
public override void EnterElementPropertyList([NotNull] SBP.ElementPropertyListContext context) { this.EnterElementProps(); }