コード例 #1
0
ファイル: FlipTranslator.cs プロジェクト: KateHowland/flip
 /// <summary>
 /// Translates Flip source into the target language and
 /// returns the results as a string.
 /// </summary>
 /// <param name="script">The Flip source to be translated.</param>
 /// <returns>The source code of the target language.</returns>
 public abstract string Translate(FlipScript script);
コード例 #2
0
ファイル: FlipTranslator.cs プロジェクト: KateHowland/flip
 /// <summary>
 /// Translates Flip source into the target language and
 /// generates a file containing the results.
 /// </summary>
 /// <param name="script">The Flip source to be translated.</param>
 /// <param name="path">The path at which to generate the output file.</param>
 public abstract void Translate(FlipScript script, string path);
コード例 #3
0
 /// <summary>
 /// Translates Flip source into the language of the target game, compiles
 /// the generated code if necessary, and attaches the results to a
 /// module or level of that game.
 /// </summary>
 /// <param name="source">The Flip source to be compiled.</param>
 /// <param name="address">An address representing the location
 /// to attach this script to.</param>
 /// <returns>The name the script was saved under.</returns>
 public abstract string Attach(FlipScript source, string address);