コード例 #1
0
        public override void ExitNamespace([NotNull] SBP.NamespaceContext context)
        {
            var nsExpression = this.GetExpressionResultUnresolved();

            m_currentNamespace = (string)nsExpression.Value;
        }
コード例 #2
0
 public override void ExitNamespace([NotNull] SBP.NamespaceContext context)
 {
     this.SetNamespace(context.GetText());
     m_namespaceSet = true;  // Indicate namespace was seen in the file.
 }
コード例 #3
0
 public override void EnterNamespace([NotNull] SBP.NamespaceContext context)
 {
     this.PrepareForExpressionParsing("namespace");
 }