Exemple #1
0
        public object Visit(CallingParameters obj)
        {
            string codeString = "";

            //<CallingParameters> ::= <Value> <CallingParameter>
            if (obj.Value != null)
            {
                codeString += (string)obj.Value.Accept(this);
            }

            if (obj.CallingParameter != null)
            {
                codeString += (string)obj.CallingParameter.Accept(this);
            }

            return(codeString);
        }
Exemple #2
0
 public object Visit(CallingParameters obj)
 {
     _parameters.Add(new SymbolTable.Variable(null, obj.Value.Accept(this).ToString()));
     obj.CallingParameter?.Accept(this);
     return(null);
 }
Exemple #3
0
 public object Visit(CallingParameters obj)
 {
     throw new NotImplementedException();
 }