Exemple #1
0
 void ILSLSyntaxErrorListener.InvalidRotationContent(LSLSourceCodeRange location, LSLRotationComponent component,
                                                     ILSLReadOnlyExprNode invalidExpressionContent)
 {
     _errorActionQueue.Enqueue(location.StartIndex,
                               () => SyntaxErrorListener.InvalidRotationContent(location, component, invalidExpressionContent));
 }
 /// <summary>
 ///     Convert the component into a string that would be valid to use as a component reference in actual LSL code.
 /// </summary>
 /// <param name="component">The component to convert to a string.</param>
 /// <returns>The lowercase name of the component from the enum.</returns>
 public static string ToComponentName(this LSLRotationComponent component)
 {
     return(component.ToString().ToLower());
 }