public void param( iCalObject o ) //throws RecognitionException, TokenStreamException { Parameter p; string n; string v; n=param_name(); p = new Parameter(o, n); match(EQUAL); v=param_value(); p.Values.Add(v); { // ( ... )* for (;;) { if ((LA(1)==COMMA)) { match(COMMA); v=param_value(); p.Values.Add(v); } else { goto _loop54_breakloop; } } _loop54_breakloop: ; } // ( ... )* }
public void xparam( iCalObject o ) //throws RecognitionException, TokenStreamException { IToken n = null; Parameter p; string v; n = LT(1); match(X_NAME); p = new Parameter(o, n.getText()); match(EQUAL); v=param_value(); p.Values.Add(v); { // ( ... )* for (;;) { if ((LA(1)==COMMA)) { match(COMMA); v=param_value(); p.Values.Add(v); } else { goto _loop84_breakloop; } } _loop84_breakloop: ; } // ( ... )* }
/// <summary> /// Adds a parameter to the iCalendar object. /// </summary> virtual public void AddParameter(Parameter p) { Parameters.Add(p); }
/// <summary> /// Adds a parameter to the iCalendar object. /// </summary> virtual public void AddParameter(string name, string value) { Parameter p = new Parameter(name, value); AddParameter(p); }
public void param( iCalObject o ) //throws RecognitionException, TokenStreamException { Parameter p; string n; string v; try { // for error handling n=param_name(); p = new Parameter(o, n); match(EQUAL); v=param_value(); p.Values.Add(v); { // ( ... )* for (;;) { if ((LA(1)==COMMA)) { match(COMMA); v=param_value(); p.Values.Add(v); } else { goto _loop45_breakloop; } } _loop45_breakloop: ; } // ( ... )* } catch (RecognitionException ex) { reportError(ex); recover(ex,tokenSet_6_); } }
public ParameterSerializer(Parameter parameter) { this.m_Parameter = parameter; }
/// <summary> /// Adds a parameter to the iCalendar object. /// </summary> virtual public void AddParameter(Parameter p) { Parameters[p.Name] = p; }