lisa/src/main/java/it/unive/lisa/analysis/nonrelational/value/impl/stringgraphdomain/nodes/StringGraphNode.java
public static StringGraphNode<?> create(String value) {
		value = SGNUtils.unquote(value);
		if (value.length() == 0)
			return new ConstStringGraphNode(ConstValues.EMPTY);
		if (value.length() == 1)
			return new SimpleStringGraphNode(value);
		return new ConcatStringGraphNode(value);
	}
/**
	 * Creates a node starting from the string value parameter.
	 * It checks whether the string has only one character, producing a {@link SimpleStringGraphNode}
	 * or if it has multiple characters. If so, this produces a String Graph with a {@link ConcatStringGraphNode} as root
	 * and all characters of the string as {@link SimpleStringGraphNode} nodes
	 *
	 * @param value parameter included in the created {@link StringGraphNode}
	 * @return a {@link SimpleStringGraphNode} or a ConcatNode {@link ConcatStringGraphNode}
	 */
Creates a node starting from the string value parameter.
It checks whether the string has only one character, producing a  SimpleStringGraphNode
or if it has multiple characters. If so, this produces a String Graph with a  ConcatStringGraphNode as root
and all characters of the string as  SimpleStringGraphNode nodes

@param value parameter included in the created  StringGraphNode
@return a  SimpleStringGraphNode or a ConcatNode  ConcatStringGraphNode
Creates a node starting from the string value parameter . It checks whether the string has only one character producing a SimpleStringGraphNode or if it has multiple characters . If so this produces a String Graph with a ConcatStringGraphNode as root and all characters of the string as SimpleStringGraphNode nodes @param value parameter included in the created StringGraphNode @return a SimpleStringGraphNode or a ConcatNode ConcatStringGraphNode
public static StringGraphNode<?> create(String value) {
		value = SGNUtils.unquote(value);
		if (value.length() == 0)
			return new ConstStringGraphNode(ConstValues.EMPTY);
		if (value.length() == 1)
			return new SimpleStringGraphNode(value);
		return new ConcatStringGraphNode(value);
	}
public static StringGraphNode < ? > create ( String value ) { value = SGNUtils . unquote ( value ) ; if ( value . length ( ) == 0 ) return new ConstStringGraphNode ( ConstValues . EMPTY ) ; if ( value . length ( ) == 1 ) return new SimpleStringGraphNode ( value ) ; return new ConcatStringGraphNode ( value ) ; }
Creates a node starting from the string value parameter.
Creates a node starting from the string value parameter .