Beispiel #1
0
 public override void EnterPropertyblockStatementValueIdentifierOnly([NotNull] SBP.PropertyblockStatementValueIdentifierOnlyContext context)
 {
     if (m_acceptElementPropFlags)
     {
         if (m_elementPropFlags == null)
         {
             m_elementPropFlags = new List <string>();
         }
         m_elementPropFlags.Add(context.GetText());
     }
 }
Beispiel #2
0
        public override void ExitPropertyblockStatementValueIdentifierOnly([NotNull] SBP.PropertyblockStatementValueIdentifierOnlyContext context)
        {
            string name = context.GetText();

            m_propertyBlockOperands.Peek().Add(new PropertyBlockFlag(context.Start.Line, name));
        }