Exemplo n.º 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;
		}
Exemplo n.º 2
0
 public virtual void Exit(StringConstructor/*!*/ node) { }
Exemplo n.º 3
0
 public virtual bool Enter(StringConstructor/*!*/ node) { return true; }
Exemplo n.º 4
0
 public ConstructedSymbol(StringConstructor value)
 {
     _value = value;
 }
Exemplo n.º 5
0
 public virtual void Exit(StringConstructor /*!*/ node)
 {
 }
Exemplo n.º 6
0
 public virtual bool Enter(StringConstructor /*!*/ node)
 {
     return(true);
 }
 internal override MSA.Expression /*!*/ TransformRead(AstGenerator /*!*/ gen)
 {
     return(StringConstructor.TransformConcatentation(gen, _pattern, this));
 }
Exemplo n.º 8
0
 public ConstructedSymbol(StringConstructor value)
 {
     _value = value;
 }