Пример #1
0
		public static object Deserialize(StringConstructor stringConstructor)
		{
			if (stringConstructor.Parts.Count > 0) {
				StringLiteral literal = stringConstructor.Parts[0] as StringLiteral;
				MutableString mutableString = literal.GetMutableString();
				return mutableString.ConvertToString();
			}
			return String.Empty;
		}
Пример #2
0
 public virtual void Exit(StringConstructor/*!*/ node) { }
Пример #3
0
 public virtual bool Enter(StringConstructor/*!*/ node) { return true; }
Пример #4
0
 public ConstructedSymbol(StringConstructor value)
 {
     _value = value;
 }
Пример #5
0
 public virtual void Exit(StringConstructor /*!*/ node)
 {
 }
Пример #6
0
 public virtual bool Enter(StringConstructor /*!*/ node)
 {
     return(true);
 }
 internal override MSA.Expression /*!*/ TransformRead(AstGenerator /*!*/ gen)
 {
     return(StringConstructor.TransformConcatentation(gen, _pattern, this));
 }
Пример #8
0
 public ConstructedSymbol(StringConstructor value)
 {
     _value = value;
 }