GH_ExpressionSyntaxWriter

public sealed class GH_ExpressionSyntaxWriter

Methods

RewriteAll

#
public static string RewriteAll(string Expression)
Apply all syntax rulesets to the expression.
Expression (string)

RewriteForEvaluator

#
public static string RewriteForEvaluator(string Expression)
Rewrite the expression so that all temporary keywords and symbols are replaced by evaluator-specific chars. The expression will become less readable, do not let the user see the result of this function. You need to rewrite the expression with this function if you intend to feed it into the Evaluator.
Expression (string)

RewriteForEvaluator

#
public static void RewriteForEvaluator(GH_CodeString sCode)
Rewrite the expression so that all temporary keywords and symbols are replaced by evaluator-specific chars. The expression will become less readable, do not let the user see the result of this function. You need to rewrite the expression with this function if you intend to feed it into the Evaluator.
sCode (GH_CodeString)

RewriteForGraphicInterface

#
public static string RewriteForGraphicInterface(string expression)
Rewrite the expression so that tags are replaced by the complex characters that make up the esoteric operators, functions and constants. The expression should become more readable
expression (string)

RewriteForGraphicInterface

#
public static void RewriteForGraphicInterface(GH_CodeString code)
Rewrite the expression so that tags are replaced by the complex characters that make up the esoteric operators, functions and constants. The expression should become more readable for humans.
code (GH_CodeString)