示例#1
0
        private void CheckParameterName(ref LuaParameterSyntax parameter, ParameterSyntax node)
        {
            string name       = parameter.Identifier.ValueText;
            bool   isReserved = CheckReservedWord(ref name, node);

            if (isReserved)
            {
                parameter = new LuaParameterSyntax(new LuaIdentifierNameSyntax(name));
            }
        }
示例#2
0
 internal void Render(LuaParameterSyntax node)
 {
     node.Identifier.Render(this);
 }